Skip to content
/ thor Public
forked from spenczar/thor

Tracklet-less Heliocentric Orbit Recovery

License

Notifications You must be signed in to change notification settings

KatKiker/thor

This branch is 51 commits ahead of spenczar/thor:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ffc8ab3 · Aug 16, 2021
May 25, 2021
May 23, 2021
Jun 28, 2021
Jul 23, 2021
May 25, 2021
Aug 16, 2021
Jul 23, 2021
May 6, 2021
May 25, 2021
May 17, 2021
Feb 19, 2018
May 25, 2021
May 21, 2021
May 25, 2021
May 6, 2021
Jul 23, 2021
Jun 3, 2021
Jul 23, 2021
Jul 23, 2021
May 24, 2021
Jul 15, 2021
Aug 16, 2021

Repository files navigation

banner

THOR

Tracklet-less Heliocentric Orbit Recovery
Build Status Build Status Coverage Status Docker Pulls
Python 3.7+ License DOI
Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

Installation

Warning: The THOR code is still in very active development.

The corresponding notebook repository can be found at: https://github.com/moeyensj/thor_notebooks

The following installation paths are available:
Anaconda
Docker
Source

Anaconda

thor can be downloaded directly from anaconda:
conda install -c moeyensj thor

Or, if preferred, installed into its own environment via:
conda create -n thor_py38 -c moeyensj thor python=3.8

Docker

A Docker container with the latest version of the code can be pulled using:

docker pull moeyensj/thor:latest

To run the container:

docker run -it moeyensj/thor:latest

The THOR code is installed the /projects directory, and is by default also installed in the container's Python installation. To access the code in Python:

(base) root@202110177eee:/# python
Python 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 19:07:31) 
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import thor
>>> 

Source

Clone this repository using either ssh or https. Once cloned and downloaded, cd into the repository.

To install THOR in its own conda enviroment please do the following:

conda create -n thor_py38 -c defaults -c conda-forge -c astropy -c moeyensj --file requirements.txt python=3.8

Or, to install THOR in a pre-existing conda environment called env:

conda activate env
conda install -c defaults -c conda-forge -c astropy -c moeyensj --file requirements.txt

Once pre-requisites have been installed using either one of the options above, then:

python setup.py install

Or, if you are actively planning to develop or contribute to THOR, then:

python setup.py develop --no-deps

You should now be able to start Python and import THOR.

┌─(thor_py38)[moeyensj][±][main ✓][~/projects/thor]
└─▪ python 
Python 3.8.8 (default, Apr 13 2021, 19:58:26) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import thor
>>> 

If you would like to run Jupyter Notebook or Juptyter Lab with THOR please see the installation instructions in the THOR notebooks repository.

About

Tracklet-less Heliocentric Orbit Recovery

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.8%
  • Other 1.2%