pub struct Diffractogram {
pub data: PatternType,
pub image: Array,
pub radial_min: f64,
pub radial_max: f64,
pub azimuth_min: f64,
pub azimuth_max: f64,
/* private fields */
}Expand description
Returned result as Diffractogram.
Fields§
§data: PatternTypeData in PatternType.
image: ArrayNormalized and corrected Array.
radial_min: f64Radial min boundary.
radial_max: f64Radial max boundary.
azimuth_min: f64Azimuthal min boundary.
azimuth_max: f64Azimuthal max boundary.
Implementations§
Source§impl Diffractogram
impl Diffractogram
pub fn consume_image(self) -> Array
Auto Trait Implementations§
impl Freeze for Diffractogram
impl RefUnwindSafe for Diffractogram
impl Send for Diffractogram
impl Sync for Diffractogram
impl Unpin for Diffractogram
impl UnwindSafe for Diffractogram
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> 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