src.RadiativeTransfer.Profile.makeLineMesh_Full¶
-
src.RadiativeTransfer.Profile.
makeLineMesh_Full
(nLambda, qcore, qwing)[source]¶ Construct Full line mesh. Calls inner function makeLineMesh_Half to construct half part and then make the use of symmetry.
- Parameters
nLambda (np.uint8 or any other integer type) – Number of points in full line mesh. Must be an odd number.
qcore (np.double) – a parameter to control mesh density. there are always half of all points inside [-qcore,qcore].
qwing (np.double) – a parameter to control how far away your mesh points reach.
- Returns
x – Full line mesh distribution.
- Return type
array-like, dtype of np.double
Notes
with q[0] = 0 and q[-1] = qwing, nLambda//2 points belonging to -qcore< q < +qcore. So,
change qwing, you change how far your Doppler width mesh reach
change qcore, you change how dense in line core.