gwpy
gwpy copied to clipboard
Package for analysing and characterising gravitational wave data in python
Replace a simple Plot with BodePlot for plotting the magnitude and phase of a transfer function measurement Closes #1526
This PR fixes #1475 by simplifying the `{TimeSeries.FrequencySeries}.from_lal` conversion method. The LAL series object doesn't hold enough information to properly seed a `Channel` object, and supports more data types than...
Is it possible to add smoothing (a running average) to the list of methods in gwpy's [TimeSeries](https://gwpy.github.io/docs/stable/api/gwpy.timeseries.TimeSeries.html)? Something similar to [rolling.mean()](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.window.rolling.Rolling.mean.html) in pandas. We think [LASSO's](https://ldas-jobs.ligo-la.caltech.edu/~detchar/summary/day/20200106/detchar/lasso/) results (in its current...
This PR splits `TimeSeries.gate()` into two functions: * `TimeSeries.find_gates()` - find peaks in whitened timeseries and returns the segments to gate * `TimeSeries.gate()` - now only calls `TimeSeries.find_gates()` and `TimeSeries.mask()`...
This PR fixes a typo in the documentation, fixes #1522.
This PR closes #1495 by replacing all usage of `gwpy.testing.utils.skip_missing_dependency` with `pytest.mark.requires` from pytest-requires, and deprecates the former (but doesn't remove it).
In case no frames match a time segment, it would be handy if reading by LALframe of a gwf file could return an empty ndarray instead of None for the...
The `TestCliTransferFunction` test case is emitting the following warning: ```pytb $ python -m pytest gwpy/cli/tests/test_transferfunction.py -W "ignore:distutils Version::distutils" ============================= test session starts ============================== platform linux -- Python 3.10.4, pytest-7.1.2, pluggy-1.0.0...
This PR ensures that a `ValueError` is returned when the user attempts to use `frequencyseries.FrequencySeries.to_pycbc()` in cases when the starting frequency is not `0 Hz`. When a PyCBC frequency series...
For the Rayleigh grams, in addition to the useful Rayleigh specgram, I would like to make a Rayleigh spectrum overlayed on the instantaneous ASD. Do you have a reference for...