def scaleField(self, scalingFactor):
        """
        Adjust the field of the magnet by the value of ``scalingFactor``.  The adjustment
        is multiplicative, so a value of ``scalingFactor = 1.0`` will result in no change
        of the field.
        """
        self.field_strength = self.field_strength._replace(
            val=self.field_strength.val * scalingFactor
        )