Example #1
0
 def quantum_theta(self):
     """
     Quantum theta parameter, which compares Fermi kinetic energy to
     thermal kinetic energy to check if quantum effects are important.
     """
     theta = quantum_theta(self.T_e, self.n_e)
     return theta
Example #2
0
def test_quantum_theta_dimensionless():
    # Check that quantum theta is dimensionless
    float(quantum_theta(T, n))
Example #3
0
 def time_quantum_theta(self):
     quantum_theta(1 * u.eV, 1e20 * u.m**-3)