spacetelescope / astronify

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

automatic conversion of data column names to lowercase #69

Closed dhuppenkothen closed 1 year ago

dhuppenkothen commented 1 year ago

SoniSeries expects lowercase columns time and flux in the input astropy Table object. This change automatically converts columns to lowercase in the data_setter method. It also adds an assertion that those columns actually exist, refactors the corresponding tests and adds tests for the new functionality.

ceb8 commented 1 year ago

Thanks @dhuppenkothen!