pub enum Spectrum {
Full,
RealRows {
columns: usize,
},
}Expand description
What kind of spectrum a Fourier filter receives (SciPy’s n argument with axis = -1).
Variants§
Full
The full 2D DFT (n = -1): frequencies k/N for k < ⌈N/2⌉, then (k − N)/N, on both axes.
RealRows
A real FFT along the rows (the last axis) of an image with columns columns, so that each
row holds columns / 2 + 1 non-negative frequencies k / columns; the columns are a full DFT.
Trait Implementations§
impl Copy for Spectrum
impl Eq for Spectrum
impl StructuralPartialEq for Spectrum
Auto Trait Implementations§
impl Freeze for Spectrum
impl RefUnwindSafe for Spectrum
impl Send for Spectrum
impl Sync for Spectrum
impl Unpin for Spectrum
impl UnsafeUnpin for Spectrum
impl UnwindSafe for Spectrum
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