---
title: 'WiRM: Dual Applications in Astrophysics & Wireless Sensing'
url: https://www.emergentmind.com/topics/wirm
type: topic
---

# WiRM: Dual Applications in Astrophysics & Wireless Sensing

Searching arXiv for recent papers on "WiRM" to ground the article and disambiguate the term.
WiRM denotes two distinct research usages. In Galactic interstellar-medium studies, the term is a natural contraction of “WIM + RM,” referring to the use of Faraday rotation measures to infer magnetic-field properties in the warm ionized medium; in this sense, it functions as a compact label for a statistical inference toolkit linking observables such as RM and EM to turbulent parameters and the line-of-sight regular magnetic field [1402.7167]. In wireless sensing, WiRM is the title of “WiRM: Wireless Respiration Monitoring Using Conjugate Multiple Channel State Information and Fast Iterative Filtering in Wi-Fi Systems,” a two-staged framework for contactless respiration monitoring from commodity Wi-Fi CSI that estimates both respiratory rate and respiratory waveform [2507.23419]. The coexistence of these usages is terminological rather than conceptual: one belongs to Galactic magneto-ionic turbulence, the other to RF sensing and biomedical signal processing.

## 1. WiRM as a term: dual usage and disciplinary separation

In astrophysical usage, “WiRM” naturally evokes “WIM + RM,” namely the use of Faraday rotation measures to study the magnetic field in the warm ionized medium. The associated methodology is centered on empirical relations connecting the turbulent properties of the WIM, especially the sonic Mach number, and magnetic-field strength to RM and EM statistics [1402.7167]. This usage is rooted in the broader modern view of the WIM as a major, physically distinct component of the Galactic interstellar medium, extending more than \(1\,\mathrm{kpc}\) from the midplane and characterized by diffuse ionized gas with temperatures of order \(10^4\) K, a large filling factor, and diagnostic optical line ratios that differ systematically from classical H II regions [1211.0369].

In wireless sensing, WiRM is an acronym for Wireless Respiration Monitoring. Here the term refers to a specific algorithmic framework that uses channel state information in Wi-Fi systems to perform contactless respiration monitoring, with the explicit goal of estimating both the instantaneous respiratory rate and the respiratory waveform [2507.23419].

The two usages share only a surface lexical overlap. A plausible implication is that literature searches for “WiRM” require immediate contextual disambiguation, since the underlying technical objects—Faraday rotation statistics in turbulent plasma and CSI-based respiratory sensing in OFDM systems—are unrelated.

## 2. Astrophysical WiRM: warm ionized medium and Faraday rotation

The astrophysical usage is anchored in the warm ionized medium, defined as the diffuse, warm, ionized component of the Galactic ISM. The WIM is described as an extended, low-density plasma of almost fully ionized hydrogen pervading the Galactic disk and halo, with temperatures of order \(10^4\) K, electron densities typically \(\ll 1\ \mathrm{cm}^{-3}\), and a vertical extent exceeding \(1\) kpc from the Galactic plane [1211.0369]. One summary gives typical values \(\bar{T} \sim 8000\) K and \(\bar{n}_e \sim 0.03\ \mathrm{cm^{-3}}\), with a plane-parallel layer of scale height \(\sim 2\) kpc and filling \(\sim 20\text{–}30\)% of the volume in that layer [1402.7167].

Its observational distinctness is emphasized by pulsar dispersion measures, free–free absorption, diffuse H\(\alpha\), and characteristic optical line ratios. The WIM is physically distinct from classical H II regions because of systematically different temperatures, ionization states, and line ratios, including enhanced \([\mathrm{N\,II}]/\mathrm{H}\alpha\) and \([\mathrm{S\,II}]/\mathrm{H}\alpha\), weaker \([\mathrm{O\,III}]/\mathrm{H}\alpha\), and weaker \(\mathrm{He\,I}/\mathrm{H}\alpha\) [1211.0369]. The [N II] \(\lambda5755/\lambda6584\) temperature diagnostic yields \(T_e \approx 9000\) K for the WIM and \(T_e \approx 6000\) K for classical H II regions, as summarized in the review [1211.0369].

