lsst.ip.isr  22.0.1-23-ged5e717+d5b52a074f
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.ip.isr.isrMock.DataRefMock Class Reference
Inheritance diagram for lsst.ip.isr.isrMock.DataRefMock:

Public Member Functions

def __init__ (self, **kwargs)
 
def expectImage (self)
 
def expectData (self)
 
def get (self, dataType, **kwargs)
 
def put (self, exposure, filename)
 

Public Attributes

 config
 

Static Public Attributes

string dataId = "isrMock Fake Data"
 
int darkval = 2.
 
int oscan = 250.
 
int gradient = .10
 
float exptime = 15.0
 
float darkexptime = 15.0
 

Detailed Description

Simulated gen2 butler data ref.

Currently only supports get and put operations, which are most
likely to be called for data in ISR processing.

Definition at line 933 of file isrMock.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.ip.isr.isrMock.DataRefMock.__init__ (   self,
**  kwargs 
)

Definition at line 947 of file isrMock.py.

Member Function Documentation

◆ expectData()

def lsst.ip.isr.isrMock.DataRefMock.expectData (   self)

Definition at line 959 of file isrMock.py.

◆ expectImage()

def lsst.ip.isr.isrMock.DataRefMock.expectImage (   self)

Definition at line 953 of file isrMock.py.

◆ get()

def lsst.ip.isr.isrMock.DataRefMock.get (   self,
  dataType,
**  kwargs 
)
Return an appropriate data product.

Parameters
----------
dataType : `str`
    Type of data product to return.

Returns
-------
mock : IsrMock.run() result
    The output product.

Definition at line 965 of file isrMock.py.

◆ put()

def lsst.ip.isr.isrMock.DataRefMock.put (   self,
  exposure,
  filename 
)
Write an exposure to a FITS file.

Parameters
----------
exposure : `lsst.afw.image.Exposure`
    Image data to write out.
filename : `str`
    Base name of the output file.

Definition at line 1018 of file isrMock.py.

Member Data Documentation

◆ config

lsst.ip.isr.isrMock.DataRefMock.config

Definition at line 949 of file isrMock.py.

◆ darkexptime

float lsst.ip.isr.isrMock.DataRefMock.darkexptime = 15.0
static

Definition at line 945 of file isrMock.py.

◆ darkval

int lsst.ip.isr.isrMock.DataRefMock.darkval = 2.
static

Definition at line 941 of file isrMock.py.

◆ dataId

string lsst.ip.isr.isrMock.DataRefMock.dataId = "isrMock Fake Data"
static

Definition at line 940 of file isrMock.py.

◆ exptime

float lsst.ip.isr.isrMock.DataRefMock.exptime = 15.0
static

Definition at line 944 of file isrMock.py.

◆ gradient

int lsst.ip.isr.isrMock.DataRefMock.gradient = .10
static

Definition at line 943 of file isrMock.py.

◆ oscan

int lsst.ip.isr.isrMock.DataRefMock.oscan = 250.
static

Definition at line 942 of file isrMock.py.


The documentation for this class was generated from the following file: