from .reference import ReferenceFileModel
__all__ = ['IPCModel']
[docs]class IPCModel(ReferenceFileModel):
"""
A data model for IPC kernel checking information.
Parameters
----------
init : any
Any of the initializers supported by `~jwst.datamodels.DataModel`.
data : numpy array
The deconvolution kernel (a very small image).
"""
schema_url = "ipc.schema.yaml"
def __init__(self, init=None, data=None, **kwargs):
super(IPCModel, self).__init__(init=init, **kwargs)
if data is not None:
self.data = data