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_dir
PathLike The location of the
_uncal.fitsfiles.- raw_output_dir
PathLike Where the output files will be saved.
- cpu_count
int, 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_backend
str, optional The backend to use when running the pipeline in parallel, by default
"loky".- **kwargs
dict, optional Any additional keyword arguments, to be passed to
jwst.pipeline.Detector1Pipeline.
- uncal_dir