snowblind_image3#
snowblind.Image3Pipeline, run with strun snowblind_image3. calwebb_image3 with TiledOutlierStep as its outlier detection and
SparseResampleStep as its resample step;
outlier_step='sparse_outlier' runs SparseOutlierDetectionStep
instead. A drop-in replacement.
Guide: Resampling and outlier detection.
- Parameters:
- in_memoryboolean, default
True If False, preserve memory using temporary files at the expense of runtime
- outlier_stepone of
'tiled_outlier','sparse_outlier', default'tiled_outlier' the step that flags outliers
- in_memoryboolean, default
The parameters every stpipe step has (skip, save_results,
output_dir, suffix, pre_hooks, post_hooks and the
others) are described in the stpipe documentation.
Step slots that snowblind fills:
resample:snowblind.resample.SparseResampleSteptiled_outlier:snowblind.outlier_reference.TiledOutlierStepsparse_outlier:snowblind.outlier_detection.SparseOutlierDetectionStep
- class snowblind.Image3Pipeline(*args, **kwargs)#
calwebb_image3with snowblind’s outlier detection and resampling by spizzle.The jwst pipeline’s
outlier_detectionslot is replaced by two:tiled_outlier, TiledOutlierStep, which compares each exposure with one reference built from all the exposures’ input pixels, andsparse_outlier, SparseOutlierDetectionStep, jwst’s method with spizzle’s drizzling.outlier_stepnames the one that runs (tiled_outlierby default); each takes its own parameters, e.g.--steps.tiled_outlier.scale=...or--steps.sparse_outlier.pixfrac=.... Theresampleslot holds SparseResampleStep (--steps.resample.pixel_scale=...), which saves the mosaic’s noise factor next to it as<product>_nfactor.fits.These steps take no parameters from CRDS and accept only their own (no
kernel, for one). The other steps, and the parameters CRDS provides for them, are jwst’s.- process(input_data)#
Run the jwst pipeline, with the step that
outlier_stepnames in its outlier detection.- Parameters:
- input_dataLevel3 Association, or ~jwst.datamodels.library.ModelLibrary
The exposures to process.