Sample¶
Sample represents one observation. It contains Features among (all optional):
scalars: name → value
time series: name → (time_sequence, values)
meshes containing:
nodes: mesh node coordinates, that can be located:
in different bases
in different zones in each base
fields, arrays that can be located:
in different bases
in different zones in each base
in different locations in each base/zone among:
Vertex,EdgeCenter,FaceCenter, orCellCenter
Key APIs include:
Feature accessors:
get_scalar(),get_time_series(),get_field(),get_nodes()Feature updates:
add_scalar(),add_time_series(),add_field(),set_nodes(), and high-level identifier-based updatesDiscovery:
get_all_features_identifiers()orget_all_features_identifiers_by_type()to list all available features with their context
See also: Notebooks for hands-on examples.