Unnormalized Density Estimation of the Solar Wind Velocity Distribution Function

Parker Solar Probe · SPAN-I · Nadaraya–Watson + SGRAB · Encounter 13 case study

Overview

I am developing non-parametric models for solving inverse problems, such as characterizing the velocity distribution function (VDF) of the solar wind from sparse particle flux measurements. The work uses Parker Solar Probe (PSP) SPAN-I data from the SWEAP instrument suite, whose observations are sparse because of the detector’s limited field-of-view bins and fixed energy sweep steps. The aim is to recover the full continuous distribution \( f(\mathbf{v}) \), the phase-space density in units of \( \# / (\mathrm{m}^3 \, (\mathrm{km/s})^3) \).

Classical Maxwellian or Kappa assumptions break down in this low-count, anisotropic, weakly collisional regime. My approach pairs a Nadaraya–Watson estimator with a Spherical Grid Adaptive Bandwidth (SGRAB) framework designed around SPAN-I’s discrete, non-uniform sampling geometry.

The goals:

  • Provide an open-source non-parametric framework for 3D VDFs that needs no predefined functional shape.
  • Match or beat Maxwellian and Kappa fits in statistical and qualitative goodness of fit.
  • Reconstruct moments (density, bulk velocity, temperature) that agree with official SPAN-I Level 3 products.
  • Generalize across solar-wind regimes, with high \( R^2 \) and lower variance in fit quality than parametric models.

Interactive SPAN-I data

Below is an interactive view of a solar-wind VDF recorded on 16-Dec-2021 13:14 UTC. Rotate and zoom to explore the 3D structure of \( f(\mathbf{v}) \); colour shows log phase-space density, and the axes are velocities relative to the local magnetic field (\(v_\parallel\) is parallel to it). The fan-shaped grid reflects SPAN-I’s limited field of view, the gap the model reconstructs.

Generated with Plotly in Python.

Method

SPAN-I samples velocity space on a fixed, non-uniform grid, so a single smoothing width cannot suit every point. SGRAB sets the bandwidth locally from the geometry of each observation’s neighbours.

KAPE: the software behind this research

Open-source · In development

Kernel Adaptive Plasma Estimator

KAPE is the tool I’m building for this specific problem: estimating the solar-wind velocity distribution from sparse measurements by top-hat electrostatic analyzers on heliospheric spacecraft. It implements the Nadaraya–Watson kernel regression with the SGRAB adaptive bandwidth described above, so the methods and figures on this page come from it.

View KAPE on GitHub

Preliminary results

Benchmarks from an event study during PSP Encounter 13, comparing the non-parametric KAPE framework with standard Maxwellian and Kappa models for SPAN-I. Click a figure to enlarge it.

Figure 1. Event window time-series evaluation

KAPE-derived density and bulk flow velocity benchmarked against SPAN-I L3 products across the event window.

Event Window Time-Series Evaluation
Read the full caption

Time-series evaluation of the KAPE framework across an event window recorded between 2022-09-04T11:00:58 UTC and 2022-09-04T13:37:35 UTC. Macroscopic moments, including 0th-moment number density (\(n\)) and 1st-moment bulk flow velocity (\(\mathbf{u}\)), were evaluated via numerical quadrature and benchmarked against SPAN-I L3 published products. Integration boundaries were extended beyond raw measurement limits by applying a \(30^\circ\) buffer in both azimuth and elevation to capture low-level flux near detector FOV limits. Panel (a) presents the density time series for KAPE (blue curve) and L3 operational moments (black curve). Panel (b) displays the resulting density difference (\(n_{\text{KAPE}} - n_{\text{L3}}\)). Panel (c) compares the bulk speed (\(u = |\mathbf{u}|\)). Panels (d)–(f) evaluate the individual MFAC velocity components (\(u_{\perp 0}, u_{\parallel}, u_{\perp 1}\)) against L3 moments relative to a 1:1 parity line, where the red line represents a linear best fit.

Figure 2. 2D gyrotropic VDF projections

One VDF snapshot reconstructed by the Maxwellian, Kappa and KAPE models.

2D Gyrotropic VDF Projections
Read the full caption

Two-dimensional gyrotropic projections of a representative VDF snapshot recorded at 2022-09-04T11:00:58 UTC during the event study window. Reconstructions are initially performed across full three-dimensional velocity space and reduced to two dimensions under a gyrotropic assumption aligned with the local magnetic field. Distributions across each column are centered relative to their respective model-derived bulk velocity vectors. The top row (Panels (a)–(c)) displays the discrete observation data points centered on each model’s bulk velocity, while the bottom row (Panels (d)–(f)) presents the corresponding continuous phase-space density reconstructions. Columns compare the parametric Maxwellian model (Panels (a), (d)), the parametric Kappa model (Panels (b), (e)), and the non-parametric KAPE framework (Panels (c), (f)).

Figure 3. Goodness of fit over time (\(R^2\))

Goodness of fit (\(R^2\)) over time for KAPE, Kappa and Maxwellian.

Goodness-of-Fit Time-Series Comparison
Read the full caption

Time-series comparison of goodness-of-fit metrics (\(R^2\)) across the event window (2022-09-04T11:00:58 UTC to 2022-09-04T13:37:35 UTC) for KAPE (blue), Kappa (yellow), and Maxwellian (green) models. For each VDF snapshot, \(R^2\) metrics were evaluated using repeated random sub-sampling (RRSS; 80% training and 20% testing split). Solid curves depict mean \(R^2\) trajectories, while the shaded envelope represents the interquartile range spanning the 25th to 75th percentiles across iterations.

Poster

A one-page summary of the work, presented in June 2026.

Preview of the Solar Wind KAPE poster

View poster Download PDF

Background

For more on the science, see NASA’s overview of the solar wind, the Parker Solar Probe mission page, the video Touching the Sun, and NASA Eyes for the spacecraft’s current position.

Acknowledgements

This research is supervised by Dr. Jay Newby and Dr. Abigail Azari at the University of Alberta, with support from Dr. Nidhi Hegde as a member of my supervisory committee. It is funded by the Alberta Machine Intelligence Institute (Amii) and the University of Alberta, and the International Space Science Institute (ISSI) supported my stay in Bern, Switzerland. Thank you to my family, friends, collaborators and mentors.