Closed tterasaki closed 3 months ago
My binning was slow just because it loop np.histogram for all detectors. Modified the binning function to the style with np.bincount, which result in ~2 times faster hwpss and azss calculation.
Thanks Kyohei. Yes, the new one is consistent with the previous one up to computational error level.
My binning was slow just because it loop np.histogram for all detectors. Modified the binning function to the style with np.bincount, which result in ~2 times faster hwpss and azss calculation.