|
| __init__ (self, uqsetting) |
|
| getSamplesSorted (self, chunktag=None, first=0, number=None, not_match=None, **kwargs) |
|
| listChunks (self, chunk_ref=None, **kwargs) |
|
| listQoI (self) |
|
| listTime (self) |
|
| loadfile (self, filename) |
|
| makeIndex (self) |
|
| setQoI (self, qoi) |
|
| setSampleFormat (self, onlyActive=False, unitcube=False, onlyValues=False, raw=False) |
|
| setTag (self, **kwargs) |
|
| setTime (self, time) |
|
| tagMatch (self, tag, chunk_ref, not_match=None) |
|
◆ __init__()
python.uq.uq_setting.samplingresult.Samplingresult.__init__ |
( |
|
self, |
|
|
|
uqsetting |
|
) |
| |
Create a Samplingresult using data of the given UQSetting. If
a filename or a list of filenames is given, load the UQSetting
from those files.
◆ getSamplesSorted()
python.uq.uq_setting.samplingresult.Samplingresult.getSamplesSorted |
( |
|
self, |
|
|
|
chunktag = None , |
|
|
|
first = 0 , |
|
|
|
number = None , |
|
|
|
not_match = None , |
|
|
** |
kwargs |
|
) |
| |
Returns the samples which match the preset parameters and are assigned
to the chunk given by the chunktag. The samples will be ordered as
they are in the chunk.
@param chunktag: denotes the chunk
@param first: index of the first sample to return
@param number: number of samples to return, None for all
@param not_match: tags matching not_match will be excluded from the result
@param kwargs: same as a dict for chunktag
References python.uq.uq_setting.samplingresult.Samplingresult.chunk_ref, sgpp::base::HashGridIterator.index, sgpp::base::HashGridPoint.index, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.index, python.uq.uq_setting.samplingresult.Samplingresult.index, python.utils.json._StringGenerator.index, sgpp::datadriven::LevelIndexPair.index, sgpp::datadriven::clusteringmpi::MPIWorkerBase.index, sgpp::datadriven::OperationMultiEvalModMaskStreaming.index, sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >.index, sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >.index, sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >.index, sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >.index, sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >.index, sgpp::quadrature::HaltonSampleGenerator.index, python.uq.uq_setting.samplingresult.Samplingresult.onlyActive, python.uq.uq_setting.samplingresult.Samplingresult.onlyValues, python.uq.uq_setting.samplingresult.Samplingresult.post_stats, python.uq.uq_setting.samplingresult.Samplingresult.qoi, python.uq.uq_setting.samplingresult.Samplingresult.raw, python.uq.uq_setting.samplingresult.Samplingresult.sim_stats, python.uq.uq_setting.samplingresult.Samplingresult.tag_stats, python.uq.uq_setting.samplingresult.Samplingresult.tagMatch(), python.uq.uq_setting.samplingresult.Samplingresult.time, python.uq.uq_setting.samplingresult.Samplingresult.unitcube, and python.uq.uq_setting.samplingresult.Samplingresult.uq.
◆ listChunks()
python.uq.uq_setting.samplingresult.Samplingresult.listChunks |
( |
|
self, |
|
|
|
chunk_ref = None , |
|
|
** |
kwargs |
|
) |
| |
Return the available chunks in the dataset as a list of chunk tags.
Slow and should not be used.
@param chunk_ref: return only those of the given prototype (Values
the same for all keys in prototype.)
@param kwargs: alternate synty for chunk_ref
References python.uq.uq_setting.samplingresult.Samplingresult.__tagToTuple(), and python.uq.uq_setting.samplingresult.Samplingresult.tag_stats.
◆ listQoI()
python.uq.uq_setting.samplingresult.Samplingresult.listQoI |
( |
|
self | ) |
|
◆ listTime()
python.uq.uq_setting.samplingresult.Samplingresult.listTime |
( |
|
self | ) |
|
◆ loadfile()
python.uq.uq_setting.samplingresult.Samplingresult.loadfile |
( |
|
self, |
|
|
|
filename |
|
) |
| |
◆ makeIndex()
python.uq.uq_setting.samplingresult.Samplingresult.makeIndex |
( |
|
self | ) |
|
Creates an index over the samples by tag. This speeds up searching for
a short chunk in a huge dataset (might be a factor of 100) but this
might not always be the case.
The index stored in the index attribute is a dict of lists of sample
points indexed by "atomic" tags (those reported by listChunks()) which
are flattend into tuples of (key, value) tuples.
◆ setQoI()
python.uq.uq_setting.samplingresult.Samplingresult.setQoI |
( |
|
self, |
|
|
|
qoi |
|
) |
| |
◆ setSampleFormat()
python.uq.uq_setting.samplingresult.Samplingresult.setSampleFormat |
( |
|
self, |
|
|
|
onlyActive = False , |
|
|
|
unitcube = False , |
|
|
|
onlyValues = False , |
|
|
|
raw = False |
|
) |
| |
◆ setTag()
python.uq.uq_setting.samplingresult.Samplingresult.setTag |
( |
|
self, |
|
|
** |
kwargs |
|
) |
| |
◆ setTime()
python.uq.uq_setting.samplingresult.Samplingresult.setTime |
( |
|
self, |
|
|
|
time |
|
) |
| |
◆ tagMatch()
python.uq.uq_setting.samplingresult.Samplingresult.tagMatch |
( |
|
self, |
|
|
|
tag, |
|
|
|
chunk_ref, |
|
|
|
not_match = None |
|
) |
| |
◆ chunk_ref
python.uq.uq_setting.samplingresult.Samplingresult.chunk_ref |
◆ index
python.uq.uq_setting.samplingresult.Samplingresult.index |
◆ onlyActive
python.uq.uq_setting.samplingresult.Samplingresult.onlyActive |
◆ onlyValues
python.uq.uq_setting.samplingresult.Samplingresult.onlyValues |
◆ post_stats
python.uq.uq_setting.samplingresult.Samplingresult.post_stats |
◆ qoi
python.uq.uq_setting.samplingresult.Samplingresult.qoi |
◆ raw
python.uq.uq_setting.samplingresult.Samplingresult.raw |
◆ sim_stats
python.uq.uq_setting.samplingresult.Samplingresult.sim_stats |
◆ tag_stats
python.uq.uq_setting.samplingresult.Samplingresult.tag_stats |
◆ time
python.uq.uq_setting.samplingresult.Samplingresult.time |
◆ unitcube
python.uq.uq_setting.samplingresult.Samplingresult.unitcube |
◆ uq
python.uq.uq_setting.samplingresult.Samplingresult.uq |
The documentation for this class was generated from the following file: