SearcharxivSearch

arXiv subjects

David Stansby

Publications and source records attributed to David Stansby.

15 recordsLinked to original sources

Larger than memory image processing

This report addresses larger-than-memory image analysis for petascale datasets such as 1.4 PB electron-microscopy volumes and 150 TB human-organ atlases. We argue that performance is fundamentally I/O-bound. We show that structuring analysis as streaming passes over data is crucial. For 3D volumes, two representations are popular: stacks of 2D slices (e.g., directories or multi-page TIFF) and 3D chunked layouts (e.g., Zarr/HDF5). While for a few algorithms, chunked layout on disk is crucial to keep disk I/O at a minimum, we show how the slice-based streaming architecture can be built on top of either image representation in a manner that minimizes disk I/O. This is in particular advantageous for algorithms relying on neighbouring values, since the slicing streaming architecture is 1D, which implies that there are only 2 possible sweeping orders, both of which are aligned with the order in which images are read from the disk. This is in contrast to 3D chunks, in which any sweep cannot be done without accessing each chunk at least 9 times. We formalize this with sweep-based execution (natural 2D/3D orders), windowed operations, and overlap-aware tiling to minimize redundant access. Building on these principles, we introduce a domain-specific language (DSL) that encodes algorithms with intrinsic knowledge of their optimal streaming and memory use; the DSL performs compile-time and run-time pipeline analyses to automatically select window sizes, fuse stages, tee and zip streams, and schedule passes for limited-RAM machines, yielding near-linear I/O scans and predictable memory footprints. The approach integrates with existing tooling for segmentation and morphology but reframes pre/post-processing as pipelines that privilege sequential read/write patterns, delivering substantial throughput gains for extremely large images without requiring full-volume residency in memory.

cs.CV

The SunPy Project: An Interoperable Ecosystem for Solar Data Analysis

The SunPy Project is a community of scientists and software developers creating an ecosystem of Python packages for solar physics. The project includes the sunpy core package as well as a set of affiliated packages. The sunpy core package provides general purpose tools to access data from different providers, read image and time series data, and transform between commonly used coordinate systems. Affiliated packages perform more specialized tasks that do not fall within the more general scope of the sunpy core package. In this article, we give a high-level overview of the SunPy Project, how it is broader than the sunpy core package, and how the project curates and fosters the affiliated package system. We demonstrate how components of the SunPy ecosystem, including sunpy and several affiliated packages, work together to enable multi-instrument data analysis workflows. We also describe members of the SunPy Project and how the project interacts with the wider solar physics and scientific Python communities. Finally, we discuss the future direction and priorities of the SunPy Project.

astro-ph.SR

Slow Solar Wind Connection Science during Solar Orbiter's First Close Perihelion Passage

The Slow Solar Wind Connection Solar Orbiter Observing Plan (Slow Wind SOOP) was developed to utilise the extensive suite of remote sensing and in situ instruments on board the ESA/NASA Solar Orbiter mission to answer significant outstanding questions regarding the origin and formation of the slow solar wind. The Slow Wind SOOP was designed to link remote sensing and in situ measurements of slow wind originating at open-closed field boundaries. The SOOP ran just prior to Solar Orbiter's first close perihelion passage during two remote sensing windows (RSW1 and RSW2) between 2022 March 3-6 and 2022 March 17-22, while Solar Orbiter was at a heliocentric distance of 0.55-0.51 and 0.38-0.34 au from the Sun, respectively. Coordinated observation campaigns were also conducted by Hinode and IRIS. The magnetic connectivity tool was used, along with low latency in situ data, and full-disk remote sensing observations, to guide the target pointing of Solar Orbiter. Solar Orbiter targeted an active region complex during RSW1, the boundary of a coronal hole, and the periphery of a decayed active region during RSW2. Post-observation analysis using the magnetic connectivity tool along with in situ measurements from MAG and SWA/PAS, show that slow solar wind, with velocities between 210 and 600 km/s, arrived at the spacecraft originating from two out of the three of the target regions. The Slow Wind SOOP, despite presenting many challenges, was very successful, providing a blueprint for planning future observation campaigns that rely on the magnetic connectivity of Solar Orbiter.

