src.RadiativeTransfer.Profile.makeLineMesh_Half¶
-
src.RadiativeTransfer.Profile.
makeLineMesh_Half
(nLambda, qcore, qwing, q)[source]¶ Construct half line mesh. Following RH’s getlambda.c. called by it’s wrapper function makeLineMesh_Full
- 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.
q (array-like, dtype of np.double) – a array to store output half line mesh distribution.
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.