-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake_mask.sh
38 lines (31 loc) · 1.2 KB
/
make_mask.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
#!/bin/bash
#SBATCH --job-name Make_mask
#SBATCH --partition=kicp
#SBATCH --account=kicp
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=48
#SBATCH --time=1:00:00
#SBATCH --output=/home/dhayaa/DECADE/foreground_mask/make_mask.log
#SBATCH [email protected]
#SBATCH --mail-type=BEGIN,END
cd /home/dhayaa/DECADE/foreground_mask
LMC=5.3667
SMC=2.667
for fac in 0.5 1 1.5 2 2.5 3
do
out=/project/chihway/dhayaa/DECADE/Foreground_Masks/GOLD_Ext0.2_Star5_MCs${fac}.fits
python -u Runner/AllSkyRunner.py --max_extinction 0.2 --max_stardensity 5 --output_file_path ${out} \
--rad_LMC $(echo "$LMC * $fac" | bc) --rad_SMC $(echo "$SMC * $fac" | bc)
done
#0.09655683845281593
# for ext in 0.4 0.3 0.2 0.1 0.05
# do
# out=/project/chihway/dhayaa/DECADE/Foreground_Masks/GOLD_Ext${ext}_Star5.fits
# python -u Runner/AllSkyRunner.py --max_extinction ${ext} --max_stardensity 5 --output_file_path ${out}
# done
#3.044570751190183
# for star in 3 4 5 10 20
# do
# out=/project/chihway/dhayaa/DECADE/Foreground_Masks/GOLD_Ext0.2_Star${star}.fits
# python -u Runner/AllSkyRunner.py --max_extinction 0.2 --max_stardensity ${star} --output_file_path ${out}
# done