Commit 59069a45 authored by HUANG Wei Chih's avatar HUANG Wei Chih
Browse files

change sigmoid function back to zero-order ultrasensitivity in mm kinetics

parent 7a32b85a
......@@ -2220,14 +2220,10 @@ init_sin( OdeSystem, Z, T, G ) :-
pos_sigmoid_to_PIVP( OdeSystem, X, Z ) :-
% pos_sigmoid_to_PIVP( +OdeSystem, +VariableXName, +VariableZName )
new_variable( OdeSystem, SX, 0.5 ),
new_variable( OdeSystem, T ),
constant( true, True ),
SwitchInit = 3,
Scale is True / SwitchInit,
Threshold is True / 2,
switch_to_PIVP( OdeSystem, SX, X, _, T, [ x_init(SwitchInit), y_init(0) ] ),
multiplication_to_PIVP( OdeSystem, T, Scale, Z ).
zero_order_to_PIVP( OdeSystem, Threshold, X, _, Z ).
% }}}
/* z = neg_sigmoid( x ):{{{
*
......@@ -2240,14 +2236,10 @@ pos_sigmoid_to_PIVP( OdeSystem, X, Z ) :-
neg_sigmoid_to_PIVP( OdeSystem, X, Z ) :-
% neg_sigmoid_to_PIVP( +OdeSystem, +VariableXName, +VariableZName )
new_variable( OdeSystem, SX, 0.5 ),
new_variable( OdeSystem, T ),
constant( true, True ),
SwitchInit = 3,
Scale is True / SwitchInit,
Threshold is True / 2,
switch_to_PIVP( OdeSystem, X, SX, _, T, [ x_init(SwitchInit), y_init(0) ] ),
multiplication_to_PIVP( OdeSystem, T, Scale, Z ).
zero_order_to_PIVP( OdeSystem, Threshold, X, Z, _ ).
% }}}
/* z = pos_number_to_bool( x ):{{{
*
......@@ -2260,10 +2252,7 @@ neg_sigmoid_to_PIVP( OdeSystem, X, Z ) :-
pos_number_to_bool_to_PIVP( OdeSystem, X, Z ) :-
% pos_number_to_bool_to_PIVP( +OdeSytem, +VariableXName, +VariableZName )
new_variable( OdeSystem, SX, 0.3 ),
constant( true, True ),
switch_to_PIVP( OdeSystem, SX, X, _, Z, [ x_init(True), y_init(0) ] ).
zero_order_to_PIVP( OdeSystem, 0.2, X, _, Z ).
pos_number_to_bool_to_PIVP( OdeSystem, X, Z, bidir ) :-
% pos_number_to_bool_to_PIVP( +OdeSytem, +VariableXName, +VariableZName, bidir )
......@@ -2285,10 +2274,7 @@ pos_number_to_bool_to_PIVP( OdeSystem, X, Z, bidir ) :-
neg_number_to_bool_to_PIVP( OdeSystem, X, Z ) :-
% neg_number_to_bool_to_PIVP( +OdeSytem, +VariableXName, +VariableZName )
new_variable( OdeSystem, SX, 0.3 ),
constant( true, True ),
switch_to_PIVP( OdeSystem, X, SX, _, Z, [ x_init(True), y_init(0) ] ).
zero_order_to_PIVP( OdeSystem, 0.2, X, Z, _ ).
neg_number_to_bool_to_PIVP( OdeSystem, X, Z, bidir ) :-
% neg_number_to_bool_to_PIVP( +OdeSytem, +VariableXName, +VariableZName, bidir )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment