LinearityModel¶
-
class
jwst.datamodels.
LinearityModel
(init=None, coeffs=None, dq=None, dq_def=None, **kwargs)[source]¶ Bases:
jwst.datamodels.ReferenceFileModel
A data model for linearity correction information.
Parameters: - init (any) – Any of the initializers supported by
DataModel
. - coeffs (numpy array) – Coefficients defining the nonlinearity function.
- dq (numpy array) – The data quality array.
- dq_def (numpy array) – The data quality definitions table.
Attributes Summary
schema_url
Methods Summary
get_primary_array_name
()Returns the name “primary” array for this model, which controls the size of other arrays that are implicitly created. Attributes Documentation
-
schema_url
= 'linearity.schema.yaml'¶
Methods Documentation
- init (any) – Any of the initializers supported by