pub struct IsmvParams {
pub tol: f64,
pub max_iter: usize,
pub radius_factor: f64,
}Expand description
iSMV background field removal
§Arguments
field- Total field (nx * ny * nz)mask- Binary mask (nx * ny * nz), 1 = brain, 0 = backgroundnx,ny,nz- Array dimensionsvsx,vsy,vsz- Voxel sizes in mmradius- SMV kernel radius in mmtol- Convergence tolerancemax_iter- Maximum iterations
iSMV algorithm parameters
Fields§
§tol: f64Convergence tolerance
max_iter: usizeMaximum iterations
radius_factor: f64Kernel radius factor (multiplied by max voxel size; default: 2.0)
Trait Implementations§
Source§impl Clone for IsmvParams
impl Clone for IsmvParams
Source§fn clone(&self) -> IsmvParams
fn clone(&self) -> IsmvParams
Returns a duplicate of the value. Read more
1.0.0 · 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 IsmvParams
impl Debug for IsmvParams
Auto Trait Implementations§
impl Freeze for IsmvParams
impl RefUnwindSafe for IsmvParams
impl Send for IsmvParams
impl Sync for IsmvParams
impl Unpin for IsmvParams
impl UnsafeUnpin for IsmvParams
impl UnwindSafe for IsmvParams
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