pyfebiopt.optimize.adapters

Simulation adapters for reading FEBio output artifacts.

Classes

SimulationAdapter

Callable-based adapter that extracts data from FEBio artifacts.

Module Contents

class pyfebiopt.optimize.adapters.SimulationAdapter

Callable-based adapter that extracts data from FEBio artifacts.

reader: collections.abc.Callable[[pathlib.Path], tuple[numpy.ndarray, numpy.ndarray]]
read(xplt_path: pathlib.Path) tuple[numpy.ndarray, numpy.ndarray]

Return the simulated series for a given .xplt file.

Parameters:

xplt_path – Path to the simulation output file.

Returns:

Tuple with the simulated abscissa and ordinate arrays.