do_integrate_filters

msaexp.spectrum.do_integrate_filters(file, z=0, RES=None, fnumbers=[239, 205, 362, 363, 364, 365, 366, 370, 371, 375, 376, 377, 379, 380, 381, 382, 383, 384, 385, 386], rest_fnumbers=[120, 121, 218, 219, 270, 271, 272, 274, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 414, 415, 416], scale_kwargs={'nspline': 31, 'order': 0, 'scale_disp': 1.3, 'sys_err': 0.02, 'vel_width': 100}, beta_kwargs={'dla_wrange': (0.118, 0.135), 'fit_restart': False, 'make_plot': False, 'ref_wave': 0.155, 'wrange': ((0.14, 0.186), (0.1955, 0.258))})[source]

Integrate a spectrum through a list of filter bandpasses

Parameters
filestr

Spectrum filename

zfloat

Redshift

RESeazy.filters.FilterFile

Container of filter bandpasses

fnumberslist

List of observed-frame f_numbers

rest_fnumberslist

List of rest-frame f_numbers to evaluate at z

scale_kwargsdict, None

If provided, initialize the spectrum by first passing through calc_uncertainty_scale

beta_kwargsdict

Compute rest-frame UV slope and DLA equivalent width with measure_uv_slope

Returns
——-
fdictdict

“horizontal” dictionary with keys for each separate filter

sedTable

“vertical” table of the integrated flux densities