lsst.cp.pipe  20.0.0-20-g0a07b97+8fac4b477d
Classes | Functions
lsst.cp.pipe.photodiode Namespace Reference

Classes

class  PhotodiodeData
 

Functions

def getBOTphotodiodeData (dataRef, dataPath='/project/shared/BOT/_parent/raw/photodiode_data/', logger=None)
 

Function Documentation

◆ getBOTphotodiodeData()

def lsst.cp.pipe.photodiode.getBOTphotodiodeData (   dataRef,
  dataPath = '/project/shared/BOT/_parent/raw/photodiode_data/',
  logger = None 
)
Get the photodiode data associated with a BOT dataRef.

This is a temporary Gen2-only interface to the photodiode readings from
the SLAC Run3 datasets onwards.

Parameters
----------
dataRef : `lsst.daf.persistence.ButlerDataRef`
    dataRef of the of the detector/visit to load the data for.

dataPath : `str`, optional
    Path at which to find the corresponding photodiode data files.

logger : `lsst.log.Log`, optional
    Logger for logging warnings.


Returns
-------
photodiodeData : `lsst.cp.pipe.photodiode.PhotodiodeData` or `None`
    The full time-series of the photodiode readings, with methods to
    integrate the photocharge, or None if the expected file isn't found.

Definition at line 30 of file photodiode.py.