Welcome to the cellmlmanip documentation¶
Cellmlmanip is hosted on GitHub, where you can find the code and installation instructions.
This page provides the API, or developer documentation for cellmlmanip.
Contents¶
- Reading CellML
- The Model API
ModelModel.variables()Model.get_free_variable()Model.get_state_variables()Model.get_derivatives()Model.get_derived_quantities()Model.get_display_name()Model.is_state()Model.is_constant()Model.get_variable_by_name()Model.get_variable_by_cmeta_id()Model.get_variable_by_ontology_term()Model.get_variables_by_rdf()Model.get_rdf_value()Model.get_rdf_annotations()Model.get_ontology_terms_by_variable()Model.has_ontology_annotation()Model.has_cmeta_id()Model.get_definition()Model.get_value()Model.get_equations_for()Model.graphModel.graph_with_sympy_numbersModel.get_unique_name()Model.add_variable()Model.remove_variable()Model.add_equation()Model.remove_equation()Model.create_quantity()Model.add_cmeta_id()Model.add_rdf()Model.transfer_cmeta_id()Model.convert_variable()Model.find_variables_and_derivatives()Model.remove_fixable_singularities()
QuantityVariableDataDirectionFlowVariableTypecreate_rdf_node()
- Units
UnitStoreUnitStore.UnitUnitStore.QuantityUnitStore.add_unit()UnitStore.add_base_unit()UnitStore.is_defined()UnitStore.get_unit()UnitStore.format()UnitStore.is_equivalent()UnitStore.evaluate_units()UnitStore.get_conversion_factor()UnitStore.convert()UnitStore.add_conversion_rule()UnitStore.evaluate_units_and_fix()UnitStore.convert_expression_recursively()
UnitCalculatorUnitErrorUnexpectedMathUnitsErrorInputArgumentsInvalidUnitsErrorInputArgumentsMustBeDimensionlessErrorInputArgumentMustBeNumberErrorBooleanUnitsErrorUnitConversionError
- Code generation