pub struct RadialFourierSpectrum {
pub radius_px: Vec<f64>,
pub power: Vec<f64>,
pub sample_count: Vec<usize>,
}Expand description
Azimuthally averaged power in annular bins of a two-dimensional Fourier transform.
radial_fourier_spectrum uses integer-radius bins centered on the DC
component. radius_px[b] is the radius, in Fourier-grid pixels, of bin
b; power[b] is the mean normalized power in that bin; and
sample_count[b] is the number of Fourier samples contributing to it.
Each underlying Fourier-pixel power is normalized so the sum before radial averaging equals the input field’s squared norm (Parseval’s identity). No physical-frequency calibration is applied: supplying that requires the image sampling pitch.
Fields§
§radius_px: Vec<f64>§power: Vec<f64>§sample_count: Vec<usize>Trait Implementations§
Source§impl Clone for RadialFourierSpectrum
impl Clone for RadialFourierSpectrum
Source§fn clone(&self) -> RadialFourierSpectrum
fn clone(&self) -> RadialFourierSpectrum
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RadialFourierSpectrum
impl Debug for RadialFourierSpectrum
Source§impl PartialEq for RadialFourierSpectrum
impl PartialEq for RadialFourierSpectrum
Source§fn eq(&self, other: &RadialFourierSpectrum) -> bool
fn eq(&self, other: &RadialFourierSpectrum) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RadialFourierSpectrum
Auto Trait Implementations§
impl Freeze for RadialFourierSpectrum
impl RefUnwindSafe for RadialFourierSpectrum
impl Send for RadialFourierSpectrum
impl Sync for RadialFourierSpectrum
impl Unpin for RadialFourierSpectrum
impl UnsafeUnpin for RadialFourierSpectrum
impl UnwindSafe for RadialFourierSpectrum
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more