|
# Build LCE map from s1 pattern map |
|
lcemap = deepcopy(self.s1_pattern_map) |
|
# AT: this scaling with mast is redundant to `make_patternmap`, but keep it in for now |
|
lcemap.data["map"] = np.sum( |
|
lcemap.data["map"][:][:][:], axis=3, keepdims=True, where=self.pmt_mask |
|
) |
|
lcemap.__init__(lcemap.data) |
|
self.s1_lce_correction_map = lcemap |
changed in
#350 is out of the box not compatible with the dummy maps we use for the public context. We need to update this.
fuse/fuse/plugins/detector_physics/s1_photon_hits.py
Lines 106 to 113 in 5f80c0e