diff --git a/src/nqr_blochsimulator/classes/sample.py b/src/nqr_blochsimulator/classes/sample.py index 91041ab..df47f57 100644 --- a/src/nqr_blochsimulator/classes/sample.py +++ b/src/nqr_blochsimulator/classes/sample.py @@ -39,9 +39,9 @@ class Sample: molar_mass : float The molar mass of the sample (g/mol or kg/mol). resonant_frequency : float - The resonant frequency of the sample. + The resonant frequency of the sample in Hz. gamma : float - The gamma value of the sample. + The gamma value of the sample in Hz/T. nuclear_spin : float The nuclear spin quantum number of the sample. spin_factor : float @@ -51,11 +51,11 @@ class Sample: filling_factor : float The filling factor of the sample. T1 : float - The spin-lattice relaxation time of the sample. + The spin-lattice relaxation time of the sample in seconds. T2 : float - The spin-spin relaxation time of the sample. + The spin-spin relaxation time of the sample in seconds. T2_star : float - The effective spin-spin relaxation time of the sample. + The effective spin-spin relaxation time of the sample in seconds. atom_density : float, optional The atom density of the sample (atoms per cm^3). By default None. sample_volume : float, optional diff --git a/src/nqr_blochsimulator/classes/simulation.py b/src/nqr_blochsimulator/classes/simulation.py index 770cdec..af5bcca 100644 --- a/src/nqr_blochsimulator/classes/simulation.py +++ b/src/nqr_blochsimulator/classes/simulation.py @@ -90,7 +90,7 @@ class Simulation: B1 = ( self.calc_B1() * 1e3 ) # I think this is multiplied by 1e3 because everything is in mT - B1 = 17.3 # Something might be wrong with the calculation of the B1 field. This has to be checked. + # B1 = 17.3 # Something might be wrong with the calculation of the B1 field. This has to be checked. self.sample.gamma = self.sample.gamma * 1e-6 # We need our gamma in MHz / T self.sample.T1 = self.sample.T1 * 1e3 # We need our T1 in ms self.sample.T2 = self.sample.T2 * 1e3 # We need our T2 in ms