levisim.analysis.spectral_density_theory¶
Theoretical spectral densities of a free-space trap driven by thermal and directed force noises
- class levisim.analysis.spectral_density_theory.SpectralDensityTheory(m, Ωx, Ωy, Ωz, Γx, Γy, Γz, fth, β, ψ, **kwargs)[source]¶
Bases:
objectSpectral density definition:
Sab(ω) =〈[a(ω)]†.b(ω)〉 where [O(ω)]† = O†(-ω) for operators but [f(ω)]† = [f(ω)]* = f*(ω) for functions
Displacement responds to a force via a response function:
x(ω) = χx(ω) Fx(ω) y(ω) = χy(ω) Fy(ω) χ(ω) = 1 / (m(Ω²-ω² + iωΓ))
Notably, for the harmonic oscillator’s susceptibility (a.k.a. response) functions:
χ*(-ω) = χ(ω)
There are two force noises (units, N/√Hz), thermal and directed, whose magnitude we relate by β. The total stochastic forces are sums of independent random forces (not of their noise amplitudes):
Fx(t) = fthx(t) + fdx(t), Fy(t) = fthy(t) + fdy(t) fthx = fthy = fth fd = β fth
— AUTO-CORRELATIONS —
The stochastic forces (such as the thermal and directed ones considered here) are ‘delta-correlated’:
〈fthj(t).fthj(t')〉= Sth.δ(t - t') - equal in x, y 〈fd(t).fd(t')〉= Sdir.δ(t - t') - different components in x, y
The x, y components are:
〈fdx(t).fdx(t')〉= 〈fd(t)cos(ψ).fd(t')cos(ψ)〉= Sdir.cos²(ψ).δ(t - t') = Sdirx.δ(t - t') 〈fdy(t).fdy(t')〉= 〈fd(t)sin(ψ).fd(t')sin(ψ)〉= Sdir.sin²(ψ).δ(t - t') = Sdiry.δ(t - t')
This means their force spectral densities (units, N²/Hz) are constant:
〈fthj²〉= Sthj(ω) = Sth, equal in both x, y 〈fd²〉= Sdir(ω) = Sdir, different components in x, y
The x, y components are:
〈fdx²〉= Sdirx = Sdir.cos²(ψ) 〈fdy²〉= Sdiry = Sdir.sin²(ψ) Sdir = β² Sth
NOTE: forces vs. force noises, and how 〈.〉 turns a force into a force spectrum. A stochastic force F(t) [N] (thermal: the Langevin force of the gas; directed: the applied noise) is a random function of time: each realisation differs, and only its statistics are meaningful. 〈.〉 is the ensemble average over realisations. For a stationary force the autocorrelation 〈F(t + τ) F(t)〉 depends only on τ, and the Wiener-Khinchin theorem says its Fourier transform is the force PSD,
S_FF(ω) = ∫ 〈F(t + τ) F(t)〉 e^{iωτ} dτ [N²/Hz],equivalently 〈F*(ω) F(ω’)〉 = 2π S_FF(ω) δ(ω - ω’) for the Fourier components. A white (‘delta-correlated’) force, 〈F(t) F(t’)〉 = S δ(t - t’), therefore has a flat PSD S_FF = S. The ‘force noise’ f = √S [N/√Hz] is just the square root of that flat PSD: an amplitude spectral density, not a force. For the thermal force the fluctuation-dissipation theorem fixes S = Sth = 2 m kB T Γth (two-sided), the Langevin result for Brownian motion. Since the displacement is linear in the force, x(ω) = χ(ω) F(ω), the same averaging gives
Sxx(ω) = |χ(ω)|² S_FF(ω), and for two forces 〈f1 f2〉 = 0 unless they are correlated - which is why the PSDs below add the spectral densities (quadrature sum of the force noises), and why only the shared directed force survives in Sxy. Simulation draws exactly such forces: for a time step Δt, a force held constant over the step with variance S/Δt has 〈F F〉 → S δ(t - t’).— CROSS-CORRELATIONS —
By definition, the thermal noises in x, y are uncorrelated:
〈fthx(t).fthy(t')〉= 0
By definition, the directed and thermal noises are uncorrelated:
〈fth(t).fd(t')〉= 0
So the spectral densities associated with their combination are zero. (NOTE: The above assumption is what is broken if one does not use two separate Wiener processes to model the two stochastic forces.)
NOTE: Correlation functions (time-domain) and spectral densities (frequency-domain) are related via the Wiener-Khinchin theorem: https://en.wikipedia.org/wiki/Wiener–Khinchin_theorem
— POWER SPECTRAL DENSITIES (PSDs) —
The power spectral density is Sab(ω) for a=b They are real-valued, always. Displacement PSDs are the product of:
the absolute square of the response function, and
the force spectral densities
PSD of x-motion:
Sxx(ω) =〈[x(ω)]†.x(ω)〉 = |χx(ω)|².〈(fthx + fdx)(fthx + fdx)〉 = |χx(ω)|².〈fthx² + 2.fthx.fdx + fdx²〉 = |χx(ω)|².(Sth + 0 + Sdirx) = |χx(ω)|².Sth.(1 + β² cos²(ψ))PSD of y-motion:
Syy(ω) =〈[y(ω)]†.y(ω)〉 = |χy(ω)|².〈(fthy + fdy)(fthy + fdy)〉 = |χy(ω)|².〈fthy² + 2.fth.fdy + fdy²〉 = |χy(ω)|².(Sth + 0 + Sdiry) = |χy(ω)|².Sth.(1 + β² sin²(ψ)) |χ(ω)|² = 1 / (m²((Ω²-ω²)² + Γ²ω²))NOTE: This means that the force noise deduced from the PSD
Fx = √(Sxx(ω))/|χx(ω)| = √(Sth.(1 + β² cos²(ψ)))does not equal the linear sum of fthx + fdx, but rather the quadrature sum √(fthx² + fdx²).— CROSS-SPECTRAL DENSITIES (CSDs) —
The cross-correlation spectral density is defined as Sab(ω) for a≠b It is complex-valued, in general, with Sba(ω) = Sab(ω)*
CSD of x-, y-motions:
Sxy(ω) =〈[x(ω)]†.y(ω)〉 = χxy(ω).〈(fthx + fdx)(fthy + fdy)〉 = χxy(ω).〈fthx.fthy + fth.fdy + fdx.fth + fdx.fdy〉 = χxy(ω).〈0 + 0 + 0 + fd².cos(ψ)sin(ψ)〉 = χxy(ω).Sdir.cos(ψ)sin(ψ) = χxy(ω).SfψDisplacement CSDs are the product of the cross-susceptibility and the angular force spectrum (defined below).
“cross-susceptibility”
χxy(ω) = χx*(ω).χy(ω)
“angular force spectrum”
Sfψ = Sdir.cos(ψ)sin(ψ) = ½.Sdir.sin(2ψ)
- property fd¶
Size of the directed force
- property fdx¶
Size of the directed force in the x-axis
- property fdy¶
Size of the directed force in the y-axis
- property fdz¶
Size of the directed force in the z-axis
- property Sth¶
The thermal spectral force density
- property Sdir¶
The directed spectral force density
- property Sdirx¶
The directed spectral force density in the x-axis
- property Sdiry¶
The directed spectral force density in the y-axis
- property Sdirz¶
The directed spectral force density in the z-axis
- property Sfψ¶
The angular spectral force density
- property Sffx¶
The total spectral force density in the x-axis
- property Sffy¶
The total spectral force density in the y-axis
- property Sffz¶
The total spectral force density in the z-axis
- property γxy¶
The coherence of the x(t), y(t) signals
- Cxy(ω)[source]¶
Coincident, in-phase spectral density (co-spectrum) of x, y motions Real part of the cross-correlation