astro-ph.SR

Understanding the Relationship between Solar Coronal Abundances and F10.7 cm Radio Emission

Sun-as-a-star coronal plasma composition, derived from full-Sun spectra, and the F10.7 radio flux (2.8 GHz) have been shown to be highly correlated (r = 0.88) during solar cycle 24. However, this correlation becomes nonlinear during increased solar magnetic activity. Here, we use co-temporal, high spatial resolution, multi-wavelength images of the Sun to investigate the underlying causes of the non-linearity between coronal composition (FIP bias) and F10.7 solar index correlation. Using the Karl G. Jansky Very Large Array (JVLA), Hinode/EIS (EUV Imaging Spectrometer), and the Solar Dynamic Observatory (SDO), we observed a small active region, AR 12759, throughout the solar atmosphere from the photosphere to the corona. Results of this study show that the magnetic field strength (flux density) in active regions plays an important role in the variability of coronal abundances, and it is likely the main contributing factor to this non-linearity during increased solar activity. Coronal abundances above cool sunspots are lower than in dispersed magnetic plage regions. Strong magnetic concentrations are associated with stronger F10.7 cm gyroresonance emission. Considering that as the solar cycle moves from minimum to maximum, the size of sunspots and their field strength increase with gyroresonance component, the distinctly different tendencies of radio emission and coronal abundances in the vicinity of sunspots is the likely cause of saturation of Sun-as-a-star coronal abundances during solar maximum, while the F10.7 index remains well correlated with the sunspot number and other magnetic field proxies.

astro-ph.SR

The magnetic field environment of active region 12673 that produced the energetic particle events of September 2017

Forecasting solar energetic particles (SEPs), and identifying flare/CMEs from active regions (ARs) that will produce SEP events in advance is extremely challenging. We investigate the magnetic field environment of AR 12673, including the AR's magnetic configuration, the surrounding field configuration in the vicinity of the AR, the decay index profile, and the footpoints of Earth-connected magnetic field, around the time of four eruptive events. Two of the eruptive events are SEP-productive (2017 September 4 at 20:00~UT and September 6 at 11:56~UT), while two are not (September 4 at 18:05~UT and September 7 at 14:33~UT). We analysed a range of EUV and white-light coronagraph observations along with potential field extrapolations and find that the CMEs associated with the SEP-productive events either trigger null point reconnection that redirects flare-accelerated particles from the flare site to the Earth-connected field and/or have a significant expansion (and shock formation) into the open Earth-connected field. The rate of change of the decay index with height indicates that the region could produce a fast CME ($v >$ 1500~km~s$^{-1}$), which it did during events two and three. The AR's magnetic field environment, including sites of open magnetic field and null points along with the magnetic field connectivity and propagation direction of the CMEs play an important role in the escape and arrival of SEPs at Earth. Other SEP-productive ARs should be investigated to determine whether their magnetic field environment and CME propagation direction are significant in the escape and arrival of SEPs at Earth.

astro-ph.SR

Radial evolution of thermal and suprathermal electron populations in the slow solar wind from 0.13 to 0.5 au : Parker Solar Probe Observations

We develop and apply a bespoke fitting routine to a large volume of solar wind electron distribution data measured by Parker Solar Probe (PSP) over its first five orbits, covering radial distances from 0.13 to 0.5 au. We characterise the radial evolution of the electron core, halo and strahl populations in the slow solar wind during these orbits. The fractional densities of these three electron populations provide evidence for the growth of the combined suprathermal halo and strahl populations from 0.13 to 0.17 au. Moreover, the growth in the halo population is not matched by a decrease of the strahl population at these distances, as has been reported for previous observations at distances greater than 0.3 au. We also find that the halo is negligible at small heliocentric distances. The fractional strahl density remains relatively constant ~1 % below 0.2 au, suggesting that the rise in the relative halo density is not solely due to the transfer of strahl electrons into the halo.

astro-ph.SR

