stft§
- typed_lisa_toolkit.stft(frequencies: FreqAxisT, times: TimeAxisT, entries: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], *, sparse_indices: None = None) STFT[Grid2DCartesian[FreqAxisT, TimeAxisT]][source]§
- typed_lisa_toolkit.stft(frequencies: FAT, times: TAT, entries: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], *, sparse_indices: None = None) STFT[Grid2DCartesian[Axis[FAT], Axis[TAT]]]
- typed_lisa_toolkit.stft(frequencies: FreqAxisT, times: TimeAxisT, entries: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], *, sparse_indices: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]]) STFT[Grid2DSparse[FreqAxisT, TimeAxisT]]
- typed_lisa_toolkit.stft(frequencies: FAT, times: TAT, entries: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]], *, sparse_indices: Array[Any, ModuleType] | ndarray[tuple[Any, ...], dtype[Any]]) STFT[Grid2DSparse[Axis[FAT], Axis[TAT]]]
Build an
ShortTimeFourierTransform.- Parameters:
frequencies (
FreqAxisT) – Either aLinspaceor a 1Darrayof positive frequencies.times (
TimeAxisT) – Either aLinspaceor a 1Darrayof time points.entries (
Array) – For dense grid: an array of shape(n_batch, 1, 1, 1, Nf, Nt)whereNfandNtare the sizes offrequenciesandtimesrespectively. For sparse grid: an array of shape(n_batch, 1, 1, 1, num_sparse_points)wherenum_sparse_pointsis the number of rows insparse_indices.
Note
See the general description of the shape convention for entries.