km3pipe.hardware
¶
Classes representing KM3NeT hardware.
Module Contents¶
Classes¶
Detector (filename=None, det_id=None, t0set=None, calibration=None) |
A KM3NeT detector. |
UTMInfo (ellipsoid, grid, easting, northing, z) |
The UTM information |
PMT (id, pos, dir, t0, channel_id, omkey) |
Represents a photomultiplier. |
-
class
km3pipe.hardware.
Detector
(filename=None, det_id=None, t0set=None, calibration=None)[source]¶ Bases:
object
A KM3NeT detector.
Parameters: - filename: str, optional
Name of .detx file with detector definition.
- det_id: int, optional
.detx ID of detector (when retrieving from database).
- t0set: optional
t0set (when retrieving from database).
- calibration: optional
calibration (when retrieving from database).
-
rotate_dom_by_yaw
(self, dom_id, heading, centre_point=None)[source]¶ Rotate a DOM by a given (yaw) heading.
-
class
km3pipe.hardware.
UTMInfo
(ellipsoid, grid, easting, northing, z)[source]¶ Bases:
object
The UTM information