Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions aux/CFIS/tiles_202007/tiles_W3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,5 @@
251.286
245.288
237.292
253.286
277.282
212 changes: 212 additions & 0 deletions aux/CFIS/tiles_202007/tiles_W3_m2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
245.292
230.293
240.292
247.291
257.286
245.290
270.282
271.283
261.283
264.286
243.291
249.289
260.285
253.289
267.282
251.289
235.293
268.284
238.292
256.288
232.293
253.287
265.285
262.283
251.288
242.293
265.286
266.283
260.286
258.287
250.290
228.294
248.289
266.286
262.285
246.288
247.288
239.294
239.292
275.282
234.292
266.282
239.291
261.284
248.288
267.285
242.291
241.290
255.289
267.284
257.287
255.286
235.292
272.284
248.291
256.287
252.287
267.283
234.294
252.286
254.285
244.289
259.286
242.289
244.291
242.292
236.292
262.286
240.293
251.287
246.291
241.293
238.293
247.290
245.291
247.289
278.282
236.294
264.284
237.294
254.287
231.293
257.285
249.291
235.295
271.284
233.293
256.285
269.282
234.295
235.294
246.292
228.295
258.285
260.284
262.282
230.295
240.294
256.289
264.283
255.285
261.287
252.288
268.283
259.283
258.288
268.282
234.293
272.283
237.291
260.287
224.295
248.287
231.295
270.283
259.285
259.288
236.295
226.295
245.289
237.295
243.289
230.294
261.286
269.285
236.291
238.294
258.284
227.295
263.282
265.282
240.291
271.282
241.292
273.283
232.294
263.285
259.284
254.288
260.283
233.294
251.290
249.290
243.293
263.284
231.294
250.288
240.290
239.290
274.282
238.291
247.292
243.290
254.289
262.284
244.292
248.290
252.290
263.286
232.295
225.295
243.292
259.287
261.285
257.288
237.293
276.282
264.282
255.287
265.284
263.283
244.290
255.288
246.290
272.282
229.294
275.283
266.284
266.285
250.287
264.285
258.286
265.283
227.294
233.295
269.284
274.283
233.292
242.290
268.285
254.286
252.289
250.289
273.282
250.291
249.287
229.295
262.287
256.286
270.284
269.283
257.284
236.293
253.288
239.293
241.291
246.289
249.288
253.290
251.286
245.288
237.292
116 changes: 116 additions & 0 deletions example/cfis/config_MCCD_inv_opt.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Configuration file for the MCCD method

[INPUTS]
INPUT_DIR = .
PREPROCESSED_OUTPUT_DIR = ./output
OUTPUT_DIR = ./output
INPUT_REGEX_FILE_PATTERN = star_split_ratio_80-*-*.fits
INPUT_SEPARATOR = -
MIN_N_STARS = 20
OUTLIER_STD_MAX = 100.
USE_SNR_WEIGHTS = False

[INSTANCE]
N_COMP_LOC = 2
D_COMP_GLOB = 6
KSIG_LOC = 0.0000
KSIG_GLOB = 0.000
FILTER_PATH = None

[FIT]
LOC_MODEL = poly
PSF_SIZE = 6.2
PSF_SIZE_TYPE = R2
N_EIGENVECTS = 5
N_ITER_RCA = 1
N_ITER_GLOB = 1
N_ITER_LOC = 1
NB_SUBITER_S_LOC = 300
NB_SUBITER_A_LOC = 400
NB_SUBITER_S_GLOB = 100
NB_SUBITER_A_GLOB = 200

[VALIDATION]
VAL_DATA_INPUT_DIR = .
VAL_PREPROCESSED_OUTPUT_DIR = ./output
VAL_MODEL_INPUT_DIR = ./output
VAL_OUTPUT_DIR = ./output
VAL_REGEX_FILE_PATTERN = star_split_ratio_20-*-*.fits
VAL_SEPARATOR = -
APPLY_DEGRADATION = True
MCCD_DEBUG = False
GLOBAL_POL_INTERP = False

