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