QTile#
- class gwpy.signal.qtransform.QTile( )[source]#
Bases:
QBaseRepresentation of a tile with fixed Q and frequency.
Attributes Summary
The bandwidth for tiles in this row.
The number of tiles in this row.
The
(left, right)padding required for the IFFT.The size of the frequency-domain window for this row.
Methods Summary
Return the index array of interesting frequencies for this row.
Generate the bi-square window for this row.
transform(fseries, *[, norm, epoch])Calculate the energy
TimeSeriesfor the given fseries.Attributes Documentation
Methods Documentation
- get_data_indices() ndarray[tuple[int], dtype[int64]][source]#
Return the index array of interesting frequencies for this row.
- get_window() NDArray[numpy.float64][source]#
Generate the bi-square window for this row.
- Returns:
- window
numpy.ndarray
- window
- transform(
- fseries: FrequencySeries,
- *,
- norm: bool | str = True,
- epoch: float | LIGOTimeGPS | None = None,
Calculate the energy
TimeSeriesfor the given fseries.- Parameters:
- fseries
FrequencySeries The complex FFT of a time-series data set.
- norm
bool,str Normalize the energy of the output by the median (if
Trueor'median') or the'mean', ifFalsethe output is the energy (power) of the Q-tranform.- epoch
LIGOTimeGPS,float The epoch of these data, only used for metadata in the output
TimeSeries, and not requires if the inputfserieshas the epoch populated.
- fseries
- Returns:
- energy
TimeSeries A
TimeSeriesof the energy from the Q-transform of this tile against the data.
- energy