Skip to main content

Sensitivity Estimation for Gravitational-Wave Observatories

Project description

Sensitivity Estimation for Gravitational-Wave Observatories

Easily build the noise and sensitivity curves for your favorite gravitational-wave detector!

This package provides tools to build time and frequency-dependent noise covariance matrices under the assumption of local stationnarity; to compute the response of a gravitational-wave detector with an arbitrary number of links, and sky average the response; to transform the noise and the signal to an arbitrary set of observables; and finally, to compute the optimal sensitivity for a given set of observables.

Install

The package is available on PyPI. You can install it with

pip install segwo

The documentation for the latest stable release can be found here.

Contributing

Report an issue

We use the issue-tracking management system associated with the project provided by Gitlab. If you want to report a bug or request a feature, open an issue at https://gitlab.com/j2b.bayle/segwo/-/issues. You may also thumb-up or comment on existing issues.

Development environment

This project uses Poetry 2 for dependency management. To install the dependencies and the project itself, run the following command:

poetry install

We recommend you install pre-commit hooks to detect errors before you even commit.

pre-commit install

You can now run commands inside a dedicated virtual environment by running

poetry run <your-command>

Refer to the Poetry documentation for more information.

Syntax

We enforce PEP 8 (Style Guide for Python Code) with Pylint syntax checking, and code formatting with Black. Both are implemented in the continuous integration system, and merge requests cannot be merged if it fails. Pre-commit hooks will also run Black before you commit.

You can run them locally with

poetry run pylint segwo
poetry run black .

Unit tests

Correction of the code is checked by the pytest testing framework. It is implemented in the continuous integration system, but we recommend you run the tests locally before you commit, with

poetry run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

segwo-1.2.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

segwo-1.2.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file segwo-1.2.0.tar.gz.

File metadata

  • Download URL: segwo-1.2.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/5.15.154+

File hashes

Hashes for segwo-1.2.0.tar.gz
Algorithm Hash digest
SHA256 5f402988bda4d569b6fefc8df8c0f93b4dcdb3b95d3bd1779665915ee1e85429
MD5 20405bc8b1814580511ff2e3d1a52600
BLAKE2b-256 ccc63da7ba696c95ebe25706c4f2e2cb2e468de1afc32ff31c6114be633d20db

See more details on using hashes here.

File details

Details for the file segwo-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: segwo-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.14 Linux/5.15.154+

File hashes

Hashes for segwo-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a858d8863ce185fbba1168ad770113509651e11534bc5338c6152997eb9037d0
MD5 6f350029d4e3ce774e27e031bc3d33e5
BLAKE2b-256 ada461630729bc1db799980b8fc87b05f9b308a5cd69111f7b4dd996b2bf46dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page