MVSamples (class)
NOTE: MVSamples.weights is only supported with scipy version 1.2+
Treatment under-the-hood:
-
MVSamples.sample, MVSamples.calculate_means, MVSamples.calculate_covariances act directly on the stored array in MVSamples.samples, unless MVSamples.weights are provided, in which case will act on a drawn sample from MVSamples.sample (with the exception of MVSamples.mean which calls numpy.average under-the-hood and passes MVSamples.samples and MVSamples.weights).
-
all other methods requiring a probability to be computed (MVSamples.pdf etc) rely on a KDE with MVSamples.samples, MVSamples.weights, and MVSamples.bw_method. See https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.gaussian_kde.html
- arccos
- arcsin
- arctan
- arctan2
- bw_method
- cached_sample
- calculate_covariances
- calculate_means
- calculate_means_covariances
- cdf
- clear_cached_sample
- copy
- cos
- deepcopy
- dist_constructor_args
- dist_constructor_func
- dist_constructor_object
- get_wrap_at
- interval
- labels
- labels_latex
- log
- log10
- logcdf
- logpdf
- ndimensions
- nsamples
- plot
- plot_cdf
- plot_gaussian
- plot_pdf
- plot_sample
- plot_uncertainties
- ppf
- sample
- samples
- sin
- slice
- take_dimensions
- tan
- to_dict
- to_file
- to_gaussian
- to_histogram
- to_json
- to_mvgaussian
- to_mvhistogram
- to_samples
- to_univariate
- uncertainties
- uniqueid
- units
- weights
- wrap_ats