Skip to main content

PyTDI

PyTDI is a Python package that provides a toolset to perform symbolical and numerical time-delay interferometry (TDI) calculations. It can be used to define arbitrary linear combination of time-shifted signals (i.e., combinations), symbolically handle these combinations, and numerically evaluate these combinations against data.

PyTDI also provides ready-to-use standard TDI combinations for the LISA mission.

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

Development environment

We use uv as a package and dependency manager.

To setup your development environment, first clone the repository.

git clone git@gitlab.in2p3.fr:LISA/LDPG/wg6_inrep/pytdi.git
cd pytdi

We recommend you install the pre-commit hooks with

uv run pre-commit install

You can then run commands with

uv run <YOUR-COMMAND>

To manually create your virtual environement with the PyTDI dependencies, use

uv venv
uv sync

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. They 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, mypy, black and pytest

We enforce PEP 8 (Style Guide for Python Code) with Pylint syntax checking, and testing of the code via unit and integration tests with the pytest framework. We use mypy as static type checker, and Black as the syntax formatter.

All in the continuous integration system and pre-commit hooks. Only if all tests pass successfully a merge request can be merged.

VS Code tasks for each of these tools are avaialble. Open the command palette, choose "Run task", and choose a task to run.

How to cite

By releasing PyTDI as an open source software package we want to foster open science and enable everyone to use it in their research free of charge. However, please keep in mind that developing and maintaining such a tool takes time and effort. Hence, we would appreciate to be associated with you research:

  • Please cite the DOI (see badge above), and acknowledge the authors in any publication that uses PyTDI
  • Do not hesitate to send an email for support and/or collaboration

Download files

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

Source Distribution

pytdi-2.2.0.tar.gz (460.7 kB view details)

Uploaded Source

Built Distribution

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

pytdi-2.2.0-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file pytdi-2.2.0.tar.gz.

File metadata

  • Download URL: pytdi-2.2.0.tar.gz
  • Upload date:
  • Size: 460.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pytdi-2.2.0.tar.gz
Algorithm Hash digest
SHA256 d532df14aad70d62a4a481d53152d3ce2e53f990783feb45808d2d441618b6f5
MD5 38d7e2e14ed8b77c5bdea553649f9f2c
BLAKE2b-256 539dfba1477fbb879aab5f51a24d8336b435ad0b6870b3387f92c881f747f918

See more details on using hashes here.

File details

Details for the file pytdi-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: pytdi-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pytdi-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6efef7691665e90dd1a095e9b0f34b2c3279aa0f6b2cbf3a1e4c021863e749c
MD5 d216a4a64b00d2655d31b98a4e5c55ab
BLAKE2b-256 4f114da6aa91167637e098db88442efbdc764860fb9b8c284dd8359388ecbce8

See more details on using hashes here.

Release history Release notifications | RSS feed

2.2.1

2 files

This release

2.2.0 This release

2 files

2.1.0

2 files

2.0.0

2 files

1.4.0

2 files

1.3.1

2 files

1.3

2 files

1.2.1

1 file

1.2

1 file

1.1

2 files

1.0

1 file

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