lsst.ip.isr  17.0.1-20-g2ca2f74+4
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 912 of file isrMock.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 926 of file isrMock.py.

Member Function Documentation

◆ expectData()

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

Definition at line 938 of file isrMock.py.

◆ expectImage()

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

Definition at line 932 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 944 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 997 of file isrMock.py.

Member Data Documentation

◆ config

lsst.ip.isr.isrMock.DataRefMock.config

Definition at line 928 of file isrMock.py.

◆ darkexptime

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

Definition at line 924 of file isrMock.py.

◆ darkval

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

Definition at line 920 of file isrMock.py.

◆ dataId

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

Definition at line 919 of file isrMock.py.

◆ exptime

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

Definition at line 923 of file isrMock.py.

◆ gradient

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

Definition at line 922 of file isrMock.py.

◆ oscan

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

Definition at line 921 of file isrMock.py.


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