Lv1Step
This is a light wrapper around the level 1 pipeline stage of the official pipeline. For more details, see the official documentation.
API
- class pjpipe.Lv1Step(target, band, in_dir, out_dir, dr_version, step_ext, procs, is_bgr, jwst_parameters=None, overwrite=False)[source]
Wrapper around the level 1 JWST pipeline
- Parameters:
target – Target to consider
band – Band to consider
in_dir – Input directory
out_dir – Output directory
dr_version – Data processing version
step_ext – .fits extension for the files going into the step
procs – Number of processes to run in parallel.
is_bgr – Whether we’re processing background observations or not
jwst_parameters – Parameter dictionary to pass to the level 1 pipeline. Defaults to None, which will run the observatory defaults
overwrite – Whether to overwrite or not. Defaults to False
- do_step()[source]
Run the level 1 pipeline
- parallel_lv1(dither)[source]
Parallelise lv1 reprocessing
- Parameters:
dither – Name for dither group. This is used because we inherit persistence from previous integration in the set
- run_step(dithers, procs=1)[source]
Wrap parallelism around the level 1 pipeline
- Parameters:
dithers – List of dithers to loop over
procs – Number of processes to run. Defaults to 1