frequency_phasor§
- typed_lisa_toolkit.frequency_phasor(frequencies: AT, amplitudes: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], phases: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]]) FrequencyPhasor[Axis[AT]][source]§
- typed_lisa_toolkit.frequency_phasor(frequencies: AxisT, amplitudes: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], phases: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]]) FrequencyPhasor[AxisT]
Build a
FrequencyPhasor.- Parameters:
frequencies – Either an
Axis, aLinspace, or a 1Darrayof positive frequencies. In the last two cases, the axis will be automatically created with the frequencies as values.amplitudes (
Array) – Either an array of shape(n_batch, n_channels, n_harmonics, 1, Nf)whereNfis the size offrequencies, or a 1D array of shape(Nf,)that will be broadcasted to the shape(1, 1, 1, 1, Nf). Must be of the same shape asphases.phases (
Array) – Either an array of shape(n_batch, n_channels, n_harmonics, 1, Nf)whereNfis the size offrequencies, or a 1D array of shape(Nf,)that will be broadcasted to the shape(1, 1, 1, 1, Nf)Must be of the same shape asamplitudes.
Note
See the general description of the shape convention.