Skip to main content

MATRIX ToolKit

ToolKit for Multi-phAse Transits Recovery from Injected eXoplanets

MATRIX is an injection-recovery software prepared to create grids of scenarios with a set of periods, radii and epochs of synthetic transiting exoplanet signals in a provided light curve. The typical injection-recovery execution has consisted in the usage of 2 dimensional scenarios, where only one epoch (random or hardcoded) was used for each period and radius. Even though this is a fair approach when the computational power is very limited, this reduces the accuracy of the experiment as the recoverability might vary depending on the transit epoch and hence, the places where the transits would appear in the curve. E.g: A transit would be clearly recovered falling in a quite region of the curve but not easy to recover when it happened close to a flare or a curve gap. A multi-phase analysis can now be done with MATRIX easily by only setting a few parameters in a configuration file and running one line of code.

Just execute the command below this text. Take into accont that the user-properties.yaml file needs to include several mandatory options. Please refer to the example files under the example directory.

python3.8 -m tkmatrix --properties user-properties.yaml

For the complete set of properties available for use please look at the root properties.yaml

By-products

  • a_tls_report.csv: A file containing a csv formatted output given the orbital period, the radius and the epoch besides the outputs with found status, SNR and SDE of the results.
  • a_tls_report.png: A file with an automatically generated plot from the csv report. You are free to build your own plot from the report if you feel like the one provided by MATRIX is not good enough for your purposes.
  • RV injection and recovery: The RV properties block runs the same analysis on radial velocities, using ravex as its engine. The periodogram search is weighted by rv_err, so recovery rates may differ from earlier versions, especially when the errors underestimate the real scatter. The search starts at MIN_PERIOD_SEARCH and a signal counts as found within PERIOD_MATCH_TOLERANCE of the injected period. Both can be set in the RV block, and default to the global values. The peak must also have a false alarm probability below RV.FAP_THRESHOLD, 0.01 by default, as in ravex. A value above 1 disables this check. a_rv_report.csv gives the probability in its fap column. The RV file needs the columns bjd, rv and rv_err. When working from a git checkout, run git submodule update --init --recursive to get ravex.
  • Injected curves (csv files): In case you want to study the injected curves generated for the recovery, you can set a flag to the tool so that it keeps the files after it finishes. If you don't provide that flag, the files will be removed at the end of the execution.

Citation

We are planning to write a scientific paper based on the usage of MATRIX. In the meantime, we encourage the users to cite the Software DOI in their research:

@MISC{2022zndo...6570831D,
       author = {{D{\'e}vora-Pajares}, Mart{\'\i}n and {Pozuelos}, Francisco J.},
        title = "{MATRIX: Multi-phAse Transits Recovery from Injected eXoplanets}",
     keywords = {exoplanets, transits, injection \& recovery, python},
 howpublished = {Zenodo},
         year = 2022,
        month = may,
          eid = {10.5281/zenodo.6570831},
          doi = {10.5281/zenodo.6570831},
      version = {0.3.17},
    publisher = {Zenodo},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2022zndo...6570831D},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

Documentation

For more information please visit https://tkmatrix.readthedocs.io/.

Metadata

Release files for tkmatrix 0.15.1

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

Source distribution (sdist)

Source distribution for tkmatrix 0.15.1
File Size Uploaded Provenance Actions
tkmatrix-0.15.1.tar.gz 79.0 kB Without provenance Details for tkmatrix-0.15.1.tar.gz

Built distribution (wheel)

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

Total release size: 163.6 kB

Release files / tkmatrix-0.15.1.tar.gz

Download URL tkmatrix-0.15.1.tar.gz
Size 79.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9fd70d7518c2414fa717f6e790ccb988948d416865c467c90ba53740a2df9289
BLAKE2b-256 checksum
How to use checksums
f8814d3b689aba8e4ec3ea5872c0fec2baa775dab4d15abd937c2535a8daa6af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / tkmatrix-0.15.1-py3-none-any.whl

Download URL tkmatrix-0.15.1-py3-none-any.whl
Size 84.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37a72797a2039b03876fa15c7e2084c036780e773265298332a415939d798226
BLAKE2b-256 checksum
How to use checksums
20a16754597ced799ee0527ddc0f42f3b19eda75ca7ad6a2215bcc783b1799a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for tkmatrix 0.15.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.15.1 This release

2 release files No provenance

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