htmd.kineticshmm module

class htmd.kineticshmm.KineticsHMM(model, temperature, concentration=1, source=None, sink=None)

Bases: object

getRates(source=None, sink=None)

Get the rates between two states

Parameters
  • source (int, optional) – The state index to use as source

  • sink (int, optional) – The state index to use as sink

Returns

rates – A Rates object containing the rates

Return type

Rates object

Example

>>> kin = Kinetics(model, temperature=300, concentration=0.015)
>>> r = kin.getRates()
>>> print(r)
>>> dg = r.g0eq