icecube.gcdserver.I3CalibrationBuilder module

exception icecube.gcdserver.I3CalibrationBuilder.DuplicateDataError

Bases: Exception

exception icecube.gcdserver.I3CalibrationBuilder.InsufficientDataError

Bases: Exception

icecube.gcdserver.I3CalibrationBuilder.buildI3Calibration(db)

Build an I3Calibration instance from GCD data. @db: Access to set of valid GeometryObject and CalibrationObject instances @return: dataclasses.I3Calibration instance.

icecube.gcdserver.I3CalibrationBuilder.buildI3IceTopSLCCalibrationCollection(db)

Build an I3IceTopSLCCalibrationCollection instance from GCD data. @db: Access to set of valid GeometryObject and CalibrationObject instances @return: dataclasses.I3IceTopSLCCalibrationCollection instance.

icecube.gcdserver.I3CalibrationBuilder.getDOMCalibration(db, omkey, device)

Build an I3DOMCalibration object for deployed device ‘deviceName’ using data in db @db: Access to set of valid GeometryObject and CalibrationObject instances @deviceName: Name of device we’re building an I3DOMCalibration for @return: I3DOMCalibration instance.

icecube.gcdserver.I3CalibrationBuilder.loadRecord(db, deviceName, type)

Load a single calibration record from the database @db: Access to set of valid GeometryObject and CalibrationObject instances @deviceName: Name of device we’re building an I3DOMCalibration for @cls: Calibration data class desired