pyfebiopt.optimize.adapters
===========================

.. py:module:: pyfebiopt.optimize.adapters

.. autoapi-nested-parse::

   Simulation adapters for reading FEBio output artifacts.



Classes
-------

.. autoapisummary::

   pyfebiopt.optimize.adapters.SimulationAdapter


Module Contents
---------------

.. py:class:: SimulationAdapter

   Callable-based adapter that extracts data from FEBio artifacts.


   .. py:attribute:: reader
      :type:  collections.abc.Callable[[pathlib.Path], tuple[numpy.ndarray, numpy.ndarray]]


   .. py:method:: read(xplt_path: pathlib.Path) -> tuple[numpy.ndarray, numpy.ndarray]

      Return the simulated series for a given `.xplt` file.

      :param xplt_path: Path to the simulation output file.

      :returns: Tuple with the simulated abscissa and ordinate arrays.



