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
30 stars 58 forks source link

remove nans from injection test #175

Closed haukekoehn closed 1 year ago

haukekoehn commented 1 year ago

Sometimes, when the lightcurves generated from the injection paramete…rs contain nans. This asserts an error in the comparison np.isclose between the lightcurves from the commandline and the function, although they are the same. This is fixed by excluding the nans in the comparison now.