mirror of
https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
synced 2025-06-18 05:06:41 +02:00
ZH: denote Xref in figure names
This commit is contained in:
parent
14ab836a6d
commit
f50b5cb308
2 changed files with 15 additions and 14 deletions
|
@ -103,6 +103,7 @@ if __name__ == "__main__":
|
|||
from scriptlib import MyArgumentParser
|
||||
parser = MyArgumentParser()
|
||||
parser.add_argument('--input-fname', type=str, default=None, help='Path to mysim.sry, either directory or path. If empty it takes DATA_DIR and appends mysim.sry. (Default: %(default)s)')
|
||||
parser.add_argument('-X', type=int, default=400, help='Atmospheric depth to start the initial grid.')
|
||||
|
||||
group = parser.add_argument_group('figures')
|
||||
for case in valid_cases:
|
||||
|
@ -154,9 +155,9 @@ if __name__ == "__main__":
|
|||
##
|
||||
## Setup grid
|
||||
##
|
||||
X = 400
|
||||
X = args.X
|
||||
zgr = 0 #not exact
|
||||
dXref = atm.distance_to_slant_depth(np.deg2rad(ev.zenith),750,zgr+ev.core[2])
|
||||
dXref = atm.distance_to_slant_depth(np.deg2rad(ev.zenith),X,zgr+ev.core[2])
|
||||
scale2d = dXref*np.tan(np.deg2rad(2.))
|
||||
scale4d = dXref*np.tan(np.deg2rad(4.))
|
||||
scale02d = dXref*np.tan(np.deg2rad(0.2))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue