Export Kappa (pysb.export.kappa)

Module containing a class for returning the Kappa equivalent for a given PySB model.

Serves as a wrapper around pysb.generator.kappa.KappaGenerator.

For information on how to use the model exporters, see the documentation for pysb.export.

class pysb.export.kappa.KappaExporter(model, docstring=None)[source]

A class for returning the Kappa for a given PySB model.

Inherits from pysb.export.Exporter, which implements basic functionality for all exporters.

export(dialect='kasim')[source]

Generate the corresponding Kappa for the PySB model associated with the exporter. A wrapper around pysb.generator.kappa.KappaGenerator.

Parameters:
dialect(optional) string, either ‘kasim’ (default) or ‘complx’

The Kappa file syntax for the Kasim simulator is slightly different from that of the complx analyzer. This argument specifies which type of Kappa to produce (‘kasim’ is the default).

Returns:
string

The Kappa output.