shapepipe.modules.pastecat_package.pastecat
shapepipe.modules.pastecat_package.pastecat¶
PASTE CATALOGUES.
Class to paste different (SExtractor) catalogues of objects.
- Author
Martin Kilbinger <martin.kilbinger@cea.fr>, Axel Guinot
- class PasteCat(input_file_list, output_path, w_log, ext_name=None, check_col_name=None, hdu_no=None)[source]¶
Bases:
object
Paste Catalogues.
This class pastes (or concatenates) a series of SExtractor output catalogues into a single output catalogue.
- Parameters
input_file_list (list) – List of input catalogue paths to be pasted.
output_path (str) – Output file path of pasted catalogue
w_log (logging.Logger) – Logging instance
ext_name (list, optional) – HDU extension names, if
None
use input file namescheck_col_name (str, optional) – If not
None
, use column with this key to check equal number of rows in each input cataloguehdu_no (numpy.ndarray, optional) – HDU numbers of the input catalogue; by default set to
2
for all input files