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