Karana.KUtils.darts_model_file_converter

Karana.KUtils.darts_model_file_converter#

Convert DARTS model files to MultibodyDS.

This module contains tools to convert a DARTS model file to a MultibodyDS. Use the convertDARTSModelFile to do so.

Functions#

convertDARTSModelFile(...)

Convert a DARTS model file into a MultibodyDS.

Module Contents#

Karana.KUtils.darts_model_file_converter.convertDARTSModelFile(filename: pathlib.Path | str) Karana.Dynamics.SOADyn_types.MultibodyDS[source]#

Convert a DARTS model file into a MultibodyDS.

Parameters:

filename (Path|str) – The DARTS model file to convert.

Returns:

The MultibodyDS that corresponds with the provided DARTS model file.

Return type:

MultibodyDS