pub struct PdfParams {
pub tol: f64,
}Expand description
PDF 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 mmbdir- B0 field directiontol- Convergence tolerance for LSMRmax_iter- Maximum iterations for LSMR
PDF algorithm parameters
Fields§
§tol: f64Convergence tolerance
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PdfParams
impl RefUnwindSafe for PdfParams
impl Send for PdfParams
impl Sync for PdfParams
impl Unpin for PdfParams
impl UnsafeUnpin for PdfParams
impl UnwindSafe for PdfParams
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