Within this environment, RM and EM serve as complementary probes. The standard definitions are
\[
{\rm DM} = \int n_e\, ds,
\]
\[
{\rm EM} = \int n_e^2\, ds,
\]
and
\[
{\rm RM} = 0.81 \int n_e B_\parallel\, ds.
\]
The electron-density-weighted LOS field is
\[
\langle B_\parallel \rangle = \frac{\rm RM}{0.81\, DM}.
\]
RM is therefore sensitive to \(n_e\) and the line-of-sight magnetic field \(B_\parallel\), whereas EM traces \(n_e^2\) and hence density fluctuations and compressibility [1402.7167].

This is the core of the astrophysical WiRM idea: use EM statistics to estimate turbulent compressibility, then use RM statistics conditioned on that compressibility to estimate the LOS regular magnetic field [1402.7167].

## 3. Empirical WiRM relations in turbulent WIM studies

The principal formulation appears in “Magnetic Field and Faraday Rotation Measure in the Turbulent Warm Ionized Medium” [1402.7167]. The study extends earlier work by incorporating Mach-number dependence into the relation between LOS magnetic field strength and the dispersion of RM distribution in turbulent media with root-mean-square sonic Mach number \(M_s \simeq 1\). The simulations cover \(\sim 0.5 < M_s < \sim 2\), the Mach-number range identified as appropriate for the Galactic WIM [1402.7167].

The analysis uses the full width at half maximum of the frequency distribution of the normalized RM, denoted
\[
W_{\rm FWHM(RM/\overline{RM})},
\]
where \(\overline{\rm RM}\) is the mean RM. Since the distribution is Gaussian, the relation between FWHM and standard deviation is
\[
W_{\rm FWHM} = 2\sqrt{2\ln 2}\ \sigma.
\]
For EM, the study examines the distribution of \(\log_{10}({\rm EM})\), which is Gaussian, so EM itself is well described by a log-normal distribution; its width is quantified by
\[
W_{\rm FWHM[\log_{10}({\rm EM})]}.
\]

The main empirical relation, their Equation 12, is
\[
B_{0\parallel} = (0.65\pm0.02) \times \frac{M_s^{1.19\pm0.07}}{W_{\rm FWHM(RM/\overline{RM})}^{1.31\pm0.04}}\ \mu{\rm G},
\]
for the fiducial WIM parameters \(T = 8000\) K and \(n_e = 0.03\ \mathrm{cm^{-3}}\) [1402.7167]. For other values, the field scales as
\[
B_{0\parallel} \propto \left(\frac{T}{8000\ \mathrm{K}}\right)^{1/2}
\left(\frac{n_e}{0.03\ \mathrm{cm^{-3}}}\right)^{1/2}.
\]

A second empirical relation, their Equation 13, links sonic Mach number to EM dispersion:
\[
M_s = 3.60(\pm0.84)\, W_{\rm FWHM[\log_{10}({\rm EM})]} - 0.13(\pm0.26).
\]
The paper states that this is grounded in the known relation between density dispersion and Mach number in isothermal turbulence,
\[
\sigma_{\ln\rho}^2 = \ln(1 + b^2 M_s^2),
\]
with \(b \sim 0.3\) for solenoidal forcing [1402.7167].

Together these relations constitute the astrophysical WiRM workflow: estimate \(M_s\) from EM statistics, then infer \(B_{0\parallel}\) from RM dispersion and the inferred Mach number. The paper explicitly characterizes these as relations that “could be used for a quick and rough estimation of the LOS magnetic field strength in the turbulent WIM” [1402.7167].

## 4. Numerical basis, physical interpretation, and limitations of the WIM+RM framework

The empirical relations are derived from three-dimensional, magnetohydrodynamic isothermal turbulence simulations with solenoidal forcing [1402.7167]. The numerical setup consists of compressible isothermal MHD solved with a TVD scheme, a periodic cubic box with \(512^3\) grid cells, and purely solenoidal forcing generated in Fourier space with \(\mathbf{k}\cdot \mathbf{f}_k = 0\). Equal-power forcing is applied in the narrow wave-number range \((2\pi/L) \le k \le 2(2\pi/L)\), with amplitude chosen to maintain constant kinetic energy input rate [1402.7167].

The parameter space includes \(\beta_0 = 0.1, 1, 10\) and \(M_s \simeq 0.5, 1, 2\), giving 9 simulations total. Turbulence saturates around \(\sim 2\,t_{\rm turb}\), where \(t_{\rm turb} = L/(2 M_s c_s)\), and the simulations run to \(4\,t_{\rm turb}\), with 11 snapshots taken in the saturated stage [1402.7167].

