| Top |
Properties
| NcmStatsDist1dEPDFBw | bandwidth | Read / Write / Construct Only |
| gdouble | h-fixed | Read / Write / Construct |
| 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 |
Functions
ncm_stats_dist1d_epdf_new_full ()
NcmStatsDist1dEPDF * ncm_stats_dist1d_epdf_new_full (guint max_obs,NcmStatsDist1dEPDFBw bw,gdouble h_fixed,gdouble sd_min_scale);
Creates a new EPDF object, it creates an interpolated PDF from the observations.
ncm_stats_dist1d_epdf_new ()
NcmStatsDist1dEPDF *
ncm_stats_dist1d_epdf_new (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 “bandwidth” property
“bandwidth” NcmStatsDist1dEPDFBw
Bandwidth method.
Flags: Read / Write / Construct Only
Default value: NCM_STATS_DIST1D_EPDF_BW_AUTO
The “h-fixed” property
“h-fixed” gdouble
Fixed bandwidth.
Flags: Read / Write / Construct
Allowed values: [1e-05,100000]
Default value: 0.1
The “max-obs” property
“max-obs” guint
Maximum observations before compacting.
Flags: Read / Write / Construct Only
Allowed values: >= 10
Default value: 200
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.001