Top | ![]() |
![]() |
![]() |
![]() |
Properties
guint | max-obs | Read / Write / Construct Only |
guint | n-obs | Read |
gdouble | outliers-threshold | Read / Write / Construct Only |
gdouble | sd-min-scale | Read / Write / Construct Only |
gdouble | sd-scale | Read / Write / Construct Only |
Functions
ncm_stats_dist1d_epdf_new ()
NcmStatsDist1dEPDF * ncm_stats_dist1d_epdf_new (guint max_obs
,gdouble sd_scale
,gdouble sd_min_scale
);
Creates a new EPDF object, it creates an interpolated PDF from the observations.
ncm_stats_dist1d_epdf_add_obs ()
void ncm_stats_dist1d_epdf_add_obs (NcmStatsDist1dEPDF *epdf1d
,gdouble x
);
Adds a new observation x
to the epdf1d
updating the internal
approximation of the EPDF when necessary.
ncm_stats_dist1d_epdf_reset ()
void
ncm_stats_dist1d_epdf_reset (NcmStatsDist1dEPDF *epdf1d
);
Empty the object epdf1d
discarding all observations.
ncm_stats_dist1d_epdf_get_obs_mean ()
gdouble
ncm_stats_dist1d_epdf_get_obs_mean (NcmStatsDist1dEPDF *epdf1d
);
Calculates the mean value of the observations.
Property Details
The “max-obs”
property
“max-obs” guint
Maximum saved observations.
Flags: Read / Write / Construct Only
Allowed values: >= 10
Default value: 1000
The “outliers-threshold”
property
“outliers-threshold” gdouble
How many sigmas to consider an outlier.
Flags: Read / Write / Construct Only
Allowed values: [1,1000]
Default value: 20
The “sd-min-scale”
property
“sd-min-scale” gdouble
Percentage of the standard deviation to use as minimum distance.
Flags: Read / Write / Construct Only
Allowed values: [1e-20,1e+20]
Default value: 0.01
The “sd-scale”
property
“sd-scale” gdouble
Percentage of the standard deviation to use.
Flags: Read / Write / Construct Only
Allowed values: [1e-05,100000]
Default value: 0.1