Skip to content

Instantly share code, notes, and snippets.

View moeyensj's full-sized avatar
🎯
Focusing

Joachim Moeyens moeyensj

🎯
Focusing
View GitHub Profile
@moeyensj
moeyensj / oorbTipsAndTricks.md
Last active July 6, 2020 19:43
Oorb Tips and Tricks

To convert MPCORB.DAT to a oorb format:

oorb --task=mpcorb --mpcorb=MPCORB.DAT --orb-out=MPCORB.orb

To propagate MPCORB.orb to a desired date:

oorb --task=propagation --orb-in=MPCORB.orb --epoch-mjd-utc=59580.173 --orb-out=MPCORB_START_59580.orb

To generate ephemeris from desired date onwards:

@moeyensj
moeyensj / condaJupyter.md
Last active February 26, 2018 17:36
Conda Environments with Jupyter

One Time Install

conda create -n myenv python=X.X 
source activate myenv 
python -m ipykernel install --name myenv --display-name "myenv display name"

You can now launch jupyter notebook or jupyter lab from your anaconda root environment and you should be able to access the kernel installed in your new enironment from the drop down menu

@moeyensj
moeyensj / pyoorbTimer.py
Created July 15, 2019 18:52
Creates a grid of orbits and times pyoorb propagations.
#!/usr/bin/python
"""
[email protected]
2019/07/15
Creates a grid of orbits and propagates them 10 days from the defined epoch.
Installation (using a dedicated conda environment):
```
conda create -n pyoorb_py36 -c defaults -conda-forge python=3.6 numpy