stsci_det1#

niriss_tools.pipeline.stsci_det1(uncal_dir, raw_output_dir, cpu_count=1, joblib_backend='loky', **kwargs)[source]#

Run the JWST level 1 detector pipeline.

Parameters:
uncal_dirPathLike

The location of the _uncal.fits files.

raw_output_dirPathLike

Where the output files will be saved.

cpu_countint, optional

The number of CPU cores to use for running the pipeline. Each core will process a single file, so note that the memory usage will increase substantially when running in parallel. By default only one core will be used.

joblib_backendstr, optional

The backend to use when running the pipeline in parallel, by default "loky".

**kwargsdict, optional

Any additional keyword arguments, to be passed to jwst.pipeline.Detector1Pipeline.