-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_gaiakasc.sh
executable file
·46 lines (40 loc) · 1.5 KB
/
bash_gaiakasc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
# Run our PyStan model on some data
# positional arguments:
# {astero,gaia} Choice of PyStan model.
# iters Number of MCMC iterations in PyStan.
# {None,RC} Choice of corrections to the seismic scaling relations.
# {K,J,H,GAIA} Choice of photometric passband.
# tempdiff Perturbation to the temperature values in K
#
# optional arguments:
# -h, --help show this help message and exit
# -t, --testing Turn on to output results to a test_build folder
# -u, --update Turn on to update the PyStan model you choose to run
# -a, --apokasc Turn on to run on the APOKASC subsample
# -af, --apofull Turn on to propagate full APOKASC data
#########################################YU ET AL FULL SAMPLE PROP LOG AND TEFF
# python bash_stan.py 'gaia' 10000 'None' 'K' 0.0 --update
#Tempdiff in K [Always RC corrected]
for i in {-50..50..50}; do
python bash_stan.py 'gaia' 10 'RC' 'K' $i
done
cp astrostan.pkl ../Output
#Temp diff in GAIA [Always RC corrected]
# for i in {-50..50..50}; do
# python bash_stan.py 'gaia' 5000 'RC' 'GAIA' $i
# done
# cp astrostan.pkl ../Output
#
# ########################################APOKASC TEFF ONLY
#Tempdiff in K [Always RC corrected]
# for i in {-50..50..50}; do
# python bash_stan.py 'gaia' 5000 'RC' 'K' $i -a
# done
# cp astrostan.pkl ../Output
# #
#Temp diff in GAIA [Always RC corrected]
# for i in {-50..50..50}; do
# python bash_stan.py 'gaia' 5000 'RC' 'GAIA' $i -a
# done
# cp astrostan.pkl ../Output