PixelReplaceArrays
- class jwst.pixel_replace.pixel_replace.PixelReplaceArrays(data: ndarray, dq: ndarray, err: ndarray, var_poisson: ndarray | None, var_rnoise: ndarray | None, var_flat: ndarray | None, dispersion_direction: int)[source]
Bases:
objectContainer for data arrays and dispersion direction.
Algorithms operate on this dataclass rather than on a
JwstDataModel. This avoids the overhead of constructing intermediate DataModel objects, which was slowing runtime for TSO data with thousands of integrations, and provides a consistent interface forPixelReplacement.mingrad()andPixelReplacement.fit_profile().- Attributes:
- datandarray
Science array.
- dqndarray
Data quality array.
- errndarray
Total error array.
- var_poissonndarray or None
Poisson variance array.
- var_rnoisendarray or None
Read-noise variance array.
- var_flatndarray or None
Flat-field variance array.
- dispersion_directionint
Dispersion direction.
Attributes Summary
Attributes Documentation