filter_and_resample_pwc

The Boulder Opal Toolkits are currently in beta phase of development. Breaking changes may be introduced.

filter_and_resample_pwc(pwc, cutoff_frequency, segment_count, *, name=None)

Filter a piecewise-constant function with a sinc filter and resamples it again.

Parameters
  • pwc (Pwc) – The function to be filtered.

  • cutoff_frequency (float) – Upper limit of the range of frequencies that you want to preserve in your function.

  • segment_count (int) – The number of segments of the resampled filtered function.

  • name (str, optional) – The name of the node.

Returns

The filtered and resampled piecewise-constant function.

Return type

Pwc

See also

convolve_pwc()

Create the convolution of a piecewise-constant function with a kernel.

discretize_stf()

Create a piecewise-constant function by discretizing a sampleable function.

sinc_convolution_kernel()

Create a convolution kernel representing the sinc function.