Skip to content

ResultSet

ResultSet

ResultSet(readers: Sequence[ResultReader])

Present serial or partitioned recorder files through one interface.

Attributes

readers instance-attribute

readers = tuple(readers)

_times instance-attribute

_times: Optional[ndarray] = None

_times_loaded instance-attribute

_times_loaded = False

paths property

paths: tuple[Path, ...]

number_of_partitions property

number_of_partitions: int

times property

times: Optional[ndarray]

number_of_steps property

number_of_steps: int

available_point_responses property

available_point_responses: tuple[str, ...]

available_cell_responses property

available_cell_responses: tuple[str, ...]

Methods:

_common_responses

_common_responses(attribute: str) -> tuple[str, ...]

supports

supports(capability: str) -> bool

mesh

mesh(partition: int = 0, *, copy: bool = False)

Return one partition mesh.

nearest_point

nearest_point(coordinate: Iterable[float], *, tolerance: Optional[float] = None) -> PointSelection

Find the nearest point across all result partitions.

point_history

point_history(response: str, point: PointSelection, component: Component = None) -> np.ndarray

Return a selected point's history.

cell_history

cell_history(response: str, cell_index: int, *, partition: int = 0, component: Component = None) -> np.ndarray

Return a cell history from one partition.

deformation_renderer

deformation_renderer()

Create a reusable deformation renderer for mesh-capable results.

close

close() -> None

__enter__

__enter__() -> 'ResultSet'

__exit__

__exit__(exc_type, exc_value, traceback) -> None