The Stability of the Electron Strahl against the Oblique Fast-magnetosonic/Whistler Instability in the Inner Heliosphere

We analyze the micro-kinetic stability of the electron strahl in the solar wind depending on heliocentric distance. The oblique fast-magnetosonic/whistler (FM/W) instability has emerged in the literature as a key candidate mechanism for the effective scattering of the electron strahl into the electron halo population. Using data from Parker Solar Probe (PSP) and Helios, we compare the measured strahl properties with the analytical thresholds for the oblique FM/W instability in the low- and high-$\beta_{\parallel c}$ regimes, where $\beta_{\parallel c}$ is the ratio of the core parallel thermal pressure to the magnetic pressure. Our PSP and Helios data show that the electron strahl is on average stable against the oblique FM/W instability in the inner heliosphere. Our analysis suggests that the instability, if at all, can only be excited sporadically and on short timescales. We discuss the caveats of our analysis and potential alternative explanations for the observed scattering of the electron strahl in the solar wind. Furthermore, we recommend the numerical evaluation of the stability of individual distributions in the future to account for any uncertainties in the validity of the analytical expressions for the instability thresholds.

astro-ph.SR

Test Problems for Potential Field Source Surface Extrapolations of Solar and Stellar Magnetic Fields

The potential field source surface (PFSS) equations are commonly used to model the coronal magnetic field of the Sun and other stars. As with any computational model, solving equations using a numerical scheme introduces errors due to discretisation. We present a set of tests for quantifying these errors by taking advantage of analytic solutions to the PFSS equations when the input field is proportional to a single spherical harmonic. From the spherical harmonic solutions we derive analytic equations for magnetic field lines traced through the three dimensional magnetic field solution. We propose these as a set of standard analytic solutions that all PFSS solvers should be tested against to quantify their inherent errors. We apply these tests to the pfsspy software package, showing that it reproduces spherical harmonic solutions well with a slight overestimation of the unsigned open magnetic flux. It is also successful at reproducing analytic field line equations, with errors in field line footpoints typically much less than one degree.

astro-ph.SR

The Kinetic Expansion of Solar-Wind Electrons: Transport Theory and Predictions for the very Inner Heliosphere

We propose a transport theory for the kinetic evolution of solar-wind electrons in the heliosphere. We derive a gyro-averaged kinetic transport equation that accounts for the spherical expansion of the solar wind and the geometry of the Parker-spiral magnetic field. To solve our three-dimensional kinetic equation, we develop a mathematical approach that combines the Crank--Nicolson scheme in velocity space and a finite-difference Euler scheme in configuration space. We initialize our model with isotropic electron distribution functions and calculate the kinetic expansion at heliocentric distances from 5 to 20 solar radii. In our kinetic model, the electrons evolve mainly through the combination of the ballistic particle streaming, the magnetic mirror force, and the electric field. By applying fits to our numerical results, we quantify the parameters of the electron strahl and core part of the electron velocity distributions. The strahl fit parameters show that the density of the electron strahl is around 7% of the total electron density at a distance of 20 solar radii, the strahl bulk velocity and strahl temperature parallel to the background magnetic field stay approximately constant beyond a distance of 15 solar radii, and $\beta_{\parallel s}$ (i.e., the ratio between strahl parallel thermal pressure to the magnetic pressure) is approximately constant with heliocentric distance at a value of about 0.02. We compare our results with data measured by Parker Solar Probe. Furthermore, we provide theoretical evidence that the electron strahl is not scattered by the oblique fast-magnetosonic/whistler instability in the near-Sun environment.

physics.space-ph

Disambiguation of Vector Magnetograms by Stereoscopic Observations from the Solar Orbiter/Polarimetric and Helioseismic Imager (PHI) and the Solar Dynamic Observatory (SDO)/Helioseismic and Magnetic Imager (HMI)

