dunedn.geometry package
Submodules
dunedn.geometry.helpers module
This module contains the geometry helper functions that transform events into planes and vice versa.
- dunedn.geometry.helpers.evt2planes(event: ndarray) Tuple[ndarray, ndarray][source]
Converts event array to planes.
- Parameters
event (np.array) – Raw Digit array, of shape=(nb_event_channels, nb_tdc_ticks).
- Returns
collections (np.array) – Induction planes array, of shape=(N,C,H,W).
collections (np.array) – Collection planes array, of shape=(N,C,H,W).
- dunedn.geometry.helpers.planes2evt(inductions: ndarray, collections: ndarray) ndarray[source]
Converts planes back to event.
- Parameters
inductions (np.array) – Induction planes, of shape=(N,C,H,W).
collections (np.array) – Collection planes, of shape=(N,C,H,W).
- Returns
Raw Digits array, of shape=(nb_event_channels, nb_tdc_ticks).
- Return type
np.array
dunedn.geometry.pdune module
This module contains the pDUNE geometry parameters.