Skip to main content

LISA Python Constants provides values sanctioned by the LISA Consortium for physical constants and mission parameters.

Project description

LISA Constants

pipeline status DOI

LISA Constants is a Python package providing values sanctioned by the LISA Consortium for physical constants and mission parameters. LISA Constants is intended to be consistently used by other pieces of software related to the simulation of the instrument, of gravitational wave signals, and others.

We provide support for Python projects (as a package), C projects (as a header file), and C++ projects (as a header file). See below how to use the package.

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/constants/-/issues. You may also thumb-up or comment on existing issues.

Development environment

We strongly recommend to use Python virtual environments.

To setup the development environment, use the following commands:

git clone git@gitlab.in2p3.fr:lisa-simulation/constants.git
cd constants
python -m venv .
source ./bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

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.

Pylint and unittest

We enforce PEP 8 (Style Guide for Python Code) with Pylint syntax checking, and correction of the code using the pytest testing framework. Both are implemented in the continuous integration system.

You can run them locally

pylint lisaconstants/*.py
python -m pytest

Use policy

By releasing LISA Constants as an open source software package we want to foster open science and enable everyone to use it in their research free of charge. To acknowledge the authors of this tool and to ensure that consistent, reproducible, and traceble constant values are used in your project, please cite or add the version-specific DOI (click on the badge above).

Authors

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

lisaconstants-1.3.6.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

lisaconstants-1.3.6-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file lisaconstants-1.3.6.tar.gz.

File metadata

  • Download URL: lisaconstants-1.3.6.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.13

File hashes

Hashes for lisaconstants-1.3.6.tar.gz
Algorithm Hash digest
SHA256 9f8c1d1dce991b8824a96ad1bb939b09ddf2c7f8c0cead5023e1cf2bff9befa5
MD5 4372f6ede808dfe61e0029f6edb7c19c
BLAKE2b-256 fcc82eec70c2ef3ceb96bb9f349742d8b0aa3ff07bfdb974dff54df0b1f03abf

See more details on using hashes here.

File details

Details for the file lisaconstants-1.3.6-py3-none-any.whl.

File metadata

File hashes

Hashes for lisaconstants-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 65c22c441b865ae67b132c60665f23e2dc369fa97723db8de318e38be4b9fd70
MD5 8d01f2f65a40fd3fd74941f07616da4c
BLAKE2b-256 57ea7a13750a8b796978d6f7294f20cd113f380919412b298fbc6ee10467d29e

See more details on using hashes here.

Supported by

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