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.16.0

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.16.0
File Size Uploaded Provenance Actions
tkmatrix-0.16.0.tar.gz 81.0 kB Without provenance Details for tkmatrix-0.16.0.tar.gz

Built distribution (wheel)

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

Total release size: 167.8 kB

Release files / tkmatrix-0.16.0.tar.gz

Download URL tkmatrix-0.16.0.tar.gz
Size 81.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2a3ad50efffa47ac117affe8af6624e0ea72a643702f80d03d8ce1ae5034dca4
BLAKE2b-256 checksum
How to use checksums
dd60dc93ab574a29f7869e4d3133d6560e8ac90caf013fb8d91f8fdbbbf8e95f
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.16.0-py3-none-any.whl

Download URL tkmatrix-0.16.0-py3-none-any.whl
Size 86.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b2a68fc8c22e83c9b16d7021a352df21a040ea9cef2c26ae8e5f07e820bb74c
BLAKE2b-256 checksum
How to use checksums
79b82b9fe92125087ba085326bdb2a84bd39382c29f7b82301ecbcdffc0d6469
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.16.0

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.16.0 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