-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathconfig_tile_Ng_template.ini
More file actions
121 lines (86 loc) · 4.49 KB
/
Copy pathconfig_tile_Ng_template.ini
File metadata and controls
121 lines (86 loc) · 4.49 KB
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
118
119
120
121
# ShapePipe configuration file for tiles: ngmix + KSB
## Default ShapePipe options
[DEFAULT]
# verbose mode (optional), default: True, print messages on terminal
VERBOSE = True
# Name of run (optional) default: shapepipe_run
RUN_NAME = run_sp_tile_ngmix_NgXu
# Add date and time to RUN_NAME, optional, default: False
RUN_DATETIME = False
## ShapePipe execution options
[EXECUTION]
# Module name, single string or comma-separated list of valid module runner names
MODULE = ngmix_runner
# Parallel processing mode, SMP or MPI
MODE = SMP
## ShapePipe file handling options
[FILE]
# Log file master name, optional, default: shapepipe
LOG_NAME = log_sp
# Runner log file name, optional, default: shapepipe_runs
RUN_LOG_NAME = log_run_sp
# Input directory, containing input files, single string or list of names
INPUT_DIR = .
# Output directory
OUTPUT_DIR = $SP_RUN/output
## ShapePipe job handling options
[JOB]
# Batch size of parallel processing (optional), default is 1, i.e. run all jobs in serial
SMP_BATCH_SIZE = 1
# Timeout value (optional), default is None, i.e. no timeout limit applied
TIMEOUT = 96:00:00
## Module options
# Model-fitting shapes with ngmix
[NGMIX_RUNNER]
INPUT_DIR = run_sp_tile_Sx:sextractor_runner,last:X_interp_runner,last:vignetmaker_runner_run_2,run_sp_tile_Mh_exp:merge_headers_runner
FILE_PATTERN = sexcat, image_vignet, background_vignet, galaxy_psf, weight_vignet, flag_vignet, log_exp_headers
FILE_EXT = .fits, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite, .sqlite
# NUMBERING_SCHEME (optional) string with numbering pattern for input files
NUMBERING_SCHEME = -000-000
# BKG_RMS_VIGNET_PATH (optional): per-pixel BACKGROUND_RMS vignets, used as
# 1/RMS^2 inverse-variance ngmix weights. When set, the file must exist for
# every tile (missing file -> error, no per-tile fallback); omit the option
# entirely to fall back to the scalar sigma_mad noise estimate.
BKG_RMS_VIGNET_PATH = $SP_RUN/output/run_sp_tile_PiViVi/vignetmaker_runner_run_2/output/background_rms_vignet{file_number_string}.sqlite
# Magnitude zero-point
MAG_ZP = 30.0
# CENTROID_SOURCE (optional): how to place the galaxy Jacobian origin for the
# centroid prior. "wcs" (default) uses the catalog sky position projected
# through the WCS, trusting the astrometry — the recommended choice. "hsm"
# re-centers on the HSM adaptive-moment centroid (legacy, being phased out;
# noisy for stars and flagged as incorrect — see #767).
CENTROID_SOURCE = wcs
# BLEND_HANDLING (optional): neighbour treatment. "noisefill" (default,
# historical) replaces a neighbour's pixels with a noise realisation;
# "uberseg" hard-masks (weight -> 0) every pixel closer to a neighbour's
# segmentation footprint than to the central object. "uberseg" REQUIRES
# SEG_VIGNET_PATH below.
# BLEND_HANDLING = uberseg
# SEG_VIGNET_PATH (optional): coadd-frame SExtractor segmentation vignets
# (the CLASSIC-mode VIGNETMAKER_RUNNER_RUN_3 seg output), row-aligned to the
# tile catalogue and on the same 51x51 grid as the coadd VIGNET. Required for
# BLEND_HANDLING = uberseg; when set, the file must exist for every tile
# (missing file -> error). Omit for the noise-fill path.
# SEG_VIGNET_PATH = $SP_RUN/output/run_sp_tile_PiViVi/vignetmaker_runner_run_3/output/seg_vignet{file_number_string}.fits
# DILATE_NEIGHBOUR (optional): binary-dilation iterations enlarging the uberseg
# neighbour mask, to absorb the few-pixel coadd-vs-epoch seg-overlay offset.
# Ignored unless BLEND_HANDLING = uberseg. Default 1 (~one pixel); 0 recovers
# the pure Sheldon UberSeg mask.
# DILATE_NEIGHBOUR = 1
# SEED_FROM_POSITION (optional): FALSE (default) seeds one RNG per tile.
# TRUE seeds a per-object RNG from the object's sky position instead, so that
# metacal's fixnoise counter-noise and the fit guesses are identical for the
# same object across Pujol image-simulation shear branches and cancel in the
# branch difference — shrinking the m-bias error. This is FOR IMAGE
# SIMULATIONS ONLY (Pujol noise cancellation, ngmix#796); leave it off (or
# omit) for real data, where it has no benefit.
# SEED_FROM_POSITION = FALSE
# METACAL_PSF (optional): the metacal reconvolution-kernel scheme
# (metacal_pars['psf']). "fitgauss" (default) fits a Gaussian to the PSF and
# rounds it; "gauss" reconvolves with a fixed round Gaussian sized from the
# PSF; "dilate" dilates the original PSF; "azgauss" (ngmix >= 2.4.1) is a
# noise-robust variant of "gauss". Sets the round PSF metacal reconvolves
# with after shearing, so it moves the metacal response.
METACAL_PSF = fitgauss
ID_OBJ_MIN = X
ID_OBJ_MAX = X