shapepipe.modules.make_cat_package

shapepipe.modules.make_cat_package

MAKE CATALOGUE PACKAGE.

This package contains the module for make_cat.

Author

Axel Guinot

Parent modules

  • sextractor_runner

  • spread_model_runner

  • psfex_interp_runner or mccd_interp_runner

  • ngmix_runner

Input

SExtractor catalogues, sqlite catalogue

Output

SExtractor catalogue

Description

This module creates a final catalogue combining the output of various previous module runs. This gathers all relevant information on the measured galaxies for weak-lensing post-processing. This includes galaxy detection and basic measurement parameters, the PSF model at galaxy positions, the spread-model classification, and the shape measurement.

Module-specific config file entries

SM_DO_CLASSIFICATIONbool, optional

Adds spread-model star/galaxy classification flag as the column SPREAD_CLASS to the output if True

SM_STAR_THRESHfloat, optional

Threshold \(s_{\rm star, thresh}\) for star selection; object is classified as a star if \(|x s + 2 \sigma_s | < s_{\textrm{star, thresh}}\) where \(s\) is the spread model and \(\sigma_s\) is the spread model error; default value is 0.003

SM_GAL_THRESHfloat, optional

Threshold \(s_{\rm gal, thresh}\) for galaxy selection; object is classified as a galaxy if \(s + 2 \sigma_s > s_{\textrm{gal, thresh}}\) where \(s\) is the spread model and \(\sigma_s\) is the spread model error; default value is 0.01

SHAPE_MEASUREMENT_TYPElist

Shape measurement method, valid options are ngmix and/or galsim

SAVE_PSF_DATAbool, optional

Save PSF information if True; default value is False

TILE_LISTstr, optional

Path to list of all tile IDs, used to flag objects in areas of overlap between tiles