src.Structure.AtmosphereCls.AtmosphereCartesian¶
-
class
src.Structure.AtmosphereCls.
AtmosphereCartesian
[source]¶ parent class of Cartesion Atmosphere classes.
Don’t use this class since it is designed as an abstract parent class.
-
dType
¶ declare data type of all physical parameters in atmosphere
Te : temparature, np.double, [\(K\)]
Vt : turbulent velocity, np.double, [\(cm \cdot s^{-1}\)]
Ne : electron density, np.double, [\(cm^{-3}\)]
Pg : gas pressure, np.double, [\(Ba = g \cdot cm^{-1} \cdot s^{-2}\)]
Vd : line of sight Doppler velocity, np.double, [\(cm \cdot s^{-1}\)]
Mesh : geometry mesh ranging from 0 to 1, np.double, [-]
Spatial : geometry mesh of physical scale, np.double, [\(cm\)]
- Type
numpy.dtype
-
abun
¶ abundance of each element relative to hydrogen
- Type
array-like, dtype of np.double
-
BackRad
¶ axis 0 is wavelength in [\(cm\)], and axis 1 is intensity in [\(erg/cm^2/Sr/cm/s\)]
- Type
numpy.2darray, dtype of np.double
Methods
__init__
()decleare attributes dType and abun
readBackgroundIntensity
(path)read background intensity from path to self.BackRad
Attributes
ndim
shape
-