pub struct SwiParams {
pub mag_combine: MagCombine,
pub sensitivity: Sensitivity,
pub softplus: bool,
pub unwrap: SwiUnwrap,
pub echo_weighting: B0WeightType,
pub hp_sigma: [f64; 3],
pub scaling: PhaseScaling,
pub strength: f64,
pub mip_window: usize,
}Expand description
CLEAR-SWI parameters. The defaults are CLEARSWI.jl’s Options() defaults.
Fields§
§mag_combine: MagCombineHow the echoes’ magnitudes are combined (default: MagCombine::Rss, CLEARSWI.jl’s :SNR)
sensitivity: SensitivityReceive-sensitivity (bias-field) correction of the combined magnitude
(default: Sensitivity::Estimate with CLEARSWI.jl’s default sigma)
softplus: boolScale the corrected magnitude with softplus_scaling, offset at half the 80th
percentile (default: true)
unwrap: SwiUnwrapPhase unwrapping (default: SwiUnwrap::Laplacian)
echo_weighting: B0WeightTypeEcho weighting when combining the filtered phases into a frequency map
(default: B0WeightType::PhaseSNR, mag·TE)
hp_sigma: [f64; 3]High-pass filter sigma in voxels [x, y, z] (default: [4, 4, 0])
scaling: PhaseScalingPhase mask scaling (default: PhaseScaling::Tanh)
strength: f64Phase mask strength; for the rescaling masks, the power (default: 4)
mip_window: usizeMinimum-intensity projection window in slices (default: 7)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SwiParams
impl RefUnwindSafe for SwiParams
impl Send for SwiParams
impl Sync for SwiParams
impl Unpin for SwiParams
impl UnsafeUnpin for SwiParams
impl UnwindSafe for SwiParams
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
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>
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>
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)
&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)
&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> ⓘ
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> ⓘ
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