loica.sample

Module Contents

Classes

Sample

Representation of a sample that encapsulates GeneticNetwork and Metabolism.

class Sample(genetic_network=None, metabolism=None, assay=None, media=None, strain=None)

Representation of a sample that encapsulates GeneticNetwork and Metabolism. Incorporate environment information such as Supplements or chemicals, strain and media. Ex: 1 well in a plate, single cell. …

genetic_networkGeneticNetwork

genetic network that is part of the sample

metabolismMetabolism

metabolism that drives the genetic network in the sample

assayAssay

assay to which this sample belongs

mediastr

Name of the media in the sample

strainstr

Name of the strain in the sample

Methods

add_supplement(supplement, concentration)

stablishes the concentration of Supplement

initialize(self)
set_regulator(self, name, concentration)
set_reporter(self, name, concentration)
set_supplement(self, supplement, concentration, profile=None)
step(self, t, dt, stochastic=False)