simonsobs / sotodlib

Simons Observatory: Time-Ordered Data processing library.
MIT License
16 stars 19 forks source link

Faster binning #935

Closed tterasaki closed 3 months ago

tterasaki commented 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.

tterasaki commented 3 months ago

Thanks Kyohei. Yes, the new one is consistent with the previous one up to computational error level.