resample_bandpass

pysm3.resample_bandpass(nu, bnu, num_wafers: int = 1, bootstrap_size: int = 128, random_seed: int | None = None) list[dict][source] [edit on github]

Resample an input bandpass to create multiple “wafer” variations.

Parameters:
nuarray_like

Input frequencies in GHz (strictly increasing).

bnuarray_like

Input weights (non-negative).

num_wafersint

Number of resampled bandpasses to generate.

bootstrap_sizeint

Number of bootstrap samples (also used as the output grid size).

random_seedint, optional

Seed for deterministic output.

Returns:
list of dict

Each dict has keys: ‘frequency’, ‘weights’, ‘centroid’, ‘bandwidth’.