mirror of
https://github.com/nqrduck/nqr-blochsimulator.git
synced 2024-06-27 07:49:07 +00:00
Removed 2 pi factor since we are calculating in Hz.
This commit is contained in:
parent
b99ab1c110
commit
304b8a4be2
|
@ -305,7 +305,7 @@ class Simulation:
|
||||||
* self.sample.atoms)
|
* self.sample.atoms)
|
||||||
/ (2 * self.sample.nuclear_spin + 1))
|
/ (2 * self.sample.nuclear_spin + 1))
|
||||||
* (h**2
|
* (h**2
|
||||||
* self.sample.resonant_frequency * 2 * np.pi)
|
* self.sample.resonant_frequency)
|
||||||
/ (Boltzmann
|
/ (Boltzmann
|
||||||
* self.temperature)
|
* self.temperature)
|
||||||
* self.sample.spin_factor
|
* self.sample.spin_factor
|
||||||
|
@ -317,14 +317,14 @@ class Simulation:
|
||||||
self.number_turns
|
self.number_turns
|
||||||
* coil_crossection
|
* coil_crossection
|
||||||
* u
|
* u
|
||||||
* (self.sample.resonant_frequency * 2 * np.pi)
|
* (self.sample.resonant_frequency)
|
||||||
* magnetization
|
* magnetization
|
||||||
)
|
)
|
||||||
reference_voltage = (
|
reference_voltage = (
|
||||||
reference_voltage * self.sample.powder_factor * self.sample.filling_factor
|
reference_voltage * self.sample.powder_factor * self.sample.filling_factor
|
||||||
)
|
)
|
||||||
|
|
||||||
# This is assumes thatour noise is dominated by everything after the resonator - this is not true for low Q probe coils
|
# This is assumes that our noise is dominated by everything after the resonator - this is not true for low Q probe coils
|
||||||
reference_voltage = reference_voltage * np.sqrt(self.q_factor_receive)
|
reference_voltage = reference_voltage * np.sqrt(self.q_factor_receive)
|
||||||
|
|
||||||
return reference_voltage
|
return reference_voltage
|
||||||
|
|
Loading…
Reference in a new issue