https://github.com/smithsonian/layup
Orbit fitting at LSST scale
https://github.com/smithsonian/layup
Last synced: 10 months ago
JSON representation
Orbit fitting at LSST scale
- Host: GitHub
- URL: https://github.com/smithsonian/layup
- Owner: Smithsonian
- License: mit
- Created: 2025-01-13T19:48:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-09T14:50:17.000Z (11 months ago)
- Last Synced: 2025-09-09T17:42:50.606Z (11 months ago)
- Language: Python
- Size: 2.69 MB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# layup
Orbit fitting at LSST scale
[](https://github.com/Smithsonian/layup/actions/workflows/smoke-test.yml)
[](https://github.com/Smithsonian/layup/actions/workflows/testing-and-coverage.yml)
[](https://layup.readthedocs.io/en/latest/?badge=latest)
[](https://pypi.python.org/pypi/layup)
[](https://lincc-ppt.readthedocs.io/en/latest/)
## Setup
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.
### Linux
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:
```
so that python's dynamic linker can find the `assist` and `rebound` library objects at runtime.
### Adding new submodule
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
```