LISA Glitch generates glitch files to be injected in the instrument simulation with LISANode.
Project description
LISA Glitch
LISA Glitch is a Python package that generates glitch files compatible with LISA Instrument and LISANode. A glitch files contain one or more signals, which are injected in the instrumental simulation at various injections points (see below).
- Documentation for the latest stable release is available at https://lisa-simulation.pages.in2p3.fr/glitch
- Documentation for the current development version is available at https://lisa-simulation.pages.in2p3.fr/glitch/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/glitch/-/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/glitch.git
cd glitch
python -m venv .
source ./bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -e .
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 lisaglitch/*.py
python -m pytest
Acknowledgements
The implementation of the flow, which is used for learning and sampling from the LISA Pathfinder distribution, is heavily based on the neural spline flows implementation provided by the authors: nsflows and also its orignal implentation: nsf. With some simplifications borrowed from here and here.
Use policy
There are currently no licenses associated with this project. However, we would like to foster open science in our community and share common tools. To this end, we are making LISA Glitch available for full members of the LISA Consortium to use in their research free of charge.
However, please keep in mind that developing and maintaining such a tool takes time and effort. Therefore, we would appreciate to be associated with you research.
- Please cite the DOI (see badge above) and acknowledge the authors (below) in any publication
- Do not hesitate to send an email for support and collaboration
Contact
- Jean-Baptiste Bayle (j2b.bayle@gmail.com)
- Eleonora Castelli (eleonora.castelli@nasa.gov)
- Natalia Korsakova (korsakova@apc.in2p3.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.