# normalize_weights¶

pysm3.normalize_weights(freqs, weights)[source] [edit on github]

Normalize bandpass weights

Bandpasses are assumed to be in power units, i.e. Jy/sr and are then converted to K_RJ which are the units used everywhere else in PySM

Parameters
freqsnp.array

array of frequency in GHz, without units

weightsnp.array

array of weights, without units, if None, a top-hat bandpass (in power units) will be used

Returns
normalized_weightsnp.array

Normalized weights