How trottadom/serpyshock works
SerPyShock is a Python toolkit for analysing in-situ shock properties. Its visible analysis routines estimate shock normals, evaluate shock-speed and density-compression statistics across changing measurement windows, and compute Rankine–Hugoniot-compliant signals. The repository also includes a Solar Orbiter/SWA ground-moments loader that searches and fetches archive data and returns a dataframe. The excerpts show some helper calls and loader data flow, but not a top-level analysis orchestrator or how the loader feeds the analysis routines.
Main entry points: __init__.py SWA moments loader · SerPyShock.py Window statistics
Components 10
Shock analysis
- Shock methods
SerPyShock/SerPyShock.py - Normal estimation
SerPyShock/SerPyShock.py - Window statistics
SerPyShock/SerPyShock.py - RH signal synthesis
SerPyShock/SerPyShock.py
SWA data loading
- SWA moments loader
solo_swa_loader/__init__.py - TimeSeries conversion
solo_swa_loader/__init__.py
Analysis internals
- Window selection
SerPyShock/SerPyShock.py
Other components
- Python user
- SOAR archive
- Moments dataframe
Connections 4
- Window statistics → Window selection: selects windows
SerPyShock/SerPyShock.py - SWA moments loader → SOAR archive: searches and fetches
solo_swa_loader/__init__.py - SWA moments loader → TimeSeries conversion: loads files
solo_swa_loader/__init__.py - TimeSeries conversion → Moments dataframe: converts to
solo_swa_loader/__init__.py