nuclear-multimessenger-astronomy / nmma

A pythonic library for probing nuclear physics and cosmology with multimessenger analysis
https://nuclear-multimessenger-astronomy.github.io/nmma/
GNU General Public License v3.0
33 stars 58 forks source link

removed zero division errors #92

Closed sahiljhawar closed 1 year ago

sahiljhawar commented 1 year ago

Removed zero division, NaN, negative values and powering errors in Metzger model (em/utils.py). Light curve analysis is now approximately 2x faster.

mcoughlin commented 1 year ago

Thanks @sahiljhawar. Please use a branch for next time.