pub struct DensityProfiles(/* private fields */);Expand description
Evaluated scientific density profiles and the independent real observations and summaries used by the categorical distribution renderer.
Implementations§
Source§impl DensityProfiles
impl DensityProfiles
Sourcepub fn coordinate(&self) -> &NumericValues
pub fn coordinate(&self) -> &NumericValues
Evaluation coordinates.
Sourcepub fn density(&self) -> &NumericValues
pub fn density(&self) -> &NumericValues
Original KDE values before any display normalization or closure.
Sourcepub fn normalized_width(&self) -> &NumericValues
pub fn normalized_width(&self) -> &NumericValues
Dimensionless painted profile widths, including the actual closing seam.
Sourcepub fn bandwidth(&self) -> &NumericValues
pub fn bandwidth(&self) -> &NumericValues
Actual kernel bandwidth at each node of its group.
Sourcepub fn display_maximum(&self) -> &NumericValues
pub fn display_maximum(&self) -> &NumericValues
Actual per-group divisor used for display normalization.
Sourcepub fn get_summaries(&self) -> Option<&BoxSummary>
pub fn get_summaries(&self) -> Option<&BoxSummary>
Actual inner box statistics.
Sourcepub fn get_observations(&self) -> Option<&GroupedObservations>
pub fn get_observations(&self) -> Option<&GroupedObservations>
Actual admitted observations in their independent domain.
Sourcepub fn get_counts(&self) -> Option<&ProfileCounts>
pub fn get_counts(&self) -> Option<&ProfileCounts>
Actual group counts.
Sourcepub fn domains(&self) -> &[DataDomainInfo]
pub fn domains(&self) -> &[DataDomainInfo]
Actual curve, summary, observation and count domains.
Sourcepub fn members_in(
&self,
domain: &DataDomainRef,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members_in( &self, domain: &DataDomainRef, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Read a member in a specified domain.
Sourcepub fn members(
&self,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members( &self, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Read a member when there is one actual domain.
Trait Implementations§
Source§impl Clone for DensityProfiles
impl Clone for DensityProfiles
Source§fn clone(&self) -> DensityProfiles
fn clone(&self) -> DensityProfiles
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for DensityProfiles
impl Freeze for DensityProfiles
impl Move for DensityProfiles
impl RefUnwindSafe for DensityProfiles
impl Send for DensityProfiles
impl Sync for DensityProfiles
impl Unpin for DensityProfiles
impl UnsafeUnpin for DensityProfileswhere
*const ArcInner<ProfileData> is !null: UnsafeUnpin,
PhantomData<ArcInner<ProfileData>>: UnsafeUnpin,
impl UnwindSafe for DensityProfileswhere
Arc<ProfileData>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.