shapepipe.modules.merge_starcat_package.merge_starcat
shapepipe.modules.merge_starcat_package.merge_starcat¶
MERGE STAR CATALOGUES.
This module contains a class to identify single exposures that were used to create tiles.
- Authors
Martin Kilbinger <martin.kilbinger@cea.fr>, Tobias Liaudat, Morgan Schmitz, Axel Guinot
- class MergeStarCatMCCD(input_file_list, output_dir, w_log, stamp_size=51, rad=10, hdu_table=1)[source]¶
Bases:
object
Merge Star Catalogue MCCD.
Merge star catalogues of MCCD PSF model output.
- Parameters
- static rmse_calc(values, sizes)[source]¶
Calculate RMSE.
Calculate square root of mean over input values. If
values
is an array with element \(j\) being \(\sum_j^{N_j}x_{i, j}^2\), where \(x_{ij}\) is the residual (ground truth - estimation), and sizes is the array \(N_j\), then this function computes the RMSE.- Parameters
- Returns
rmse – Root mean square error
- Return type
See also
- static rmse_calc_2(values, sizes)[source]¶
Calculate RMSE 2.
Calculate square root of mean over squared input valuess. If
values
is an array with element \(j\) being \(\sum_j^{N_j}x_{i, j}\), where \(x_{ij}\) is the residual (ground truth - estimation), and sizes is the array \(N_j\), then this function computes the RMSE.
- static mean_calc(values, sizes)[source]¶
Calculate Mean.
Calculate pixel mean over all input images.
- static std_calc(values)[source]¶
Calculate Standard Deviation.
Calculate pixel standard deviation over all input images.
- class MergeStarCatPSFEX(input_file_list, output_dir, w_log, hdu_table=2)[source]¶
Bases:
object
Merge Star Catalogue PSFEx.
Merge star catalogues of PSFEx PSF model output.
- Parameters
input_file_list (list) – Input files
output_dir (str) – Output directory
w_log (logging.Logger) – Logging instance
hdu_table (int, optional) – HDU number; default is
2