icecube.gcdserver.Calibration module

class icecube.gcdserver.Calibration.ATWDCalibration

Bases: CalibrationData

Voltage vs ATWD bin ADC value. Keep only the slope. Minimize document size by placing slopes for each bin into an array.

getSlope(atwd, channel, bin)
setSlope(atwd, channel, bin, value)
class icecube.gcdserver.Calibration.ATWDConstants

Bases: object

Basic constants for DOM ATWD digitization

N_ATWDS = 2
N_BINS = 128
N_CHANNELS = 3
classmethod atwdKey(atwd)
classmethod channelKey(channel)
classmethod checkValid(atwd=0, channel=0, bin=0)
class icecube.gcdserver.Calibration.ATWDDeltaTCal

Bases: CalibrationData

Time offset for ATWD0 and ATWD1

getDeltaT(atwd)
setDeltaT(atwd, deltaT)
class icecube.gcdserver.Calibration.ATWDFrequencyCal

Bases: CalibrationData

C0 = 'c0'
C1 = 'c1'
C2 = 'c2'
COEFF = 'regressionCoeff'
dataNameString = 'ATWD Frequency Calibration'
getFit(atwd)
getFitRegressionCoeff(atwd)
setFit(atwd, c0, c1, c2, coeff)
class icecube.gcdserver.Calibration.AmplifierCal(name=None)

Bases: CalibrationData

Gains of the three front-end amplifiers

getGain(channel)
setGain(channel, gain)
class icecube.gcdserver.Calibration.BeaconBaseline

Bases: CalibrationData

Explicit routines to get/set ATWD average baseline values

getATWDBaseline(atwd, channel)
setATWDBaseline(atwd, channel, value)
class icecube.gcdserver.Calibration.CalibrationData

Bases: DictionaryBacked

Base calibration data class providing __getitem__ and __setitem__ access on the backing dictionary

class icecube.gcdserver.Calibration.Keys

Bases: object

ATWD_SIGMA = 'ATWD Sigma'
CHI_2 = 'Chi2'
CORR_FACTOR = 'corrFactor'
DATE = 'date'
DELTA_T = 'deltaT'
END_RUN = 'EndRun'
ERROR = 'Error'
EXP2_NORM = 'Exp2 Normalization'
EXP2_SCALE = 'Exp2 Scale'
EXP_NORM = 'Exp Normalization'
EXP_SCALE = 'Exp Scale'
FADC_BASELINE = 'fadcBaseline'
FADC_SIGMA = 'FADC Sigma'
FE_IMPEDANCE = 'frontEndImpedance'
GAIN = 'gain'
GAUSS_MEAN = 'Gaussian Mean'
GAUSS_NORM = 'Gaussian Norm'
GAUSS_STDDEV = 'Gaussian Standard Dev'
HG_LG_CROSSOVER = 'hglgCrossOver'
INTERCEPT = 'intercept'
MUON_PEAK_WIDTH = 'muPeakWidth'
NDF = 'NDF'
NOISE_RATE = 'NoiseRate'
N_ENTRIES = 'Number of Entries'
PE_PER_VEM = 'pePerVEM'
REG_COEFF = 'regressionCoeff'
SLC_GAUSS_MEAN = 'SLC Gaussian Mean'
SLC_INTERCEPT_C0A0 = 'Intercept_C0A0'
SLC_INTERCEPT_C0A1 = 'Intercept_C0A1'
SLC_INTERCEPT_C0A2 = 'Intercept_C0A2'
SLC_INTERCEPT_C1A0 = 'Intercept_C1A0'
SLC_INTERCEPT_C1A1 = 'Intercept_C1A1'
SLC_INTERCEPT_C1A2 = 'Intercept_C1A2'
SLC_INTERCEPT_CunkA0 = 'Intercept_CunkA0'
SLC_INTERCEPT_CunkA1 = 'Intercept_CunkA1'
SLC_INTERCEPT_CunkA2 = 'Intercept_CunkA2'
SLC_SLOPE_C0A0 = 'Slope_C0A0'
SLC_SLOPE_C0A1 = 'Slope_C0A1'
SLC_SLOPE_C0A2 = 'Slope_C0A2'
SLC_SLOPE_C1A0 = 'Slope_C1A0'
SLC_SLOPE_C1A1 = 'Slope_C1A1'
SLC_SLOPE_C1A2 = 'Slope_C1A2'
SLC_SLOPE_CunkA0 = 'Slope_CunkA0'
SLC_SLOPE_CunkA1 = 'Slope_CunkA1'
SLC_SLOPE_CunkA2 = 'Slope_CunkA2'
SLOPE = 'slope'
SNOW_HEIGHT = 'Snow Height'
SPE_COMP_FACTOR = 'SPE Compensation Factor'
START_RUN = 'StartRun'
TAU0 = 'tau0'
TAU1 = 'tau1'
TAU2 = 'tau2'
TAU3 = 'tau3'
TAU4 = 'tau4'
TAU5 = 'tau5'
TAU_FRACTION = 'tauFraction'
TEMPERATURE = 'temperature'
VALID = 'Valid'
VERSION = 'version'
X_MAX_F = 'X_Max_F'
class icecube.gcdserver.Calibration.ObjectType

Bases: object

Enumeration of calibration DB object type strings

AMP_CAL = 'Amplifier Calibration'
ATWD_CAL = 'ATWD Calibration'
ATWD_DELTA_T_CAL = 'ATWD Delta-T Calibration'
ATWD_FREQ_CAL = 'ATWD Frequency Calibration'
ATWD_SPE_CORR = 'ATWD SPE Corrections'
BEACON_BASELINES = 'Beacon Baseline Averages'
FADC_BASELINE = 'FADC Baseline'
FADC_DELTA_T_CAL = 'FADC Delta-T Calibration'
FADC_GAIN_CAL = 'FADC Gain Calibration'
FADC_SPE_CORR = 'FADC SPE Corrections'
FRONT_END_IMPEDANCE = 'Front End Impedance'
GAIN_CAL = 'GainVsHV'
JOINT_SPE_CORR = 'Joint ATWD/FADC SPE Corrections'
MPE_DISC_CAL = 'MPE Discriminator Calibration'
NOISE_RATE = 'Noise Rate'
PMT_DISC_CAL = 'PMT Discriminator Calibration'
PMT_TRANSIT_TIME_CAL = 'PMT Transit Time Calibration'
SLC_CALIBRATION = 'IceTop SLC Calibration'
SNOW_HEIGHT = 'Snow Height'
SPE_DISC_CAL = 'SPE Discriminator Calibration'
TOROID_DROOP = 'Toroid Droop'
VEMCAL = 'IceTop Muon Calibration'