parsotat / BatAnalysis

A python HEASOFT wrapper for processing Swift-BAT data.
MIT License
28 stars 11 forks source link

Correctly check for 1M np.timedelta64 and added new option to skip computation of the total mosaic #26

Closed parsotat closed 2 months ago

parsotat commented 2 months ago

This is from PR #21 excluding the nprocs=1 commits that were made. this fixes the numpy timedelta64 comparison between 1 month and other formats. This also allows users to skip the computation of the total mosaic if it is not needed in the parallel mosaic computation.