parsotat / BatAnalysis

A python HEASOFT wrapper for processing Swift-BAT data.
MIT License
30 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 5 months ago

parsotat commented 5 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.