spacetelescope / astronify

Astronomical data sonification.
https://astronify.readthedocs.io
71 stars 15 forks source link

Handle presence of NaN's correctly. #36

Closed scfleming closed 3 years ago

scfleming commented 3 years ago

Currently the Jupyter kernel will die if sonify() is given a set of fluxes with NaN values in it. These should be filtered out, or the algorithm should be made NaN-safe, depending on our decision for a mitigation strategy. Kepler/K2 data can sometimes have NaN values in the time array to, so the solution should be applied to both the time and flux axes.

ceb8 commented 3 years ago

Fixed as of 0.1 release.