Spectropolarimetric reconstructions of the photospheric vector magnetic field are intrinsically limited by the so-called 180$^\circ$ ambiguity in the orientation of the transverse component. The successful launch and operation of Solar Orbiter has made the removal of the 180$^\circ$ ambiguity possible using solely observations obtained from two different vantage points. While the exploitation of such a possibility is straightforward in principle, it is less so in practice and it is therefore important to assess the accuracy and limitations, as a function of both the satellites orbits and measurement principles. In this work we present a stereoscopic disambiguation method (SDM) and discuss a thorough testing of its accuracy in applications to modeled active regions and quiet Sun observations. In a first series of tests, we employ magnetograms extracted from three different numerical simulations as test fields, and model observations of the magnetograms from different angles and distances. In these more idealized tests, the SDM is proven to to reach a 100% disambiguation accuracy when applied to moderately-to-well resolved fields. Even in the case of disambiguation of quiet Sun magnetograms with significant under-resolved scale, the SDM provides an accuracy between 82% and 98% depending on the field strength. The accuracy of the SDM is found to be mostly sensitive to the variable resolution of Solar Orbiter on its highly elliptic orbit, as well as to the intrinsic scale of the observed field. Finally, as a more realistic test, we consider magnetograms that are obtained using a radiative transfer inversion code and the SOPHISM instrument simulator applied to a 3D simulation of a pore, and present a preliminary discussion of the effect of the viewing angle on the observed field.

astro-ph.SR

The solar-wind angular-momentum flux observed during Solar Orbiter's first orbit

Aims: We present the first measurements of the solar-wind angular-momentum (AM) flux recorded by the Solar Orbiter spacecraft. Our aim is the validation of these measurements to support future studies of the Sun's AM loss. Methods: We combine 60-minute averages of the proton bulk moments and the magnetic field measured by the Solar Wind Analyser (SWA) and the magnetometer (MAG) onboard Solar Orbiter. We calculate the AM flux per solid-angle element using data from the first orbit of the mission's cruise phase during 2020. We separate the contributions from protons and from magnetic stresses to the total AM flux. Results: The AM flux varies significantly over time. The particle contribution typically dominates over the magnetic-field contribution during our measurement interval. The total AM flux shows the largest variation and is typically anti-correlated with the radial solar-wind speed. We identify a compression region, potentially associated with a co-rotating interaction region or a coronal mass ejection, that leads to a significant localised increase in the AM flux, yet without a significant increase in the AM per unit mass. We repeat our analysis using the density estimate from the Radio and Plasma Waves (RPW) instrument. Using this independent method, we find a decrease in the peaks of positive AM flux but otherwise consistent results. Conclusions: Our results largely agree with previous measurements of the solar-wind AM flux in terms of amplitude, variability, and dependence on radial solar-wind bulk speed. Our analysis highlights the potential for future, more detailed, studies of the solar wind's AM and its other large-scale properties with data from Solar Orbiter. We emphasise the need to study the radial evolution and latitudinal dependence of the AM flux in combination with data from Parker Solar Probe and assets at heliocentric distances of 1 au and beyond.

physics.space-ph

Prediction of the in situ coronal mass ejection rate for solar cycle 25: Implications for Parker Solar Probe in situ observations

The Parker Solar Probe (PSP) and Solar Orbiter missions are designed to make groundbreaking observations of the Sun and interplanetary space within this decade. We show that a particularly interesting in situ observation of an interplanetary coronal mass ejection (ICME) by PSP may arise during close solar flybys ($< 0.1$~AU). During these times, the same magnetic flux rope inside an ICME could be observed in situ by PSP twice, by impacting its frontal part as well as its leg. Investigating the odds of this situation, we forecast the ICME rate in solar cycle 25 based on 2 models for the sunspot number (SSN): (1) the forecast of an expert panel in 2019 (maximum SSN = 115), and (2) a prediction by McIntosh et al. (2020, maximum SSN = 232). We link the SSN to the observed ICME rates in solar cycles 23 and 24 with the Richardson and Cane list and our own ICME catalog, and calculate that between 1 and 7 ICMEs will be observed by PSP at heliocentric distances $< 0.1$ AU until 2025, including 1$σ$ uncertainties. We then model the potential flux rope signatures of such a double-crossing event with the semi-empirical 3DCORE flux rope model, showing a telltale elevation of the radial magnetic field component $B_R$, and a sign reversal in the component $B_N$ normal to the solar equator compared to field rotation in the first encounter. This holds considerable promise to determine the structure of CMEs close to their origin in the solar corona.

