pub struct MiniPoleParams {
pub n0: N0,
pub err: f64,
pub err_type: ErrType,
pub m: Option<usize>,
pub symmetry: bool,
pub g_symmetric: bool,
pub compute_const: bool,
pub plane: Option<Plane>,
pub include_n0: bool,
pub k_max: usize,
pub ratio_max: f64,
}Expand description
Parameters of mini_pole, with the defaults of the reference.
Fields§
§n0: N0Choice of n0 (default automatic, shift 0).
err: f64Error tolerance, at least the noise level. Required: the reference’s default (knee detection) is not ported.
err_type: ErrTypeInterpretation of err (default absolute).
m: Option<usize>Maximum number of poles; None uses the precision of the first
ESPRIT. The result can have fewer: the bound of
EspritParams::m applies, and
nodes with |γ| ≥ 1 and poles whose weights do not exceed the error
are dropped.
symmetry: boolPreserve up-down symmetry.
g_symmetric: boolSymmetrize the data as G_ij(z) = G_ji(z).
compute_const: boolFit a constant term of G.
plane: Option<Plane>Plane for the pole weights; None uses Z without and W with
symmetry.
include_n0: boolInclude the first n0 points in the weight fit in the z plane.
k_max: usizeMaximum number of contour integrals (default 999).
ratio_max: f64Maximum ratio of oscillation when choosing n0 (default 10).
Implementations§
Trait Implementations§
Source§impl Clone for MiniPoleParams
impl Clone for MiniPoleParams
Source§impl Debug for MiniPoleParams
impl Debug for MiniPoleParams
Source§impl PartialEq for MiniPoleParams
impl PartialEq for MiniPoleParams
impl StructuralPartialEq for MiniPoleParams
Auto Trait Implementations§
impl Freeze for MiniPoleParams
impl RefUnwindSafe for MiniPoleParams
impl Send for MiniPoleParams
impl Sync for MiniPoleParams
impl Unpin for MiniPoleParams
impl UnsafeUnpin for MiniPoleParams
impl UnwindSafe for MiniPoleParams
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<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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
impl<T, U> Imply<T> for U
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 moreimpl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSendSync for T
impl<T> MaybeSync for Twhere
T: Sync,
§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.