ImageSubsetArray
- class jwst.background.background_sub.ImageSubsetArray(model)[source]
Bases:
objectKeep track of where different images relate to each other.
This includes using, e.g., subarray observations.
- Parameters:
- model
ImageModel Input datamodel
- model
Methods Summary
get_subset_array(other)Pull out the overlapping SCI, ERR, and DQ data for two models.
overlaps(other)Find whether this subset and another overlap.
Methods Documentation
- get_subset_array(other)[source]
Pull out the overlapping SCI, ERR, and DQ data for two models.
- Parameters:
- other
ImageModel Input model
- other
- Returns:
- data_overlapndarray
Data overlap of the science arrays
- err_overlapndarray
Overlap of the error arrays
- dq_overlapndarray
Overlap of the DQ arrays
- overlaps(other)[source]
Find whether this subset and another overlap.
- Parameters:
- other
ImageModel Input model
- other
- Returns:
- bool
Return the boolean opposite of the condition met