astro-ph.SR

Magnetic connectivity of the ecliptic plane within 0.5 AU : PFSS modeling of the first PSP encounter

We compare magnetic field measurements taken by the FIELDS instrument on Parker Solar Probe (PSP) during its first solar encounter to predictions obtained by Potential Field Source Surface (PFSS) modeling. Ballistic propagation is used to connect the spacecraft to the source surface. Despite the simplicity of the model, our results show striking agreement with PSPs first observations of the heliospheric magnetic field from 0.5 AU (107.5 Rs) down to 0.16 AU (35.7 Rs). Further, we show the robustness of the agreement is improved both by allowing the photospheric input to the model to vary in time, and by advecting the field from PSP down to the PFSS model domain using in situ PSP/SWEAP measurements of the solar wind speed instead of assuming it to be constant with longitude and latitude. We also explore the source surface height parameter (RSS) to the PFSS model finding that an extraordinarily low source surface height (1.3-1.5Rs) predicts observed small scale polarity inversions which are otherwise washed out with regular modeling parameters. Finally, we extract field line traces from these models. By overlaying these on EUV images we observe magnetic connectivity to various equatorial and mid-latitude coronal holes indicating plausible magnetic footpoints and offering context for future discussions of sources of the solar wind measured by PSP.

astro-ph.SR

Linear Stability in the Inner Heliosphere: Helios Reëvaluated

Wave-particle instabilities driven by departures from local thermodynamic equilibrium have been conjectured to play a role in governing solar wind dynamics. We calculate the statistical variation of linear stability over a large subset of Helios I and II fast solar wind observations using a numerical evaluation of the Nyquist stability criterion, accounting for multiple sources of free energy associated with protons and helium including temperature anisotropies and relative drifts. We find that 88\% of the surveyed intervals are linearly unstable. The median growth rate of the unstable modes is within an order of magnitude of the turbulent transfer rate, fast enough to potentially impact the turbulent scale-to-scale energy transfer. This rate does not significantly change with radial distance, though the nature of the unstable modes, and which ion components are responsible for driving the instabilities, does vary. The effect of ion-ion collisions on stability is found to be significant; collisionally young wind is much more unstable than collsionally old wind, with very different kinds of instabilities present in the two kinds of wind.

astro-ph.SR

On the 1/f spectrum in the solar wind and its connection with magnetic compressibility

We discuss properties of Alfvénic fluctuations with large amplitude in plasmas characterised by low magnetic field compression. We note that in such systems power laws can not develop with arbitrarily steep slopes at large scales, i.e. when $|δ\bf{B}|$ becomes of the order of the background field $|\bf{B}|$. In such systems there is a scale $l_0$ at which the spectrum has to break due to the condition of weak compressibility. A very good example of this dynamics is offered by solar wind fluctuations in Alfvénic fast streams, characterised by the property of constant field magnitude. We show here that the distribution of $δB=|δ\bf{B}|$ in the fast wind displays a strong cut-off at $δB/|{\bf B}|\lesssim2$, as expected for fluctuations bounded on a sphere of radius $B=|{\bf B}|$. This is also associated with a saturation of the rms of the fluctuations at large scales and introduces a specific length $l_0$ above which the amplitude of the fluctuations becomes independent on the scale $l$. Consistent with that, the power spectrum at $l>l_0$ is characterised by a -1 spectral slope, as expected for fluctuations that are scale-independent. Moreover, we show that the spectral break between the 1/f and inertial range in solar wind spectra indeed corresponds to the scale $l_0$ at which $\left<δB/B\right>\sim1$. Such a simple model provides a possible alternative explanation of magnetic spectra observed in interplanetary space, also pointing out the inconsistency for a plasma to simultaneously maintain $|\bf{B}|\sim$const. at arbitrarily large scales and satisfy a Kolmogorov scaling.

physics.space-ph