<|file_name|>constants.py<|end_file_name|><｜fim▁begin｜>import math as mth
import numpy as np

#----------------------
# J Matthews, 21/02
# This is a file containing useful constants for python coding
#
# Units in CGS unless stated
#
#----------------------


#H=6.62606957E-27
HEV=4.13620e-15
#C=29979245800.0
#BOLTZMANN=1.3806488E-16
VERY_BIG=1e50
H=6.6262e-27
HC=1.98587e-16
HEV=4.13620e-15	# Planck's constant in eV 
HRYD=3.04005e-16     # NSH 1204 Planck's constant in Rydberg 
C  =2.997925e10
G=6.670e-8
BOLTZMANN =1.38062e-16
WIEN=	5.879e10       # NSH 1208 Wien Disp Const in frequency units 
H_OVER_K=4.799437e-11
STEFAN_BOLTZMANN =5.6696e-5
THOMPSON=0.66524e-24
PI  =	3.1415927
MELEC =	9.10956e-28
E=	4.8035e-10	# Electric charge in esu 
MPROT =	1.672661e-24
MSOL =	1.989e33
PC=	3.08e18
YR   =	3.1556925e7
PI_E2_OVER_MC=0.02655103	# Classical cross-section 
PI_E2_OVER_M  =7.96e8
ALPHA=	7.297351e-3	# Fine structure constant 
BOHR=	0.529175e-8	# Bohr radius 
CR=	3.288051e15	#Rydberg frequency for H != Ryd freq for infinite mass 
ANGSTROM  = 1.e-8           #Definition of an Angstrom in units of this code, e.g. cm 
EV2ERGS   =1.602192e-12<｜fim▁hole｜>RADIAN=	57.29578
RYD2ERGS =2.1798741e-11



PARSEC=3.086E18<｜fim▁end｜>