Regular KeyData objects allow selecting trains like xgm_intensity[:100] . But the objects for multi-module detectors, which generally aim to have a similar API, require something like lpd_mask.select_trains(np.s_[:100]). This makes lpd_mask[:100] work as well.
Regular KeyData objects allow selecting trains like
xgm_intensity[:100]
. But the objects for multi-module detectors, which generally aim to have a similar API, require something likelpd_mask.select_trains(np.s_[:100])
. This makeslpd_mask[:100]
work as well.