forked from talister/photometrypipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschmidt.swarp
117 lines (97 loc) · 6.71 KB
/
schmidt.swarp
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Default configuration file for SWarp 2.38.0
# EB 2015-04-02
#
#----------------------------------- Output -----------------------------------
IMAGEOUT_NAME coadd.fits # Output filename
WEIGHTOUT_NAME coadd.weight.fits # Output weight-map filename
HEADER_ONLY N # Only a header as an output file (Y/N)?
HEADER_SUFFIX .head # Filename extension for additional headers
#------------------------------- Input Weights --------------------------------
WEIGHT_TYPE BACKGROUND # BACKGROUND,MAP_RMS,MAP_VARIANCE
# or MAP_WEIGHT
RESCALE_WEIGHTS Y # Rescale input weights/variances (Y/N)?
WEIGHT_SUFFIX _mask.fits # Suffix to use for weight-maps
WEIGHT_IMAGE # Weightmap filename if suffix not used
# (all or for each weight-map)
WEIGHT_THRESH # Bad pixel weight-threshold
#------------------------------- Co-addition ----------------------------------
COMBINE Y # Combine resampled images (Y/N)?
COMBINE_TYPE CLIPPED # MEDIAN,AVERAGE,MIN,MAX,WEIGHTED,CLIPPED
# CHI-OLD,CHI-MODE,CHI-MEAN,SUM,
# WEIGHTED_WEIGHT,MEDIAN_WEIGHT,
# AND,NAND,OR or NOR
CLIP_AMPFRAC 0.3 # Fraction of flux variation allowed
# with clipping
CLIP_SIGMA 4.0 # RMS error multiple variation allowed
# with clipping
CLIP_WRITELOG N # Write output file with coordinates of
# clipped pixels (Y/N)
CLIP_LOGNAME clipped.log # Name of output file with coordinates
# of clipped pixels
BLANK_BADPIXELS N # Set to 0 pixels having a weight of 0
#-------------------------------- Astrometry ----------------------------------
CELESTIAL_TYPE NATIVE # NATIVE, PIXEL, EQUATORIAL,
# GALACTIC,ECLIPTIC, or SUPERGALACTIC
PROJECTION_TYPE TAN # Any WCS projection code or NONE
PROJECTION_ERR 0.001 # Maximum projection error (in output
# pixels), or 0 for no approximation
CENTER_TYPE MOST # MANUAL, ALL or MOST
CENTER 00:00:00.0, +00:00:00.0 # Coordinates of the image center
PIXELSCALE_TYPE MEDIAN # MANUAL,FIT,MIN,MAX or MEDIAN
PIXEL_SCALE 0.0 # Pixel scale
IMAGE_SIZE 0 # Image size (0 = AUTOMATIC)
#-------------------------------- Resampling ----------------------------------
RESAMPLE Y # Resample input images (Y/N)?
RESAMPLE_DIR . # Directory path for resampled images
RESAMPLE_SUFFIX .resamp.fits # filename extension for resampled images
RESAMPLING_TYPE LANCZOS3 # NEAREST,BILINEAR,LANCZOS2,LANCZOS3
# LANCZOS4 (1 per axis) or FLAGS
OVERSAMPLING 0 # Oversampling in each dimension
# (0 = automatic)
INTERPOLATE Y # Interpolate bad input pixels (Y/N)?
# (all or for each image)
FSCALASTRO_TYPE FIXED # NONE,FIXED, or VARIABLE
FSCALE_KEYWORD FLXSCALE # FITS keyword for the multiplicative
# factor applied to each input image
FSCALE_DEFAULT 1.0 # Default FSCALE value if not in header
GAIN_KEYWORD GAIN # FITS keyword for effect. gain (e-/ADU)
GAIN_DEFAULT 0.0 # Default gain if no FITS keyword found
# 0 = infinity (all or for each image)
SATLEV_KEYWORD SATURATE # FITS keyword for saturation level (ADU)
SATLEV_DEFAULT 50000.0 # Default saturation if no FITS keyword
#--------------------------- Background subtraction ---------------------------
SUBTRACT_BACK N # Subtraction sky background (Y/N)?
# (all or for each image)
BACK_TYPE AUTO # AUTO or MANUAL
# (all or for each image)
BACK_DEFAULT 0.0 # Default background value in MANUAL
# (all or for each image)
BACK_SIZE 128 # Background mesh size (pixels)
# (all or for each image)
BACK_FILTERSIZE 3 # Background map filter range (meshes)
# (all or for each image)
BACK_FILTTHRESH 0.0 # Threshold above which the background-
# map filter operates
#------------------------------ Memory management -----------------------------
VMEM_DIR . # Directory path for swap files
VMEM_MAX 2047 # Maximum amount of virtual memory (MB)
MEM_MAX 256 # Maximum amount of usable RAM (MB)
COMBINE_BUFSIZE 256 # RAM dedicated to co-addition(MB)
#------------------------------ Miscellaneous ---------------------------------
DELETE_TMPFILES Y # Delete temporary resampled FITS files
# (Y/N)?
COPY_KEYWORDS OBJECT,RDNOISE,FILTER1,DATE-OBS # List of FITS keywords to propagate
# from the input to the output headers
WRITE_FILEINFO Y # Write information about each input
# file in the output image header?
WRITE_XML Y # Write XML file (Y/N)?
XML_NAME swarp.xml # Filename for XML output
XSL_URL file:///usr/local/share/swarp/swarp.xsl
# Filename for XSL style-sheet
VERBOSE_TYPE NORMAL # QUIET,LOG,NORMAL, or FULL
NNODES 1 # Number of nodes (for clusters)
NODE_INDEX 0 # Node index (for clusters)
NTHREADS 0 # Number of simultaneous threads for
# the SMP version of SWarp
# 0 = automatic
NOPENFILES_MAX 512 # Maximum number of files opened by SWarp