pub struct DiffractionPatternResult {
pub diffraction: Array2<F>,
pub image: Array2<F>,
}Expand description
Per-frame diffraction-pattern result.
Fields§
§diffraction: Array2<F>Power spectrum |F(k)|², shape (n_grid, n_grid). FFT-shifted so
the k=0 component is at the centre.
image: Array2<F>Real-space Gaussian-smeared image used as the FFT input
((n_grid, n_grid)).
Trait Implementations§
Source§impl Clone for DiffractionPatternResult
impl Clone for DiffractionPatternResult
Source§fn clone(&self) -> DiffractionPatternResult
fn clone(&self) -> DiffractionPatternResult
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 DiffractionPatternResult
impl Debug for DiffractionPatternResult
Source§impl Default for DiffractionPatternResult
impl Default for DiffractionPatternResult
Source§fn default() -> DiffractionPatternResult
fn default() -> DiffractionPatternResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DiffractionPatternResult
impl RefUnwindSafe for DiffractionPatternResult
impl Send for DiffractionPatternResult
impl Sync for DiffractionPatternResult
impl Unpin for DiffractionPatternResult
impl UnsafeUnpin for DiffractionPatternResult
impl UnwindSafe for DiffractionPatternResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more