impact.core.features module

class impact.core.features.BaseAnalyteFeature

Bases: object

Base multi analyte feature. Use this to create new features. A feature is anything calcaulted from multiple analytes

Attributes

data
data
class impact.core.features.BaseAnalyteFeatureFactory

Bases: object

Attributes

name  
requires  

Methods

add_analyte_data(analyte_data) Function called when new analyte is added.
add_analyte_data(analyte_data)

Function called when new analyte is added. If an analyte is required for this feature, ensure to save or use analyte. Do not manipulate raw analyte data. Parameters ———- analyte_data

name = None
requires = None
class impact.core.features.COBRAModelFactory

Bases: impact.core.features.BaseAnalyteFeature

Attributes

data

Methods

calculate()
calculate()
class impact.core.features.MassBalance(substrate, product=None, biomass=None)

Bases: impact.core.features.BaseAnalyteFeature

Attributes

data

Methods

calculate()
calculate_substrate_consumed()
calculate()
calculate_substrate_consumed()
data
class impact.core.features.MassBalanceFactory

Bases: object

class impact.core.features.NormalizedData(analyte, normalization_analyte)

Bases: impact.core.features.BaseAnalyteFeature

Normalizes a given analyte to another

Attributes

data
data
class impact.core.features.NormalizedDataFactory

Bases: impact.core.features.BaseAnalyteFeatureFactory

Methods

add_analyte_data(analyte) Function called when new analyte is added.
add_analyte_data(analyte)

Function called when new analyte is added. If an analyte is required for this feature, ensure to save or use analyte. Do not manipulate raw analyte data. Parameters ———- analyte_data

name = 'normalized_data'
requires = ['product', 'substrate', 'biomass']
class impact.core.features.ODNormalizedData(biomass, reporter)

Bases: impact.core.features.BaseAnalyteFeature

Attributes

data

Methods

calculate()
calculate()
data
class impact.core.features.ODNormalizedDataFactory

Bases: impact.core.features.BaseAnalyteFeatureFactory

Methods

add_analyte_data(analyte_data) Function called when new analyte is added.
add_analyte_data(analyte_data)

Function called when new analyte is added. If an analyte is required for this feature, ensure to save or use analyte. Do not manipulate raw analyte data. Parameters ———- analyte_data

name = 'od_normalized_data'
requires = ['biomass', 'reporter']
class impact.core.features.ProductYield(substrate, product)

Bases: impact.core.features.BaseAnalyteFeature

Attributes

data

Methods

calculate()
calculate_substrate_consumed()
calculate()
calculate_substrate_consumed()
data
class impact.core.features.ProductYieldFactory

Bases: impact.core.features.BaseAnalyteFeatureFactory

Methods

add_analyte_data(analyte_data) Function called when new analyte is added.
add_analyte_data(analyte_data)

Function called when new analyte is added. If an analyte is required for this feature, ensure to save or use analyte. Do not manipulate raw analyte data. Parameters ———- analyte_data

name = 'product_yield'
requires = ['substrate', 'product', 'biomass']
class impact.core.features.SpecificProductivity(biomass, analyte)

Bases: impact.core.features.BaseAnalyteFeature

Attributes

data

Methods

calculate() Calculate the specific productivity (dP/dt) given \(dP/dt = k_{Product} * X\)
calculate()

Calculate the specific productivity (dP/dt) given \(dP/dt = k_{Product} * X\)

data
class impact.core.features.SpecificProductivityFactory

Bases: object

Methods

add_analyte_data(analyte_data)
add_analyte_data(analyte_data)
name = 'specific_productivity'
requires = ['substrate', 'product', 'biomass']