adds three xarray reader/writer pairs for stellar spectra, raw light curves, and fitted light curves. They approximately meet the standards drafted by @natashabatalha , @lili-alderson , @hrwakeford , @munazzaalam (not perfectly, but hopefully close enough to start iterating on something useful).
adds get_times_as_astropy and set_times_from_astropy as a way to convert to/from astropy times. It's keeping the .time attributes as an astropy Quantity with units of time (!= Time) because there's so much complicated overhead associated with times and math is much more difficult, but storing everything needed to interconvert.
This pull request:
xarray
reader/writer pairs for stellar spectra, raw light curves, and fitted light curves. They approximately meet the standards drafted by @natashabatalha , @lili-alderson , @hrwakeford , @munazzaalam (not perfectly, but hopefully close enough to start iterating on something useful).get_times_as_astropy
andset_times_from_astropy
as a way to convert to/from astropy times. It's keeping the.time
attributes as an astropy Quantity with units of time (!= Time) because there's so much complicated overhead associated with times and math is much more difficult, but storing everything needed to interconvert.