calcbinflux¶
- synphot.synphot_utils.calcbinflux(len_binwave, i_beg, i_end, avflux, deltaw)¶
Sum over each bin.
- Parameters:
- len_binwaveint
Number of wavelength bin centers.
- i_beg, i_endarray-like
Locations of bin edges in
deltaw
.- avfluxarray-like
Average flux associated with
deltaw
.- deltawarray-like
Delta of merge wavelengths (native + centers + edges). Values are in ascending order.
- Returns:
- binfluxarray-like
Integrated flux associated with given bins in ascending order.
- intwavearray-like
Integrated delta wavelength associated with
binflux
.