# Parameter description:
#
#
# [INPUTS]
# INPUT_DIR : (Required) Must be a valid directory containing the input
# MCCD files.
# PREPROCESSED_OUTPUT_DIR : (Required) Must be a valid directory to write the
# preprocessed input files.
# OUTPUT_DIR : (Required) Must be a valid directory to write the output files.
# The constructed models will be saved.
# INPUT_REGEX_FILE_PATTERN : File pattern of the input files to use. It should
# follow regex (regular expression) standards.
# INPUT_SEPARATOR : Separator of the different fields in the filename,
# ie sexcat[SEP]catalog_id[SEP]CCD_id.fits
# MIN_N_STARS : Minimum number of stars to keep a CCD for the training.
# OUTLIER_STD_MAX : Maximum standard deviation used for the outlier rejection.
# Should not be too low as a hihg quantity of low quality
# stars will be rejected. ie 9 is a conservative rejection.
# USE_SNR_WEIGHTS : Boolean to determine if the SNR weighting strategy will
# be used.
# For now, it needs the SNR estimations from SExtractor.
#
#
# [INSTANCE]
# N_COMP_LOC : Number of components of the Local model. If LOC_MODEL is poly,
# will be the max degree D of the polynomial.
# D_COMP_GLOB : Max degree of the global polynomial model.
# KSIG_LOC : Denoising parameter of the local model.
# ie 1 is a normal denoising, 3 is a hard denoising.
# KSIG_GLOB : Denoising parameter of the global model.
# ie 1 is a normal denoising, 3 is a hard denoising.
# FILTER_PATH : Path for predefined filters.
#
#
# [FIT]
# LOC_MODEL : Defines the type of local model to use, it can be: 'rca',
# 'poly' or 'hybrid'.
# When the poly model is used, N_COMP_LOC should be used
# as the D_LOC (max degree of the poly model)
# PSF_SIZE : First guess of the PSF size. A size estimation is done anyways.
# PSF_SIZE_TYPE : Type of the size information. It can be: fwhm, R2, sigma
# N_EIGENVECTS : Number of eigenvectors to keep for the graph constraint
# construction.
# N_ITER_RCA : Number of global epochs in the algorithm. Alternation between
# global and local estimations.
# N_ITER_GLOB : Number of epochs for each global optimization. Alternations
# between A_GLOB and S_GLOB.
# N_ITER_LOC : Number of epochs for each local optimization. Alternations
# between the different A_LOC and S_LOC.
# NB_SUBITER_S_LOC : Iterations for the optimization algorithm over S_LOC.
# NB_SUBITER_A_LOC : Iterations for the optimization algorithm over A_LOC.
# NB_SUBITER_S_GLOB : Iterations for the optimization algorithm over S_GLOB.
# NB_SUBITER_A_GLOB : Iterations for the optimization algorithm over A_GLOB.
#
#
# [VALIDATION]
# VAL_DATA_INPUT_DIR : (Required) Must be a valid directory which contains the
# validation input data (test dataset).
# VAL_PREPROCESSED_OUTPUT_DIR : (Required) Must be a valid directory where the
# preprocessed input file will be saved.
# VAL_MODEL_INPUT_DIR : (Required) Must be a valid directory which contains the
# saved trained models.
# VAL_OUTPUT_DIR : (Required) Must be a valid directory where to save the
# validation outputs, test PSFs and interpolated PSFs.
# VAL_REGEX_FILE_PATTERN : Same as INPUT_REGEX_FILE_PATTERN but for validation.
# VAL_SEPARATOR : Same as INPUT_SEPARATOR but for validation.
# APPLY_DEGRADATION : Whether the PSF models should be degraded
# (sampling/shifts/flux) to match stars; use True if you
# plan on making pixel-based comparisons (residuals etc.).
# MCCD_DEBUG : Debug mode. Returns the local and global contributions.
# GLOBAL_POL_INTERP : Uses polynomial interpolation for the global model
# instead of RBF kernel interpolation.
#
Loading