energy_axis_to_ebounds

gammapy.utils.fits.energy_axis_to_ebounds(energy)[source]

Convert Quantity to OGIP EBOUNDS extension.

See https://heasarc.gsfc.nasa.gov/docs/heasarc/caldb/docs/memos/cal_gen_92_002/cal_gen_92_002.html#tth_sEc3.2