API Reference
Complete API documentation for all modules, classes, and functions in SolarWindPy.
Top-Level API
Core classes and functions available at the package level.
|
Container for multi-species plasma physics data and analysis. |
|
Create 1D plot of x, optionally aggregating y in bins of x. |
|
Create a 2D histogram with an optional z-value using an equal number. |
|
Create a LaTeX label from measurement, component and species information. |
Core Module
Main data structures, physics calculations, and fundamental classes for solar wind analysis.
The core module provides the Plasma container class and
Ion species class, along with vector/tensor operations
and physical constants.
|
The Plasma class that contains all Ions, magnetic field, and spacecraft information. |
|
Contains Ion class. |
|
Contains in situ data Base and Core classes. |
|
A Vector class and subclasses. |
|
Tensor class for storing quantities like thermal speed, pressure, and temperature. |
|
Contais |
|
Alfvenic turbulence diagnostics using Elsasser variables. |
|
Definitions of common units and physical constants. |
Plotting Module
Visualization tools for creating publication-quality scientific figures. Includes histogram classes with aggregation, scatter plots, scientific labels with automatic units, and helper functions for figure management.
|
Convenience accessors for histogram style plotters. |
|
Tools for creating physical quantity plot labels. |
|
Scatter plot utilities with optional color mapping. |
|
Spiral mesh plots and associated binning utilities. |
|
Plotting helpers specialized for solar wind orbits. |
|
Utility functions for common |
|
Interactive selection utilities for plotted data. |
Fit Functions Module
Statistical analysis and curve fitting tools for solar wind data. Provides parametric fit functions (Gaussian, exponential, power law, Moyal) with automatic parameter estimation, plotting utilities, and trend analysis.
|
Base classes used to implement specific fit functions. |
|
Gaussian-based fit functions. |
|
Fit functions for exponential models. |
|
Utilities for fitting power-law models. |
|
Moyal distribution fit function for asymmetric peak fitting. |
|
Simple linear fit functions. |
|
|
|
Plotting utilities for |
|
Solar Activity Module
Tools for accessing and analyzing solar activity indices. Includes sunspot number data, LISIRD (LASP Interactive Solar Irradiance Data Center) access, and solar cycle analysis.
|
Base classes for solar activity indicators. |
|
Plotting helpers for solar activity indicators. |
|
Sunspot number data utilities. |
|
Instabilities Module
Plasma instability analysis and threshold calculations. Includes temperature anisotropy instability thresholds based on Verscharen et al. (2016) and related analyses.
|
Instability thresholds from Verscharen et al. (2016). |
|
Convenience plotting helpers for anisotropy versus beta. |
Tools Module
General utility functions and helper tools for data manipulation and analysis.
|
Utility functions for manipulating solar wind data. |