-
Notifications
You must be signed in to change notification settings - Fork 0
/
manual-mask.sh
executable file
·45 lines (24 loc) · 1.51 KB
/
manual-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
39
40
41
42
43
44
45
regfile=$1
##########################################################################################################################
# CREATE MASKS FOR PS REMOVAL:
ds9tocxc outset=manual-cheese-template.fits < $regfile
# # Standard:
# thresh1=0.1
# thresh2=0.5
# # Stuntman:
# # thresh1=1e-6
# # thresh2=10.0
# esas defaults
thresh1=0.05
thresh2=5.0
echo -e '\nCreating masks...'
# emask expimageset=pnS003-exp-im.fits detmaskset=pn-man-mask.fits.cheese threshold1=$thresh1 threshold2=$thresh2 regionset=manual-cheese-template.fits
# emask expimageset=mos1S001-exp-im.fits detmaskset=m1-man-mask.fits.cheese threshold1=$thresh1 threshold2=$thresh2 regionset=manual-cheese-template.fits
# emask expimageset=mos2S002-exp-im.fits detmaskset=m2-man-mask.fits.cheese threshold1=$thresh1 threshold2=$thresh2 regionset=manual-cheese-template.fits
emask expimageset=comb-exp-im-400-1250.fits detmaskset=pn-man-mask.fits.cheese threshold1=$thresh1 threshold2=$thresh2 regionset=manual-cheese-template.fits
emask expimageset=comb-exp-im-400-1250.fits detmaskset=m1-man-mask.fits.cheese threshold1=$thresh1 threshold2=$thresh2 regionset=manual-cheese-template.fits
emask expimageset=comb-exp-im-400-1250.fits detmaskset=m2-man-mask.fits.cheese threshold1=$thresh1 threshold2=$thresh2 regionset=manual-cheese-template.fits
# farith pnS003-im1-400-1250.fits 'pnS003-mask-im-det-400-1250.fits[MASK]' pnS003-im1-400-1250-mask.fits MUL copyprime=yes
# pnS003-exp-im-400-1250.fits
# pnS003-exp-im-2000-7200.fits
# pnS003-exp-im.fits