コード例 #1
0
ファイル: plasmablob.py プロジェクト: andrewtanJS/PlasmaPy
 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
コード例 #2
0
ファイル: test_dimensionless.py プロジェクト: gkbal/PlasmaPy
def test_quantum_theta_dimensionless():
    # Check that quantum theta is dimensionless
    float(quantum_theta(T, n))
コード例 #3
0
 def time_quantum_theta(self):
     quantum_theta(1 * u.eV, 1e20 * u.m**-3)