Duncan Macleod

Results 83 issues of Duncan Macleod

Attempting to create a GWpy colourbar for an `Axes` attached directly to a `matplotlib.figure.Figure` (rather than a `gwpy.plot.Plot`) fails in a fairly incomprehensible way: ```python >>> import gwpy >>> import...

dep:matplotlib
api:patch
gwpy.plot

This PR address some (non-fatal) errors and warnings emitted by sphinx when building the documentation.

This PR extends #1714 by adding a Conda-based Python 3.12 CI build/test job.

continuous-integration

This PR patches the `conda` CI workflow to use `conda` instead of `mamba`, but with the `libmamba` solver, which means its basically the same, but without increased risk of CLI...

continuous-integration

At the latest Virgo computing (VDAS) meeting, #1550 was discussed. Currently users can manually specify `format="gwf.framel"` to set the default frame library, but it might nice to be able to...

issue:feature-request

This PR refactors `TimeSeries.resample` to make it simpler internally, and to better track scipy's default behaviours, and improves the tests to match.

The test suite is emitting the following warnings relating to the use of the deprecated `nyq` keyword to a few `scipy.signal` filter design functions: ``` ../../../.conda/envs/gwpy-nightly-3.9/lib/python3.9/site-packages/gwpy/signal/tests/test_filter_design.py:52 ../../../.conda/envs/gwpy-nightly-3.9/lib/python3.9/site-packages/gwpy/signal/tests/test_filter_design.py:52 ../../../.conda/envs/gwpy-nightly-3.9/lib/python3.9/site-packages/gwpy/signal/tests/test_filter_design.py:52 ../../../.conda/envs/gwpy-nightly-3.9/lib/python3.9/site-packages/gwpy/signal/tests/test_filter_design.py:52 /home/duncan.macleod/.conda/envs/gwpy-nightly-3.9/lib/python3.9/site-packages/gwpy/signal/tests/test_filter_design.py:52:...

gwpy.signal
dep:scipy
continuous-integration

GWpy has an implementation of a bilinear transform for ZPK filter coefficients. This was written before [`scipy.signal.bilinear_zpk`](https://docs.scipy.org/doc/scipy-1.1.0/reference/generated/scipy.signal.bilinear_zpk.html) was available, but should probably now just be dropped (or hollowed out with...

gwpy.signal
dep:scipy

The `TimeSeries.fetch_open_data()` method discovers a series of URLs to download from gwosc.org and then downloads them in serial, meaning examples like the `open-data-spectrogram.py` example can take a _long_ time. It...

gwpy.timeseries
issue:feature-request

I'm concerned about the default `unit='Hz'` for `TimeSeries.zpk()`, which doesn't work for the 'default' use case of something like ```python zpk = filter_design.lowpass(...) data.zpk(zpk) ``` In the above case, the...

gwpy.signal
gwpy.timeseries
dep:scipy