punchbowl is the science calibration code for the PUNCH mission.
Caution
This package is still being heavily edited as calibration algorithms are improved. Stability is not promised until v1.
Data are available via the Solar Data Analysis Center. See the PUNCH website for details.
Install with pip install punchbowl to get the released version.
To get the latest unreleased version: clone the repo and install it locally.
- Clone this repository on your local machine
- Navigate to the repository and create a virtual environment in Python using
uvwithuv sync --no-sources --no-dev(super users who want to install optional-dependencies, useuv sync --no-sources --no-dev --all-extras) - Activate the virtual environment by running
source .venv/bin/activateon Mac/Linux or.venv\Scripts\activateon Windows - Explore some data!
- Clone this repository on your local machine
- Navigate to the repository and create a virtual environment in Python using
python -m venv my_venv_name - Activate the virtual environment by running
source my_venv_name/bin/activateon Mac/Linux ormy_venv_name\Scripts\activateon Windows - Install the project environment dependencies by running
pip install .(super users who want to install optional-dependencies, usepip install -e ".[super-user]") - Explore some data!
The documentation provides details on how to run the various components. It also provides a short explanation of each underlying algorithm. Please reach out with a discussion for more help.
You need Docker or Podman Desktop.
- Install Podman Desktop using your preferred method
- Pull the mariadb image with podman pull docker.io/library/mariadb
- Run tests with pytest
Please open an issue or discussion on this repo.
We appreciate all contributions. If you have a problem with the code or would like to see a new feature, please open an issue. Or you can submit a pull request.
If you would like to contribute by submitting a pull request, ensure that you have installed the environment as a super-user to activate necessary dependencies.
You will also need to set up pre-commit so that it will analyze your staged files.
To do this, run pre-commit install in the punchbowl, solpolpy, and/or regularizepsf repositories after setting up your environment.
This step should only need to be done once after installing the environment.
Thanks to all the contributors to punchbowl!