For WIM fiducial values \(T=8000\) K and \(n_e = 0.03\ \mathrm{cm^{-3}}\), the initial magnetic field strength is
\[
B_0 = 1.3 \left( \frac{1}{\beta_0} \right)^{1/2}
\left( \frac{T}{8000\ {\rm K}} \right)^{1/2}
\left( \frac{n_e}{0.03\ {\rm cm}^{-3}} \right)^{1/2}\ \mu{\rm G},
\]
giving \(B_0 \approx 4.1\ \mu\mathrm{G}\) for \(\beta_0=0.1\), \(1.3\ \mu\mathrm{G}\) for \(\beta_0=1\), and \(0.41\ \mu\mathrm{G}\) for \(\beta_0=10\) [1402.7167].

The physical interpretation is presented in terms of Alfvénic perturbations. In a weak \(B\)–\(\rho\) correlation regime,
\[
\delta B / B_0 \approx v/c_A,
\]
and the paper argues that
\[
W_{\rm FWHM(RM/\overline{RM})} \propto \frac{\delta B}{B_0} \propto \frac{v}{c_A} \propto \frac{\sqrt{T\rho}\, M_s}{B_0},
\]
so that
\[
B_0 \propto \sqrt{T\rho}\, \frac{M_s}{W_{\rm FWHM(RM/\overline{RM})}}.
\]
The empirical fit modifies the exponents to \(1.19\) and \(1.31\) rather than exactly unity to match the simulation data [1402.7167].

The authors also emphasize limitations. The relations are derived for isothermal MHD turbulence, only solenoidal forcing is considered, the Mach-number range is limited to \(M_s \simeq 0.5, 1, 2\), and the simulations are homogeneous boxes without Galactic stratification or multiphase structure [1402.7167]. They further note that the method requires \(\overline{\rm RM}\) not to be too small, since the relation breaks down as \(B_{0\parallel}\to 0\) and \(\overline{\rm RM}\to 0\) [1402.7167]. The review of the WIM reinforces that the real medium is a galaxy-wide, extended ionized layer with a substantial, but subdominant, scattered-light contribution to faint high-latitude H\(\alpha\), rather than a simple homogeneous slab [1211.0369]. This suggests that astrophysical WiRM is best regarded as a statistical inference tool for WIM-dominated regions rather than a precision diagnostic for arbitrary individual sightlines.

## 5. WiRM in wireless sensing: CSI-based respiration monitoring

The wireless-sensing usage is defined by “WiRM: Wireless Respiration Monitoring Using Conjugate Multiple Channel State Information and Fast Iterative Filtering in Wi-Fi Systems” [2507.23419]. The framework is described as a two-staged approach to contactless respiration monitoring. In the first stage it improves respiratory rate estimation by using conjugate multiplication for phase sanitisation and adaptive multi-trace carving for tracing how the respiratory rate changes over time; in the second stage it uses the improved respiratory rate estimate to inform the decomposition and selection of the respiratory waveform from the CSI data [2507.23419].

The problem formulation begins with noisy CSI measurements affected by phase noise, thermal noise, multiplicative channel noise, and multipath. For one transmit antenna \(T_a\), one receive antenna \(R_b\), subcarrier \(f\), and time \(t\), the ideal channel with one breathing-affected path is modeled as
\[
H_{T_a,R_b}(t,f) = H_{\text{s},T_a,R_b}(f) + \alpha_{T_a,R_b}(f) \exp\!\left(\frac{-j2\pi}{\lambda}\big(D_{T_a,R_b} + \Delta d_{\text{b},T_a,R_b}\sin\theta_{T_a,R_b}\, r(t)\big)\right),
\]
and the noisy CSI as
\[
\tilde{H}_{T_a,R_b}(t,f) = \kappa(t,f) H_{T_a,R_b}(t,f) e^{-j\eta(t,f)} + \epsilon(t,f).
\]
The task is to recover both the time-varying respiratory frequency and the underlying respiratory waveform \(r(t)\) [2507.23419].

