ApplyWCSAdjustStep
This step applies the corrections from GetWCSAdjustStep to each tiles, so we now have aligned tiles between mosaics (in a relative, rather than absolute sense).
API
- class pjpipe.ApplyWCSAdjustStep(wcs_adjust, in_dir, out_dir, step_ext, procs, overwrite=False)[source]
Apply WCS adjustments to images
- Parameters:
wcs_adjust – Dictionary for WCS adjustments
in_dir – Input directory
out_dir – Output directory
step_ext – .fits extension for the files going into the step
procs – Number of processes to run in parallel
overwrite – Whether to overwrite or not. Defaults to False
- do_step()[source]
Run applying the WCS adjustments
- parallel_wcs_adjust(file)[source]
Parallelise applying WCS adjustments
- Parameters:
file – File to apply WCS corrections to
- run_step(files, procs=1)[source]
Wrap paralellism around applying WCS adjusts
- Parameters:
files – List of files to mask lyot in
procs – Number of parallel processes to run. Defaults to 1