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.5.0.post1.tar.gz (3.7 MB view details)

Uploaded Source

File details

Details for the file backtracks-0.5.0.post1.tar.gz.

File metadata

  • Download URL: backtracks-0.5.0.post1.tar.gz
  • Upload date:
  • Size: 3.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for backtracks-0.5.0.post1.tar.gz
Algorithm Hash digest
SHA256 99fa0c354848d05fb8d47fab6437a17416fd98f5763d538caf75ad81a547e2f5
MD5 1718885270e2871dc6b713fd837d6bb5
BLAKE2b-256 d9e6862371b40f0eb7d997d362787362e2fb930b8c2da80e0d6b987cde30fd95

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