Python package for solar wind data analysis.
Project description
Python data analysis tools for solar wind measurements.
Quick Start
After installation, import the package and create a plasma object:
import solarwindpy as swp
# Load plasma data (example with sample data)
plasma = swp.Plasma()
# Access ion species and magnetic field data
print(plasma.data.columns) # View available measurements
See the documentation for detailed usage examples and API reference.
Installation
SolarWindPy requires Python 3.10 or later.
SolarWindPy is available via PyPI and conda-forge:
User
Install from PyPI:
pip install solarwindpy # Requires Python 3.10+
Or install from conda-forge:
conda install -c conda-forge solarwindpy
Development
Fork the repository and clone your fork.
Create a Conda environment using the provided YAML file (Python 3.10+):
conda env create -f solarwindpy.yml # Python 3.10+ conda activate solarwindpy pip install -e .Alternatively generate the environment from requirements-dev.txt:
python scripts/requirements_to_conda_env.py --name solarwindpy conda env create -f solarwindpy.yml conda activate solarwindpy pip install -e .Run the test suite with pytest:
pytest -qRegenerate the Conda recipe if the version or dependencies change:
python scripts/update_conda_recipe.pyOptionally install the pre-commit hooks:
pre-commit installThis will run black and flake8 automatically when committing.
Build the documentation and fail on warnings:
cd docs make html SPHINXOPTS=-W
License
SolarWindPy is licensed under a standard 3-clause BSD license. See LICENSE.rst.
Acknowledging and Citing SolarWindPy
See CITATION.rst for instructions on citing SolarWindPy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solarwindpy-0.1.5.tar.gz.
File metadata
- Download URL: solarwindpy-0.1.5.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e361d8e453b9a214d797b506b4c68568b0d8ef3d6eb75ff7b5a1c41b7392b6dd
|
|
| MD5 |
0fdf6466324a6a1f5a2d70ab401ae693
|
|
| BLAKE2b-256 |
6416ed796fac704c7c9ef947b32215eda075881e39e5c9b031bf7a1ae579cc7d
|
File details
Details for the file solarwindpy-0.1.5-py3-none-any.whl.
File metadata
- Download URL: solarwindpy-0.1.5-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1558d4a116668690dbc5c8a13092e3cd31194fb974fc75b912d6f9935bba33ff
|
|
| MD5 |
56029c1350ee9e9f7c0780d826ef2a3f
|
|
| BLAKE2b-256 |
94a636165e02d4774e26b991b4cbc0727e37b9fbfa9432ab42501dc101f6fe9a
|