Skip to main content

Python package to fit relative astrometry with background star motion tracks.

Project description

https://github.com/wbalmer/backtracks/raw/main/docs/_static/backtracks-logo-light.svg

backtracks

https://img.shields.io/pypi/v/backtracks https://github.com/wbalmer/backtracks/actions/workflows/main.yml/badge.svg https://img.shields.io/readthedocs/backtracks https://img.shields.io/github/license/wbalmer/backtracks

backtracks is a python package to fit relative astrometry with background helical motion tracks, to discern directly imaged planets from contaminant sources

The code is written and developed by Gilles Otten (@gotten), William Balmer (@wbalmer), and Tomas Stolker (@tomasstolker).

Documentation

Documentation can be found at http://backtracks.readthedocs.io.

Tutorial

A Jupyter notebook will show you how to use backtracks by reproducing the result in Nielsen et al. (2017) and Wagner et al. (2022) for the case of the former exoplanet candidate around HD 131339 A.

Details

Installation

Currently requires and python 3.9-3.11 ish and astropy, corner, dynesty, matplotlib, numpy, novas, novas_de405, and their dependencies. Note that novas is not supported on Windows. You can create a working environment using conda+pip via a few lines of code:

$ conda create python=3.11 -n backtrack
$ conda activate backtrack
$ conda install pip
$ pip install backtracks

Or, to clone the repo and install in development mode (we recommend this, as the code is a work in progress and you can easily fix bugs you will likely encounter this way):

$ conda create python=3.11 -n backtrack
$ conda activate backtrack
$ conda install pip
$ git clone https://github.com/wbalmer/backtrack.git
$ cd backtrack
$ pip install -e .

Then, test your installation:

>>> from backtracks import System

Project details


Download files

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

Source Distribution

backtracks-0.6.0.tar.gz (9.6 MB view details)

Uploaded Source

Built Distribution

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

backtracks-0.6.0-py3-none-any.whl (359.3 kB view details)

Uploaded Python 3

File details

Details for the file backtracks-0.6.0.tar.gz.

File metadata

  • Download URL: backtracks-0.6.0.tar.gz
  • Upload date:
  • Size: 9.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for backtracks-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ca64ff7fa2365c564306e42f5dfe1683d1d6898cf4398deea1533b8e8331743b
MD5 256314359e6e7538955fc56ab59f041f
BLAKE2b-256 d304f013d023d8efee6fcd7ded575ea7a01459e2c5d077a83b62fc6be4471ada

See more details on using hashes here.

File details

Details for the file backtracks-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: backtracks-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 359.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for backtracks-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8df9e2ac8f1ad8c53abc5cea359336753fb115fd3da65ab2ff629f071b900ffc
MD5 07c512e1f2dc1e55eff1d42b41f51aa0
BLAKE2b-256 be94670ca2c465910c9a555b6e5a6f72f444db90f7c8c78857d64e315031b6c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page