pub struct TgvParams {
pub alpha1: f32,
pub alpha0: f32,
pub iterations: usize,
pub erosions: usize,
pub step_size: f32,
pub fieldstrength: f32,
pub te: f32,
pub tol: f32,
}Expand description
TGV parameters
Fields§
§alpha1: f32First-order TGV weight (gradient term)
alpha0: f32Second-order TGV weight (symmetric gradient term)
iterations: usizeNumber of primal-dual iterations
erosions: usizeNumber of mask erosions
step_size: f32Primal step size multiplier (larger = faster but less stable)
fieldstrength: f32Field strength in Tesla
te: f32Echo time in seconds
tol: f32Convergence tolerance (relative change in chi)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TgvParams
impl RefUnwindSafe for TgvParams
impl Send for TgvParams
impl Sync for TgvParams
impl Unpin for TgvParams
impl UnsafeUnpin for TgvParams
impl UnwindSafe for TgvParams
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