Tracklet-Less Heliocentric Orbit Recovery

https://github.com/moeyensj/thor

banner

THOR

Tracklet-less Heliocentric Orbit Recovery

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

Warning: THOR is still in very active development.

The latest "stable" version is v1.2. The code on the main branch is currently being used to develop THOR v2.0 and is not guaranteed to be stable. We anticipate that v2.0 will be the one most useful to the community and we aim for it to be released by the end of 2023. THOR v2.0 is a complete re-write of the THOR code primarily designed to enable it for use as a service on the Asteroid, Discovery, Analysis and Mapping (ADAM) platform. The primary goal of v2.0 is to enable THOR to work at scale on many small cloud-hosted VMs. The secondary goal of v2.0 is to add changes that will work towards enabling the linking of NEOs (THOR is currently configured to work on the Main Belt and outwards).

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

{
"by": "ortusdux",
"descendants": 1,
"id": 40249846,
"kids": [
40249867
],
"score": 1,
"time": 1714755800,
"title": "Tracklet-Less Heliocentric Orbit Recovery",
"type": "story",
"url": "https://github.com/moeyensj/thor"
}
{
"author": "moeyensj",
"date": null,
"description": "Tracklet-less Heliocentric Orbit Recovery. Contribute to moeyensj/thor development by creating an account on GitHub.",
"image": "https://opengraph.githubassets.com/5ab1fa5dd6229d4cbfec977cecf9e96cb30687c9ed838c22136f431f3188223c/moeyensj/thor",
"logo": "https://logo.clearbit.com/github.com",
"publisher": "GitHub",
"title": "GitHub - moeyensj/thor: Tracklet-less Heliocentric Orbit Recovery",
"url": "https://github.com/moeyensj/thor"
}
{
"url": "https://github.com/moeyensj/thor",
"title": "GitHub - moeyensj/thor: Tracklet-less Heliocentric Orbit Recovery",
"description": "THOR Tracklet-less Heliocentric Orbit Recovery Warning: THOR is still in very active development. The latest \"stable\" version is v1.2. The code on the main branch is currently being used to...",
"links": [
"https://github.com/moeyensj/thor"
],
"image": "https://opengraph.githubassets.com/5ab1fa5dd6229d4cbfec977cecf9e96cb30687c9ed838c22136f431f3188223c/moeyensj/thor",
"content": "<div><article><p><a target=\"_blank\" href=\"https://github.com/moeyensj/thor/blob/main/docs/banner.png\"><img src=\"https://github.com/moeyensj/thor/raw/main/docs/banner.png\" alt=\"banner\" /></a></p>\n<p></p><h2>THOR</h2><a target=\"_blank\" href=\"https://github.com/moeyensj/thor#thor\"></a><p></p>\n<p>Tracklet-less Heliocentric Orbit Recovery</p>\n<p><a target=\"_blank\" href=\"https://img.shields.io/badge/Python-3.9%2B-blue\"><img src=\"https://camo.githubusercontent.com/9368471b4e8f1bb71d791c023464df525abb7535a67f96b6c153efbb03822901/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e392532422d626c7565\" alt=\"Python 3.9+\" /></a>\n<a target=\"_blank\" href=\"https://opensource.org/licenses/BSD-3-Clause\"><img src=\"https://camo.githubusercontent.com/439fd5ffe2ac21b3daa03ac6474978163be089da5fbba2790769ae2275464e35/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d425344253230332d2d436c617573652d626c75652e737667\" alt=\"License\" /></a>\n<a target=\"_blank\" href=\"https://zenodo.org/badge/latestdoi/116747066\"><img src=\"https://camo.githubusercontent.com/e037b7300defbe25420ebc31a37f3885ae0e173d7d130be789414cf2f7ed4b81/68747470733a2f2f7a656e6f646f2e6f72672f62616467652f3131363734373036362e737667\" alt=\"DOI\" /></a><br />\n<a target=\"_blank\" href=\"https://github.com/moeyensj/thor/actions/workflows/docker-build-lint-test.yml\"><img src=\"https://github.com/moeyensj/thor/actions/workflows/docker-build-lint-test.yml/badge.svg\" alt=\"docker - Build, Lint, and Test\" /></a>\n<a target=\"_blank\" href=\"https://github.com/moeyensj/thor/actions/workflows/conda-build-lint-test.yml\"><img src=\"https://github.com/moeyensj/thor/actions/workflows/conda-build-lint-test.yml/badge.svg\" alt=\"conda - Build, Lint, and Test\" /></a>\n<a target=\"_blank\" href=\"https://github.com/moeyensj/thor/actions/workflows/pip-build-lint-test-coverage.yml\"><img src=\"https://github.com/moeyensj/thor/actions/workflows/pip-build-lint-test-coverage.yml/badge.svg\" alt=\"pip - Build, Lint, Test, and Coverage\" /></a><br />\n<a target=\"_blank\" href=\"https://github.com/pre-commit/pre-commit\"><img src=\"https://camo.githubusercontent.com/0d057bf51eafb5183bd4dfd1e62deabe4d3cae00c54930c829ec8e6aa131ef0a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7072652d2d636f6d6d69742d656e61626c65642d627269676874677265656e3f6c6f676f3d7072652d636f6d6d6974\" alt=\"pre-commit\" /></a>\n<a target=\"_blank\" href=\"https://coveralls.io/github/moeyensj/thor?branch=main\"><img src=\"https://camo.githubusercontent.com/08a5e9b31850fc524136d1d043a00c1e842b0933a9a8b48a2ab06e5fe15d942f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d6f6579656e736a2f74686f722f62616467652e7376673f6272616e63683d6d61696e\" alt=\"Coverage Status\" /></a>\n<a target=\"_blank\" href=\"https://hub.docker.com/r/moeyensj/thor\"><img src=\"https://camo.githubusercontent.com/89e3813ae0a7a77ef5621696d439e5e055e4ded461a2595d84a0e28dfad5f256/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f70756c6c732f6d6f6579656e736a2f74686f72\" alt=\"Docker Pulls\" /></a><br />\n<a target=\"_blank\" href=\"https://anaconda.org/moeyensj/thor\"><img src=\"https://camo.githubusercontent.com/a73ca0da449c3473eefdbf523b626f149e3243ae20372dcb044044353fe411e4/68747470733a2f2f616e61636f6e64612e6f72672f6d6f6579656e736a2f74686f722f6261646765732f76657273696f6e2e737667\" alt=\"Anaconda-Server Badge\" /></a>\n<a target=\"_blank\" href=\"https://anaconda.org/moeyensj/thor\"><img src=\"https://camo.githubusercontent.com/1b1f1f63f29c9491ef265ab5896ba1315377b1f8da919637b013d633ef720649/68747470733a2f2f616e61636f6e64612e6f72672f6d6f6579656e736a2f74686f722f6261646765732f706c6174666f726d732e737667\" alt=\"Anaconda-Server Badge\" /></a>\n<a target=\"_blank\" href=\"https://anaconda.org/moeyensj/thor\"><img src=\"https://camo.githubusercontent.com/675fefd75dd01c652ad0fdd0caf06843af24757fd15eecf6359f7c107321fedb/68747470733a2f2f616e61636f6e64612e6f72672f6d6f6579656e736a2f74686f722f6261646765732f646f776e6c6f6164732e737667\" alt=\"Anaconda-Server Badge\" /></a></p>\n<p><strong>Warning: THOR is still in very active development.</strong></p>\n<p>The latest \"stable\" version is <a target=\"_blank\" href=\"https://github.com/moeyensj/thor/releases/tag/v1.2\">v1.2</a>. The code on the main branch is currently being used to develop THOR v2.0 and is not guaranteed to be stable. We anticipate that v2.0 will be the one most useful to the community and we aim for it to be released by the end of 2023. THOR v2.0 is a complete re-write of the THOR code primarily designed to enable it for use as a service on the <a target=\"_blank\" href=\"https://b612.ai/\">Asteroid, Discovery, Analysis and Mapping (ADAM) platform</a>. The primary goal of v2.0 is to enable THOR to work at scale on many small cloud-hosted VMs. The secondary goal of v2.0 is to add changes that will work towards enabling the linking of NEOs (THOR is currently configured to work on the Main Belt and outwards).</p>\n<p></p><h2>Installation</h2><a target=\"_blank\" href=\"https://github.com/moeyensj/thor#installation\"></a><p></p>\n<p>The corresponding notebook repository can be found at: <a target=\"_blank\" href=\"https://github.com/moeyensj/thor_notebooks\">https://github.com/moeyensj/thor_notebooks</a></p>\n<p>The following installation paths are available:<br />\n<a target=\"_blank\" href=\"https://github.com/moeyensj/thor#Anaconda\">Anaconda</a><br />\n<a target=\"_blank\" href=\"https://github.com/moeyensj/thor#Docker\">Docker</a><br />\n<a target=\"_blank\" href=\"https://github.com/moeyensj/thor#Source\">Source</a></p>\n<p></p><h3>Anaconda</h3><a target=\"_blank\" href=\"https://github.com/moeyensj/thor#anaconda\"></a><p></p>\n<p><code>thor</code> can be downloaded directly from anaconda:<br />\n<code>conda install -c moeyensj thor</code></p>\n<p>Or, if preferred, installed into its own environment via:<br />\n<code>conda create -n thor_py38 -c moeyensj thor python=3.8</code></p>\n<p></p><h3>Docker</h3><a target=\"_blank\" href=\"https://github.com/moeyensj/thor#docker\"></a><p></p>\n<p>A Docker container with the latest version of the code can be pulled using:</p>\n<p><code>docker pull moeyensj/thor:latest</code></p>\n<p>To run the container:</p>\n<p><code>docker run -it moeyensj/thor:latest</code></p>\n<p>The THOR code is installed the /projects directory, and is by default also installed in the container's Python installation.\nTo access the code in Python:</p>\n<div><pre><code>(base) root@202110177eee:/# python\nPython 3.6.9 |Anaconda, Inc.| (default, Jul 30 2019, 19:07:31)\n[GCC 7.3.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n&gt;&gt;&gt; import thor\n&gt;&gt;&gt;\n</code></pre></div>\n<p></p><h3>Source</h3><a target=\"_blank\" href=\"https://github.com/moeyensj/thor#source\"></a><p></p>\n<p>Clone this repository using either <code>ssh</code> or <code>https</code>. Once cloned and downloaded, <code>cd</code> into the repository.</p>\n<p>To install THOR in its own <code>conda</code> enviroment please do the following:</p>\n<p><code>conda create -n thor_py38 -c defaults -c conda-forge -c astropy -c moeyensj --file requirements.txt python=3.8</code></p>\n<p>Or, to install THOR in a pre-existing <code>conda</code> environment called <code>env</code>:</p>\n<p><code>conda activate env</code><br />\n<code>conda install -c defaults -c conda-forge -c astropy -c moeyensj --file requirements.txt</code></p>\n<p>Once pre-requisites have been installed using either one of the options above, then:</p>\n<p><code>python setup.py install</code></p>\n<p>Or, if you are actively planning to develop or contribute to THOR, then:</p>\n<p><code>python setup.py develop --no-deps</code></p>\n<p>You should now be able to start Python and import THOR.</p>\n<div><pre><code>┌─(thor_py38)[moeyensj][±][main ✓][~/projects/thor]\n└─▪ python\nPython 3.8.8 (default, Apr 13 2021, 19:58:26)\n[GCC 7.3.0] :: Anaconda, Inc. on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n&gt;&gt;&gt; import thor\n&gt;&gt;&gt;\n</code></pre></div>\n<p><strong>If you would like to run Jupyter Notebook or Juptyter Lab with THOR please see the installation instructions in the THOR notebooks repository.</strong></p>\n</article></div>",
"author": "",
"favicon": "https://github.githubassets.com/favicons/favicon.svg",
"source": "github.com",
"published": "",
"ttr": 88,
"type": "object"
}