Closed
Description
Want to be able to instantiate a Spectrum1D object with bin edges instead of bin centers.
For example, a particularly nasty X-ray spectrum might have:
import numpy as np
import astropy.units as u
ebin_edges = np.array([1.0, 2.0, 2.3, 3.0]) * u.keV
bin_counts = np.array([5.0, 8.0, 6.0]) # dimensionless "counts"