LISA Python Constants provides values sanctioned by the LISA Consortium for physical constants and mission parameters.
Project description
LISA Constants
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.
- Documentation for the latest stable release is available at https://lisa-simulation.pages.in2p3.fr/constants
- Documentation for the current development version is available at https://lisa-simulation.pages.in2p3.fr/constants/master
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 python-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
Contact
- Jean-Baptiste Bayle (j2b.bayle@gmail.com)
- Maude Lejeune (lejeune@apc.in2p3.fr)
- Aurelien Hees (aurelien.hees@obspm.fr)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lisaconstants-1.2.tar.gz
.
File metadata
- Download URL: lisaconstants-1.2.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b84e02b09c64ca9d19d131d51ccc0a98a1c998f4787baf80871d9f38335b384c |
|
MD5 | 125bc31e8b2a50763db1fccd0e53e370 |
|
BLAKE2b-256 | 1ad9cb649f05e32d0a1a4ed7ae2a64403f3c86642bf30da1ef343bfb62bb9032 |
File details
Details for the file lisaconstants-1.2-py3-none-any.whl
.
File metadata
- Download URL: lisaconstants-1.2-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e79db9af3c9eed730817a63b6681017654418ec65a441328ca0fbd3517ba0294 |
|
MD5 | 2efd9d5791b731c8e87f97dab864914b |
|
BLAKE2b-256 | d24c8bb8b22b1311a01d61878008e69bedaeafc0175f80b4d6772eee230cdfeb |