|
def | __init__ (self, uqsetting) |
|
def | getSamplesSorted (self, chunktag=None, first=0, number=None, not_match=None, kwargs) |
|
def | listChunks (self, chunk_ref=None, kwargs) |
|
def | listQoI (self) |
|
def | listTime (self) |
|
def | loadfile (self, filename) |
|
def | makeIndex (self) |
|
def | setQoI (self, qoi) |
|
def | setSampleFormat (self, onlyActive=False, unitcube=False, onlyValues=False, raw=False) |
|
def | setTag (self, kwargs) |
|
def | setTime (self, time) |
|
def | tagMatch (self, tag, chunk_ref, not_match=None) |
|
◆ __init__()
def 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()
def 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::combigrid::MultiIndexIterator.index, python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid.index, sgpp::combigrid::BoundedSumMultiIndexIterator.index, python.uq.uq_setting.samplingresult.Samplingresult.index, sgpp::base::HashGridIterator.index, sgpp::base::HashGridPoint.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.
Referenced by python.uq.uq_setting.samplingresult.Samplingresult.tagMatch().
◆ listChunks()
def 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()
def python.uq.uq_setting.samplingresult.Samplingresult.listQoI |
( |
|
self | ) |
|
◆ listTime()
def python.uq.uq_setting.samplingresult.Samplingresult.listTime |
( |
|
self | ) |
|
◆ loadfile()
def python.uq.uq_setting.samplingresult.Samplingresult.loadfile |
( |
|
self, |
|
|
|
filename |
|
) |
| |
◆ makeIndex()
def 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()
def python.uq.uq_setting.samplingresult.Samplingresult.setQoI |
( |
|
self, |
|
|
|
qoi |
|
) |
| |
◆ setSampleFormat()
def python.uq.uq_setting.samplingresult.Samplingresult.setSampleFormat |
( |
|
self, |
|
|
|
onlyActive = False , |
|
|
|
unitcube = False , |
|
|
|
onlyValues = False , |
|
|
|
raw = False |
|
) |
| |
◆ setTag()
def python.uq.uq_setting.samplingresult.Samplingresult.setTag |
( |
|
self, |
|
|
|
kwargs |
|
) |
| |
◆ setTime()
def python.uq.uq_setting.samplingresult.Samplingresult.setTime |
( |
|
self, |
|
|
|
time |
|
) |
| |
◆ tagMatch()
def 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: