get_frequency_response¶
- qugradlab.pulses.filtering.get_frequency_response(time_response: ndarray) Any[source]¶
Adds zeros as padding to a time signal before performing descrete Fourier transform. The zero padding allows the discrete convolution theorem to be used.
- Parameters:
time_response (NDArray[Shape[..., n_samples], np.float64]) – The time response function to be transformed.
- Returns:
The frequency response function.
- Return type:
NDArray[Shape[…,
2*n_samples], np.complex128]