Orbit fitting at LSST scale
You can download the source code with:
git clone --recursive https://github.com/Smithsonian/layup.git
If you cloned the repository without --recursive
flag, you can run
git submodule update --init
to download the required submodules, assist
, eigen
, and rebound
.
Next, run
pip install -e .
to create an editable install of layup
. If you're doing development work, you can install with
pip install -e ".[dev]"
to install all of the development packages as well.
If you're running layup
on a linux distribution, you should add the layup
root directory to your$LD_LIBRARY_PATH
, with something like
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:</path/to/layup>
so that python's dynamic linker can find the assist
and rebound
library objects at runtime.
Note that to get the new submodules added in an existing copy of the repo you want to run
git submodule update --init
And in subsequent clones of the repo you want to run
git clone --recursive https://github.com/Smithsonian/layup.git