Sign inSign up

moeyensj/thor

By moeyensj

•Updated 7 months ago

Tracklet-less Heliocentric Orbit Recovery

Image
1

4.7K

moeyensj/thor repository overview

banner

⁠THOR

Tracklet-less Heliocentric Orbit Recovery

Python 3.11+ License DOI
docker - Build, Lint, and Test conda - Build, Lint, and Test pip - Build, Lint, Test, and Coverage pdm - Build, Lint, Test, and Coverage pdm - Integration Tests pre-commit Coverage Status Docker Pulls
Anaconda-Server Badge Anaconda-Server Badge Anaconda-Server Badge

Warning: THOR is still in very active development.

⁠Installation

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_py311 -c moeyensj thor python=3.11

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

⁠pip

Install THOR and its dependencies:

pip install .

To include development dependencies (ruff, pytest, etc.):

pip install ".[dev]"
⁠pdm

Install THOR and its dependencies:

pdm install

To include development dependencies:

pdm install -G dev

You should now be able to import THOR:

>>> import thor

Tag summary

Content type

Image

Digest

sha256:2c6cd513e…

Size

3.9 GB

Last updated

7 months ago

docker pull moeyensj/thor