spacetelescope / astronify

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

Handle presence of NaN's correctly. #36

Closed scfleming closed 4 years ago

scfleming commented 4 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 4 years ago

Fixed as of 0.1 release.