km3pipe.calib
¶
Calibration.
Module Contents¶
Classes¶
Calibration () |
A very simple, preliminary Module which gives access to the calibration. |
CalibrationService () |
A service which provides calibration routines for hits |
Functions¶
apply_t0_nb (times, dom_ids, channel_ids, lookup_tables) |
Apply t0s using a lookup table of tuples (dom_id, calib) |
-
class
km3pipe.calib.
Calibration
[source]¶ Bases:
km3pipe.core.Module
A very simple, preliminary Module which gives access to the calibration.
Parameters: - apply: bool, optional [default=True]
Apply the calibration to the hits (add position/direction/t0)?
- filename: str, optional [default=None]
DetX file with detector description.
- det_id: int, optional
.detx ID of detector (when retrieving from database).
- t0set: optional
t0set (when retrieving from database).
- calibset: optional
calibset (when retrieving from database).
-
km3pipe.calib.
apply_t0_nb
(times, dom_ids, channel_ids, lookup_tables)[source]¶ Apply t0s using a lookup table of tuples (dom_id, calib)
-
class
km3pipe.calib.
CalibrationService
[source]¶ Bases:
km3pipe.core.Module
A service which provides calibration routines for hits
Parameters: - filename: str, optional [default=None]
DetX file with detector description.
- det_id: int, optional
.detx ID of detector (when retrieving from database).
- t0set: optional
t0set (when retrieving from database).
- calibset: optional
calibset (when retrieving from database).
- detector: kp.hardware.Detector, optional