src.Structure.AtmosphereCls.AtmosphereC1d¶
-
class
src.Structure.AtmosphereCls.
AtmosphereC1d
(thickness, isHalf=False, Mesh=None)[source]¶ one dimensional Cartesian Atmosphere, inheritting parent class AtmosphereCartesian
-
Scale
¶ a tuple of size 1, specifying the grometry scale along line of sight
- Type
tuple of float or int
-
data
¶ a structured array to store physical parameter
- Type
numpy.recarray, dtype of dTpye
-
dType
¶ a data type object decleared in parent class AtmosphereCartesian
- Type
numpy.dtype
-
__init__
(thickness, isHalf=False, Mesh=None)[source]¶ initialization method.
- Parameters
thickness (np.double) – thickness of your model, [\(cm\)]
Mesh (array-like, dtype of np.double, optional) –
default : None
None : construct a 91 points slab Mesh or half slab Mesh automatically
array-like : user-defined mesh grid, with scale from Mesh[0] = 0 to Mesh[1] = 1
isHalf (boolean, optional) –
default : True
False : full slab mesh grid, frequent at lower/upper surface, sparse at the middle, 91 grid points.
True : upper half of the full slab mesh, 46 grid points.
Methods
__init__
(thickness[, isHalf, Mesh])initialization method.
readBackgroundIntensity
(path)read background intensity from path to self.BackRad
setUniform
([Te, Vt, Ne, Pg, Vd])set all parameters uniform across the space
Attributes
ndim
shape
-