Skip to content

Commit e0a22f6

Browse files
added cfg to only run psfex validation
1 parent 43d3730 commit e0a22f6

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# ShapePipe configuration file for single-exposures. PSFex PSF model
2+
# validation.
3+
4+
5+
## Default ShapePipe options
6+
[DEFAULT]
7+
8+
# verbose mode (optional), default: True, print messages on terminal
9+
VERBOSE = True
10+
11+
# Name of run (optional) default: shapepipe_run
12+
RUN_NAME = run_sp_exp_Pv
13+
14+
# Add date and time to RUN_NAME, optional, default: True
15+
; RUN_DATETIME = False
16+
17+
18+
## ShapePipe execution options
19+
[EXECUTION]
20+
21+
# Module name, single string or comma-separated list of valid module runner names
22+
MODULE = psfex_interp_runner
23+
24+
25+
# Run mode, SMP or MPI
26+
MODE = SMP
27+
28+
29+
## ShapePipe file handling options
30+
[FILE]
31+
32+
# Log file master name, optional, default: shapepipe
33+
LOG_NAME = log_sp
34+
35+
# Runner log file name, optional, default: shapepipe_runs
36+
RUN_LOG_NAME = log_run_sp
37+
38+
# Input directory, containing input files, single string or list of names with length matching FILE_PATTERN
39+
INPUT_DIR = $SP_RUN/output
40+
41+
# Output directory
42+
OUTPUT_DIR = $SP_RUN/output
43+
44+
45+
## ShapePipe job handling options
46+
[JOB]
47+
48+
# Batch size of parallel processing (optional), default is 1, i.e. run all jobs in serial
49+
SMP_BATCH_SIZE = 16
50+
51+
# Timeout value (optional), default is None, i.e. no timeout limit applied
52+
TIMEOUT = 96:00:00
53+
54+
55+
## Module options
56+
57+
[PSFEX_INTERP_RUNNER]
58+
59+
# Use 20% sample for PSF validation
60+
FILE_PATTERN = star_split_ratio_80, star_split_ratio_20, psfex_cat
61+
62+
FILE_EXT = .psf, .fits, .cat
63+
64+
NUMBERING_SCHEME = -0000000-0
65+
66+
# Run mode for psfex interpolation:
67+
# CLASSIC: 'classical' run, interpolate to object positions
68+
# MULTI-EPOCH: interpolate for multi-epoch images
69+
# VALIDATION: validation for single-epoch images
70+
MODE = VALIDATION
71+
72+
# Column names of position parameters
73+
POSITION_PARAMS = XWIN_IMAGE,YWIN_IMAGE
74+
75+
# If True, measure and store ellipticity of the PSF (using moments)
76+
GET_SHAPES = True
77+
78+
# Minimum number of stars per CCD for PSF model to be computed
79+
STAR_THRESH = 22
80+
81+
# Maximum chi^2 for PSF model to be computed on CCD
82+
CHI2_THRESH = 2

0 commit comments

Comments
 (0)