pub struct RtsParams {
pub delta: f64,
pub mu: f64,
pub rho: f64,
pub tol: f64,
pub max_iter: usize,
pub lsmr_iter: usize,
pub tau: f64,
pub gamma: f64,
pub pad: [i64; 3],
}Expand description
RTS algorithm parameters (QSM.jl rts keywords and defaults)
Fields§
§delta: f64Threshold on |D| for the ill-conditioned k-space region (delta)
mu: f64Weight of the well-conditioned k-space data in step 2 (mu)
rho: f64Initial ADMM penalty parameter (rho)
tol: f64Stopping tolerance on the relative change of χ (tol)
max_iter: usizeMaximum ADMM iterations (maxit)
lsmr_iter: usizeLSMR iterations in step 1 (lstol)
tau: f64Raise rho when the primal residual falls by less than this factor (tau)
gamma: f64Factor rho is raised by (gamma)
pad: [i64; 3]Zero padding per axis, QSM.jl’s pad (default [0, 0, 0], QSM.jl’s): < 0 does not
pad that axis, ≥ 0 pads it by at least that many voxels, rounded up to QSM.jl’s fast
FFT size (see with_qsmjl_padding).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtsParams
impl RefUnwindSafe for RtsParams
impl Send for RtsParams
impl Sync for RtsParams
impl Unpin for RtsParams
impl UnsafeUnpin for RtsParams
impl UnwindSafe for RtsParams
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
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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