pythea
PyThea is an open-source software package to perform coronal mass ejection (CME) and shock wave 3D reconstruction using multi-viewpoint remote-sensing observations.
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 12 DOI reference(s) in README -
✓Academic publication links
Links to: frontiersin.org, zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.2%) to scientific vocabulary
Keywords
Repository
PyThea is an open-source software package to perform coronal mass ejection (CME) and shock wave 3D reconstruction using multi-viewpoint remote-sensing observations.
Basic Info
- Host: GitHub
- Owner: AthKouloumvakos
- License: gpl-3.0
- Language: Python
- Default Branch: master
- Homepage: https://www.pythea.org/
- Size: 5.51 MB
Statistics
- Stars: 27
- Watchers: 3
- Forks: 10
- Open Issues: 5
- Releases: 26
Topics
Metadata Files
README.md
PyThea: A software package to reconstruct the 3D structure of CMEs and shock waves

PyThea is an open-source software package that can be used to reconstruct the 3D structure of Coronal Mass Ejections (CMEs) and shock waves and determine their kinematics using remote-sensing observations. The tool implements the Graduated Cylindrical Shell (GCS) model that can be used to reconstruct CMEs and two geometrical models, namely a spheroid and ellipsoid model to reconstruct shock waves. It also implements remote-sensing observations from multiple viewpoints such as the Solar and Heliospheric Observatory (SoHO), Solar Terrestrial Relations Observatory (STEREO), and Parker Solar Probe.
💾 Installation
We recommend, creating a virtual environment for PyThea and installing the package from PyPI using pip.
If you use Anaconda or Miniconda (which we also recommend) you can create a virtual environment using conda and then install PyThea using from PyPI using pip. In the terminal do the following:
```python
Create a virtual environment. Use python>3.11
conda create --name PyThea python=3.11
Activate the environment
conda activate PyThea
install the required packages using pip3
pip3 install PyThea
Run locally the application with streamlit (see also the section "Run locally the PyThea application" )
PyThea streamlit
When you are done you can deactivate the virtual environment
conda deactivate ```
If conda is not your favorite way of creating a virtual environment in python, then you can manually create it and install PyThea with pip as previously shown. For example, you can do the following:
```python
Create a virtual environment.
python3 -m venv PyThea
Activate the environment
source PyThea/bin/activate
install the required packages using pip3
pip3 install PyThea
Run locally the application with streamlit (see also the section "Run locally the PyThea application" )
PyThea streamlit
When you are done you can deactivate the virtual environment
deactivate ```
At the directory where the terminal is open, this method will create a folder named /PyThea and install PyThea and all the required packages inside.
⬆️ Update
To update the package to the latest version activate the environment first and then:
```python
Update PyThea using pip3
pip3 install PyThea -U ```
One way to see witch version is installed in your environment is to open a python session and do:
python
import PyThea
PyThea.__version__
You can also see the verion used and the latest version on the main page of the application.
🐾 Run locally the PyThea application
After installing PyThea software package you can run the application using the terminal.
If the environment is not active then use conda activate PyThea or source PyThea/bin/activate to activate this and then run PyThea with
PyThea streamlit
The application should now open in the default browser!
Deactivate the environment when you finish.
If there is an error when running PyThea streamlit then you can manually run PyThea following these steps:
1) Locate where PyThea_app.py have been instaled. This is usually inside the anaconda3 enviroment folder. For example here ~/opt/anaconda3/envs/PyThea/lib/python3.11/site-packages/PyThea
2) Then run the PyTheaapp.py using: ```streamlit run
📙 Usage
Complete documentation of the PyThea can be found in https://www.pythea.org/.
📦 Useful Python packages
- SunPy: The community-developed, free and open-source solar data analysis environment for Python.
- AstroPy: The Astropy Project is a community effort to develop a single core package for Astronomy in Python.
- gcs_python: An implementation of the Graduated Cylindrical Shell model in python.
📜 Acknowledging or Citing PyThea

If you use PyThea for scientific work or research presented in a publication, please mention it in the main text and cite PyThea paper (see Paper or ADS). Additionally, add in the methods or acknowledgements section the following: "This research has made use of PyThea v?.?.?, an open-source and free Python package to reconstruct the 3D structure of CMEs and shock waves (Zenodo: https://doi.org/10.5281/zenodo.5713659)." and changing the v?.?.? to the version you have used. To acknowledge PyThea in posters or talks include the project logo or icon. PyThea has a strong dependency on SunPy and AstroPy Python packages, consider citing these packages as well.
ⓘ The mythology of Thea:
In Greek mythology, Thea, also called Euryphaessa "wide-shining", is the Titaness of sight and the shining light of the clear blue sky. Her brother/consort is Hyperion, a Titan and god of the sun, and together they are the parents of Helios (the Sun), Selene (the Moon), and Eos (the Dawn).
Development Support:
The lead author of this software package Athanasios Kouloumvakos acknowledges financial support from NASA Grant 80NSSC24K0071 for the further development and improvement of PyThea during 2024. This grant was part of the NASA Headquarters Heliophysics Tools and Methods Program in response to NASA ROSES–2022 (NNH22ZDA001N).
Owner
- Name: Athanasios Kouloumvakos
- Login: AthKouloumvakos
- Kind: user
- Location: Maryland, USA
- Company: Applied Physics Laboratory, JHU
- Repositories: 5
- Profile: https://github.com/AthKouloumvakos
Ph.D. in Physics, Research Scientist M.Sc. Astronomy and Astrophysics
GitHub Events
Total
- Create event: 4
- Release event: 3
- Issues event: 5
- Watch event: 3
- Delete event: 2
- Issue comment event: 9
- Push event: 12
- Fork event: 2
Last Year
- Create event: 4
- Release event: 3
- Issues event: 5
- Watch event: 3
- Delete event: 2
- Issue comment event: 9
- Push event: 12
- Fork event: 2
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| AKoulou | a****s@g****m | 178 |
| Jan Gieseler | 3****r | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 24
- Total pull requests: 1
- Average time to close issues: 8 months
- Average time to close pull requests: about 6 hours
- Total issue authors: 7
- Total pull request authors: 1
- Average comments per issue: 0.96
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 3
- Pull requests: 0
- Average time to close issues: 7 minutes
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- AthKouloumvakos (14)
- MohamedNedal (3)
- ashupattnaik (2)
- jgieseler (2)
- shifanakoya (1)
- ennomuller (1)
- johan12345 (1)
Pull Request Authors
- jgieseler (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 38 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 23
- Total maintainers: 1
pypi.org: pythea
PyThea: A software package to reconstruct the 3D structure of CMEs and shock waves
- Homepage: https://github.com/AthKouloumvakos/PyThea
- Documentation: https://pythea.readthedocs.io/
- License: GPL-3.0
-
Latest release: 1.1.0
published about 1 year ago
Rankings
Maintainers (1)
Dependencies
- Pillow *
- astropy *
- astroquery *
- drms *
- lxml *
- matplotlib *
- numpy *
- pandas *
- parfive ==1.5.1
- pytest-astropy *
- pytest-sugar *
- scipy *
- seaborn *
- stqdm *
- streamlit *
- sunpy ==4.0.4
- tqdm *
- vedo *
- zeep *
- actions/checkout master composite
- actions/setup-python v4 composite
- py-actions/flake8 v2.2.0 composite
- actions/checkout master composite
- actions/setup-python v4 composite
- stqdm *