pub enum PsfModel {
DoubleGaussian,
TripleGaussian,
}Expand description
Which proximity function is fitted.
Variants§
DoubleGaussian
(α, β, η): Mao et al. (2025) eq. (1), after Chang (1975).
TripleGaussian
(α, β, η, γ, ν): Rosa Figueiro (2015) eq. (72) with two backscatter
terms.
Implementations§
Source§impl PsfModel
impl PsfModel
Sourcepub fn parameters(&self) -> usize
pub fn parameters(&self) -> usize
Number of free parameters, E included.
Sourcepub fn parameter_names(&self) -> Vec<&'static str>
pub fn parameter_names(&self) -> Vec<&'static str>
Parameter names in PsfFit::values order.
Trait Implementations§
impl Copy for PsfModel
Source§impl<'de> Deserialize<'de> for PsfModel
impl<'de> Deserialize<'de> for PsfModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PsfModel
Source§impl From<PsfFitSpec> for PsfModel
impl From<PsfFitSpec> for PsfModel
Source§fn from(f: PsfFitSpec) -> Self
fn from(f: PsfFitSpec) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for PsfModel
Auto Trait Implementations§
impl Freeze for PsfModel
impl RefUnwindSafe for PsfModel
impl Send for PsfModel
impl Sync for PsfModel
impl Unpin for PsfModel
impl UnsafeUnpin for PsfModel
impl UnwindSafe for PsfModel
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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