pub struct LinearFitResult {
pub field: Vec<f64>,
pub phase_offset: Vec<f64>,
pub fit_residual: Vec<f64>,
pub reliability_mask: Vec<u8>,
}Expand description
Result of multi-echo linear fit
Fields§
§field: Vec<f64>Field map (slope) in rad/s (divide by 2π for Hz)
phase_offset: Vec<f64>Phase offset (intercept) in radians
fit_residual: Vec<f64>Fit residual (normalized by magnitude sum)
reliability_mask: Vec<u8>Reliability mask (1 = reliable, 0 = unreliable)
Auto Trait Implementations§
impl Freeze for LinearFitResult
impl RefUnwindSafe for LinearFitResult
impl Send for LinearFitResult
impl Sync for LinearFitResult
impl Unpin for LinearFitResult
impl UnsafeUnpin for LinearFitResult
impl UnwindSafe for LinearFitResult
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