Stage 1 forms conjugate multiple CSI links,
\[
H_{\text{cm},T_a,R_b}(n,f) = H_{T_a,R_b}(n,f)\,\overline{H_{T_a,R_1}(n,f)},
\]
in order to cancel common phase noise from antennas sharing an oscillator [2507.23419]. Linear ACFs of magnitude and phase are then computed, lag \(\tau=0\) is discarded, the resulting traces are weighted by breathing-to-noise ratio, and the weighted ACFs are combined into a single signal whose zoom FFT over the respiratory band yields a spectrogram. Adaptive Multi-Trace Carving is then applied to obtain a smooth time-varying respiratory-rate trace and a breath-presence indicator [2507.23419].

Stage 2 collects a longer window, performs conjugate multiplication again, extracts magnitude and phase, applies z-score normalization, and stacks the normalized traces into a large matrix. The latest rate estimate from Stage 1 is then used as a prior for subcarrier selection through
\[
F_c = \sum_{n = \tilde{N}-N}^{\tilde{N}-1} (\mathbf{Z}_{\text{cm}})_{n,c}\, e^{-j2\pi \tilde{B}_{\text{Hz}} n T_s},
\]
with the primary subcarrier chosen by
\[
c_{\text{ps}} \in \arg\max_c |F_c|.
\]
After phase-aligned, magnitude-weighted combining, the resulting signal is decomposed by Fast Iterative Filtering into intrinsic mode functions,
\[
\text{FIF}(\tilde{\mathbf{p}}) = [\text{IMF}_1,\text{IMF}_2,\dots,\text{IMF}_D],
\]
and the breathing IMF is selected as the component whose dominant frequency is closest to the Stage 1 rate estimate [2507.23419].

This architecture explicitly couples rate estimation and waveform reconstruction. The paper states that most prior Wi-Fi methods either estimate only rate or attempt waveform extraction with fragile decomposition heuristics; WiRM instead uses the improved rate estimate to guide waveform extraction [2507.23419].

## 6. Evaluation, robustness, and the relation between the two WiRM usages

The wireless WiRM framework is evaluated on the rf_polysomnography_respiration_data_00 public dataset with commodity Wi-Fi CSI, OFDM, 114 subcarriers, sampling frequency \(f_s = 9.9\,\text{Hz}\), 2 transmit antennas, and 2 receive antennas, using clinical polysomnography as ground truth [2507.23419]. Respiratory rate is evaluated by RMSE in BPM and by the percentage of time samples with error below 3 BPM, while waveform quality is evaluated by sliding-window absolute correlation with the ground-truth respiratory waveform [2507.23419].

Compared against three state-of-the-art methods, WiRM achieves an average reduction of \(38\%\) in respiratory rate root mean squared error and an average improvement of \(33.1\%\) in the fraction of estimates within 3 BPM [2507.23419]. For waveform extraction, the paper reports a \(178.3\%\) improvement in average absolute correlation with the ground truth respiratory waveform and a \(55.4\%\) improvement in maximum absolute correlation, relative to Pos-Free Breath [2507.23419]. On one illustrated night, WiRM correctly detects breath presence in \(92.2\%\) of time [2507.23419].

The paper also introduces a purpose-built simulation toolkit to evaluate robustness under thermal, multiplicative, and phase noise. In the phase-noise simulations, WiRM achieves 0.0 BPM rate RMSE and waveform correlation \(|\rho|=1.0\); in multiplicative-noise simulations, it maintains 0.0 BPM RMSE and \(|\rho|=1.0\) across the tested standard deviations 0.1–1.0; under high thermal noise, it degrades but remains more resilient than several baselines [2507.23419]. The authors therefore conclude that WiRM demonstrates improved or comparable resilience to these common noise sources [2507.23419].

The astrophysical and wireless senses of WiRM differ in object, methodology, and validation standard. The first links RM and EM statistics to \(M_s\) and \(B_{0\parallel}\) through MHD simulation-derived empirical relations in the Galactic WIM [1402.7167]; the second links CSI preprocessing, AMTC trace tracking, and FIF decomposition to respiratory-rate and waveform recovery in Wi-Fi systems [2507.23419]. A common misconception would be to assume a single unified framework because of the shared term. The evidence instead supports a purely homonymous relation. One sense is an informal domain shorthand tied to WIM magneto-ionic diagnostics, while the other is an explicit algorithm name in wireless health sensing.

Source: https://www.emergentmind.com/topics/wirm