Outlier Detection Utils
stcal.outlier_detection.median Module
Compute median of large datasets in memory- and runtime-efficient ways.
Functions
|
Compute the nanmedian of a cube. |
Classes
|
Top-level class to treat median computation uniformly, whether in memory or on disk. |
Class Inheritance Diagram

stcal.outlier_detection.utils Module
Utility functions for outlier detection routines
Functions
|
scipy.signal.medfilt (and many other median filters) have undefined behavior for nan inputs. |
|
Compute the weight threshold for a single image or cube. |
|
Straightforward detection of outliers for non-dithered data since sci_err includes all noise sources (photon, read, and flat for baseline). |
|
Detect outliers (CRs) using resampled reference data. |
|
Resample the median data to recreate an input image based on the blot wcs. |
|
Return a pixel grid map from input frame to output frame. |
|
Given two WCSs return a function which takes pixel coordinates in wcs1 and computes them in wcs2. |