spitorch
Inference of Stellar Population Parameters in PyTorch
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.0%) to scientific vocabulary
Repository
Inference of Stellar Population Parameters in PyTorch
Basic Info
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
SPItorch
Stellar Population Inference in PyTorch
SPItorch (read 'spy-torch') is a library for estimating the parameters of galaxies and other stellar objects.
Installation
The installation guide contains detailed information on how to install the project, but for users looking to get started quickly, the following steps should be sufficient.
To install, run (ideally in a virtual environment)
bash
git clone https://github.com/MaximeRobeyns/spitorch
cd SPItorch
make install
Then make sure that you export the following environment variable:
bash
export SPS_HOME=`pwd`/deps/fsps
It is a good idea to either put this in your shell configuration or use
something like direnv to do this automatically for you.
Tutorials
If you want to run the tutorial notebooks, you will need the tutorial datasets.
These are hosted on GitHub using Git Large Object
Storage (LFS). To download it, you will need to
install git lfs. You can find the latest release on the
release page. Here is an example
installation, using Linux:
bash
cd /tmp
curl -LO https://github.com/git-lfs/git-lfs/releases/download/v3.1.4/git-lfs-linux-amd64-v3.1.4.tar.gz
tar -xzf git-lfs-linux-amd64-v3.1.4.tar.gz
sudo ./install.sh
git lfs install
git lfs fetch --all
Note that we require Python 3.10 or later. If you do not have this version,
then using a suitably configured conda environment is highly recommended. We
make no assumptions about your virtual environment or shell configuration,
however before calling any of the targets in the Makefile, please ensure that
the python executable in your PATH points to the executable/version you want
to use.
To run the notebooks, you can first install the kernel:
bash
make kernel # only need to run this once
Then you can open the notebooks in Jupyter Lab with:
bash
make lab
For more usage information, please see the documentation or the tutorial notebooks.
Owner
- Name: Maxime Robeyns
- Login: MaximeRobeyns
- Kind: user
- Location: London
- Website: maximerobeyns.com
- Twitter: maxime_robeyns
- Repositories: 6
- Profile: https://github.com/MaximeRobeyns
PhD student in probabilistic machine learning
Citation (CITATION.cff)
cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Robeyns
given-names: Maxime
orcid: https://orcid.org/0000-0001-9802-9597
- family-names: Mike
given-names: Walmsley
orcid: https://orcid.org/0000-0002-6408-4181
- family-names: Sotiria
given-names: Fotopoulou
orcid: https://orcid.org/0000-0002-9686-254X
- family-names: Laurence
given-names: Aitchison
title: "SPItorch"
version: 0.0.1
date-released: 2022-02-01
repository-code: "https://github.com/maximerobeyns/spitorch"
GitHub Events
Total
Last Year
Dependencies
- furo ==2022.4.7
- sphinx *
- sphinx-autobuild ==2021.3.14
- sphinx-copybutton ==0.5.0
- sphinxext-opengraph ==0.6.3
- corner ==2.2.1
- dynesty ==1.1
- emcee ==3.1.1
- fsps ==0.4.1
- h5py ==3.6.0
- hydra-core ==1.2.0
- ipywidgets ==8.0.2
- jupyterlab ==3.2.8
- jupyterlab-pygments ==0.1.2
- jupyterlab-server ==2.10.3
- jupyterlab-vimrc ==0.5.2
- matplotlib ==3.5.1
- mpi4py ==3.1.3
- numpy ==1.22.1
- pandas ==1.4.0
- pyDOE2 ==1.3.0
- ray ==1.13.0
- rich ==11.1.0
- schwimmbad ==0.3.2
- semver ==2.13.0
- torch ==1.12.1
- torchvision ==0.13.1
- tqdm ==4.63.0
- mypy ==0.961 test
- mypy-extensions ==0.4.3 test
- pytest ==7.0.1 test