zkbt / chromatic

Tools for visualizing spectrosopic light curves, with flux as a function of wavelength and time.
MIT License
14 stars 4 forks source link

Raise warning if binning before normalizing. #184

Closed zkbt closed 2 years ago

zkbt commented 2 years ago

Unless we add something more clever to .bin, there's a good chance that uncertainty-weighting could go awry if binning on unnormalized data that span a broad range of uncertainty levels in raw counts(/flux/intensity/whatevers). Let's warn folks trying to bin more than N=? wavelengths together that unnormalized raw data may give bad uncertainty weighting.