Skip to main content

LISA GW Response

LISA GW Response is a Python package computing the instrumental response to gravitational-waves, and produce a gravitational-wave (GW) file compatible with LISA Instrument and LISANode.

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.in2p3.fr/lisa-simulation/gw-response/-/issues. You may also thumb-up or comment on existing issues.

Development environment

Start by cloning the project repository,

git clone git@gitlab.in2p3.fr:lisa-simulation/gw-response.git
cd gw-response

This project uses Poetry 2 to manage dependencies and packaging. Poetry can prepare a virtual environment for developement, and is used to build the package.

To run a command inside the project development environement, use

poetry run <YOUR-COMMAND>

You can also explicitely create a virtual environement with

poetry install

You can then activate your environement or setup VS Code to use it.

Remember to synchronize your environement whenever the dependencies change, using the command

poetry sync

Refer to the Poetry documentation for more information.

Pre-commit hooks

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

poetry run pre-commit install

You can then run the pre-commit hooks manually with

poetry run pre-commit run --all-files

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 lisaorbits
poetry run mypy lolipops
poetry run black --check .

Note that VS Code can be configured to run Black when saving a file, and to display Pylint errors in the editor.

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

Note that VS Code can be configured to run the tests easily.

VS Code tasks

Convenient scripts are available to run in VS Code for common developement or maintenance tasks, such as running the pre-commit hooks, formatting with Black, building the documentation or building the package.

They are located in ".vscode/tasks.json". In VS Code, you can run them by opening the command palette (Cmd + Shift + P) and choosing "Tasks: Run Task...".

Workflow

The project's development workflow is based on the issue-tracking system provided by Gitlab, as well as peer-reviewed merge requests. This ensures high-quality standards.

Issues are solved by creating branches and opening merge requests. Only the assignee of the related issue and merge request can push commits on the branch. Once all the changes have been pushed, the "draft" specifier on the merge request is removed, and the merge request is assigned to a reviewer. He can push new changes to the branch, or request changes to the original author by re-assigning the merge request to them. When the merge request is accepted, the branch is merged onto master, deleted, and the associated issue is closed.

Use policy

The project is distributed under the 3-Clause BSD open-source license to foster open science in our community and share common tools. Please keep in mind that developing and maintaining such a tool takes time and effort. Therefore, we kindly ask you to

  • Cite the DOI (see badge above) in any publication
  • Acknowledge the authors (below)
  • Acknowledge the LISA Simulation Expert Group in any publication

Do not hesitate to send an email to the authors for support. We always appreciate being associated with research projects.

Authors

Release files for lisagwresponse 3.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lisagwresponse 3.0.2
File Size Uploaded
lisagwresponse-3.0.2.tar.gz 22.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lisagwresponse 3.0.2
File Interpreter ABI Platform
lisagwresponse-3.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 44.9 kB

Release files / lisagwresponse-3.0.2.tar.gz

Download URL lisagwresponse-3.0.2.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1ee16b8e337a37ce9bf3e74b8d44600c97159486d4981f05dd22b8832c08a6c7
BLAKE2b-256 checksum
How to use checksums
5a67b0e557918c2ebc5b1419972e235529efe6418d1dee59df5a5dd57139200a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.12 Linux/5.14.0-503.15.1.el9_5.x86_64

Release files / lisagwresponse-3.0.2-py3-none-any.whl

Download URL lisagwresponse-3.0.2-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1877675beeec1692ba3af21f709bc03a4a52f6a4e99d4f1786e798db4ff0a77a
BLAKE2b-256 checksum
How to use checksums
0d3b46c8b64655815df2531105ddbb48201c6262d6dc2504759e214e95a5fb06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.12.12 Linux/5.14.0-503.15.1.el9_5.x86_64

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.5.0

2 release files

2.4

3 release files

2.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.0

2 release files

1.1

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page