Fixed typo.

This commit is contained in:
jupfi 2024-03-02 20:58:07 +01:00
parent b734b1bcaa
commit 5c0baa5e6c
2 changed files with 10 additions and 10 deletions

View file

@ -55,8 +55,8 @@ class Simulation:
The diameter of the coil in meters.
number_turns : float
The number of turns of the coil.
q_factor_transmitt : float
The Q-factor of the transmitt path of the probe coil.
q_factor_transmit : float
The Q-factor of the transmit path of the probe coil.
q_factor_receive : float
The Q-factor of the receive path of the probe coil.
power_amplifier_power : float
@ -85,7 +85,7 @@ class Simulation:
self.length_coil = length_coil
self.diameter_coil = diameter_coil
self.number_turns = number_turns
self.q_factor_transmitt = q_factor_transmitt
self.q_factor_transmit = q_factor_transmit
self.q_factor_receive = q_factor_receive
self.power_amplifier_power = power_amplifier_power
self.pulse = pulse
@ -422,13 +422,13 @@ class Simulation:
self._number_turns = number_turns
@property
def q_factor_transmitt(self) -> float:
"""Q-factor of the transmitt path of the probe coil."""
return self._q_factor_transmitt
def q_factor_transmtt(self) -> float:
"""Q-factor of the transmit path of the probe coil."""
return self._q_factor_transmit
@q_factor_transmitt.setter
def q_factor_transmitt(self, q_factor_transmitt):
self._q_factor_transmitt = q_factor_transmitt
@q_factor_transmit.setter
def q_factor_transmit(self, q_factor_transmit):
self._q_factor_transmit = q_factor_transmit
@property
def q_factor_receive(self) -> float:

View file

@ -48,7 +48,7 @@ class TestSimulation(unittest.TestCase):
length_coil=6e-3,
diameter_coil=3e-3,
number_turns=9,
q_factor_transmitt=100,
q_factor_transmit=100,
q_factor_receive=100,
power_amplifier_power=110,
pulse=self.pulse,