-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_astero.sh
executable file
·64 lines (55 loc) · 1.88 KB
/
bash_astero.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/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 'astero' 10000 'None' 'K' 0.0 --update
# #Tempdiff in K, no correction
# for i in {-50..50..10}; do
# python bash_stan.py 'astero' 5000 'None' 'K' $i
# done
#
# #Temp diff in K, with correction
# for i in {-50..50..10}; do
# python bash_stan.py 'astero' 5000 'RC' 'K' $i
# done
#
# #Tempdiff in GAIA, no correction
# for i in {-50..50..10}; do
# python bash_stan.py 'astero' 5000 'None' 'GAIA' $i
# done
#
# # #Temp diff in GAIA, with correction
# for i in {-50..50..10}; do
# python bash_stan.py 'astero' 5000 'RC' 'GAIA' $i
# done
###################################APOKASC TEFF ONLY
#Tempdiff in K, no correction
for i in {-50..50..10}; do
python bash_stan.py 'astero' 5000 'None' 'K' $i -a
done
#
# #Temp diff in K, with correction
for i in {-50..50..10}; do
python bash_stan.py 'astero' 5000 'RC' 'K' $i -a
done
#Tempdiff in GAIA, no correction
for i in {-50..50..10}; do
python bash_stan.py 'astero' 5000 'None' 'GAIA' $i -a
done
#Temp diff in GAIA, with correction
for i in {-50..50..10}; do
python bash_stan.py 'astero' 5000 'RC' 'GAIA' $i -a
done
echo 'Complete!'