tidy3d.ChebSampling#
- class ChebSampling[source]#
Bases:
FrequencySamplingSpecChebyshev node frequency sampling specification.
- Parameters:
num_points (int) – Number of Chebyshev nodes for frequency sampling.
Attributes
Methods
sampling_points(freqs)Compute Chebyshev node frequency sampling points.
- num_points#
- sampling_points(freqs)[source]#
Compute Chebyshev node frequency sampling points.
- Parameters:
freqs (FreqArray) – Target frequency array. Sampling points will span from min(freqs) to max(freqs).
- Returns:
Array of Chebyshev node frequency points (second kind) in ascending order.
- Return type:
FreqArray