spacetelescope / astronify

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

Create .wav duration warning message #62

Open jaymedina opened 1 year ago

jaymedina commented 1 year ago

Write up a condition to catch for when n_spacing creates a .wav file that takes too long (>10 seconds?). Given the n_spacing + the num. of individual data points that will be sonified, calculate the length of time it will take to sonify the entire data table. If it takes too long, warn the user and let them know their n_spacing is too large.