construct_exposure_table#

niriss_tools.pipeline.construct_exposure_table(file_dir, ext_pattern='*_rate.fits', cpu_count=4)[source]#

Compile an exposure table based on the file contents of a directory.

Parameters:
file_dirPathLike

The directory containing the files of interest.

ext_patternstr, optional

The pattern to use for matching files, by default "*_rate.fits".

cpu_countint, optional

The number of cpu cores to use for processing, by default 4.

Returns:
astropy.table.Table

The exposure table.