<s> from __future__ import print_function <EOL> from __future__ import unicode_literals <EOL> from __future__ import absolute_import <EOL> import sys , os <EOL> if os . path . join ( sys . path [ <NUM_LIT:0> ] [ : sys . path [ <NUM_LIT:0> ] . rfind ( os . sep ) ] , '<STR_LIT:..>' ) not in sys . path : <EOL> sys . path . append ( os . path . join ( sys . path [ <NUM_LIT:0> ] [ : sys . path [ <NUM_LIT:0> ] . rfind ( os . sep ) ] , '<STR_LIT:..>' ) ) <EOL> import pyeq2 <EOL> import numpy <EOL> numpy . seterr ( all = '<STR_LIT:ignore>' ) <EOL> import pyeq2 . Model_3D_BaseClass <EOL> class CompetitiveInhibitionA ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = a * x_in / ( b * ( <NUM_LIT:1.0> + y_in / c ) + x_in ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class CompetitiveInhibitionB ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = a * x_in / ( b * ( <NUM_LIT:1.0> + y_in / c ) + x_in ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class CompetitiveInhibitionC ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . XY ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> xy = inDataCacheDictionary [ '<STR_LIT>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = a * xy / ( b * ( <NUM_LIT:1.0> + y_in / c ) + x_in ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class InhibitionByCompetingSubstrateA ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = ( ( a * x_in ) / b ) / ( <NUM_LIT:1.0> + x_in / b + y_in / c ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class InhibitionByCompetingSubstrateB ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = ( ( a * y_in ) / b ) / ( <NUM_LIT:1.0> + y_in / b + x_in / c ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class InhibitionByCompetingSubstrateC ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . XY ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> xy = inDataCacheDictionary [ '<STR_LIT>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = ( ( a * xy ) / b ) / ( <NUM_LIT:1.0> + y_in / b + x_in / c ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class MichaelisMentenProductInhibition ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' , '<STR_LIT:d>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = False <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> d = inCoeffs [ <NUM_LIT:3> ] <EOL> try : <EOL> temp = ( a * x_in / b - c * y_in / d ) / ( <NUM_LIT:1.0> + x_in / b + y_in / d ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class MixedInhibitionA ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' , '<STR_LIT:d>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> d = inCoeffs [ <NUM_LIT:3> ] <EOL> try : <EOL> temp = a * x_in / ( b * ( <NUM_LIT:1.0> + y_in / c ) + ( x_in * ( <NUM_LIT:1.0> + y_in / d ) ) ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class MixedInhibitionB ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' , '<STR_LIT:d>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> d = inCoeffs [ <NUM_LIT:3> ] <EOL> try : <EOL> temp = a * y_in / ( b * ( <NUM_LIT:1.0> + x_in / c ) + ( y_in * ( <NUM_LIT:1.0> + x_in / d ) ) ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class NoncompetitiveInhibitionA ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = a * x_in / ( ( b + x_in ) * ( <NUM_LIT:1.0> + y_in / c ) ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class NoncompetitiveInhibitionB ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = a * y_in / ( ( b + y_in ) * ( <NUM_LIT:1.0> + x_in / c ) ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class PingPongBiBiA ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . XY ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> xy = inDataCacheDictionary [ '<STR_LIT>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = ( a * x_in ) / ( b * x_in + c * y_in + xy ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class PingPongBiBiB ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . XY ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> xy = inDataCacheDictionary [ '<STR_LIT>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = ( a * y_in ) / ( b * y_in + c * x_in + xy ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class PingPongBiBiC ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . XY ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> xy = inDataCacheDictionary [ '<STR_LIT>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = ( a * xy ) / ( b * y_in + c * x_in + xy ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class UncompetitiveInhibitionA ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = a * x_in / ( b + x_in * ( <NUM_LIT:1.0> + y_in / c ) ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s <EOL> class UncompetitiveInhibitionB ( pyeq2 . Model_3D_BaseClass . Model_3D_BaseClass ) : <EOL> _baseName = "<STR_LIT>" <EOL> _HTML = '<STR_LIT>' <EOL> _leftSideHTML = '<STR_LIT:z>' <EOL> _coefficientDesignators = [ '<STR_LIT:a>' , '<STR_LIT:b>' , '<STR_LIT:c>' ] <EOL> _canLinearSolverBeUsedForSSQABS = False <EOL> webReferenceURL = '<STR_LIT>' <EOL> baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions = True <EOL> autoGenerateOffsetForm = True <EOL> autoGenerateReciprocalForm = True <EOL> autoGenerateInverseForms = True <EOL> autoGenerateGrowthAndDecayForms = True <EOL> independentData1CannotContainZeroFlag = False <EOL> independentData1CannotContainPositiveFlag = False <EOL> independentData1CannotContainNegativeFlag = False <EOL> independentData2CannotContainZeroFlag = False <EOL> independentData2CannotContainPositiveFlag = False <EOL> independentData2CannotContainNegativeFlag = False <EOL> def GetDataCacheFunctions ( self ) : <EOL> functionList = [ ] <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . Y ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> functionList . append ( [ pyeq2 . DataCache . DataCacheFunctions . X ( NameOrValueFlag = <NUM_LIT:1> ) , [ ] ] ) <EOL> return self . extendedVersionHandler . GetAdditionalDataCacheFunctions ( self , functionList ) <EOL> def CalculateModelPredictions ( self , inCoeffs , inDataCacheDictionary ) : <EOL> x_in = inDataCacheDictionary [ '<STR_LIT:X>' ] <EOL> y_in = inDataCacheDictionary [ '<STR_LIT:Y>' ] <EOL> a = inCoeffs [ <NUM_LIT:0> ] <EOL> b = inCoeffs [ <NUM_LIT:1> ] <EOL> c = inCoeffs [ <NUM_LIT:2> ] <EOL> try : <EOL> temp = a * y_in / ( b + y_in * ( <NUM_LIT:1.0> + x_in / c ) ) <EOL> return self . extendedVersionHandler . GetAdditionalModelPredictions ( temp , inCoeffs , inDataCacheDictionary , self ) <EOL> except : <EOL> return numpy . ones ( len ( inDataCacheDictionary [ '<STR_LIT>' ] ) ) * <NUM_LIT> <EOL> def SpecificCodeCPP ( self ) : <EOL> s = "<STR_LIT>" <EOL> return s </s>
