summaryrefslogtreecommitdiff
path: root/js/Threshold
diff options
context:
space:
mode:
Diffstat (limited to 'js/Threshold')
-rw-r--r--js/Threshold/GENERAL_f.js16
-rw-r--r--js/Threshold/NEGTOPOS_f.js16
-rw-r--r--js/Threshold/POSTONEG_f.js16
-rw-r--r--js/Threshold/ZCROSS_f.js16
4 files changed, 32 insertions, 32 deletions
diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js
index 9cb344fd..fbcf1cf8 100644
--- a/js/Threshold/GENERAL_f.js
+++ b/js/Threshold/GENERAL_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/GENERAL_f.sci" */
function GENERAL_f() {
-GENERAL_f.prototype.define = function GENERAL_f() {
+ GENERAL_f.prototype.define = function GENERAL_f() {
rpar=[[0],[0],[0],[0]];
in1=1;
out=1;
@@ -16,12 +16,12 @@ model.dep_ut=[true,false];
exprs=[[strcat(sci2exp(in1))],[strcat(sci2exp(out))]];
gr_i=[];
x=standard_define([3,2],model,exprs,gr_i);
-}
-GENERAL_f.prototype.details = function GENERAL_f() {
-}
-GENERAL_f.prototype.get = function GENERAL_f() {
-}
-GENERAL_f.prototype.set = function GENERAL_f() {
+ }
+ GENERAL_f.prototype.details = function GENERAL_f() {
+ }
+ GENERAL_f.prototype.get = function GENERAL_f() {
+ }
+ GENERAL_f.prototype.set = function GENERAL_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -55,5 +55,5 @@ x.model=model;
}
}
}
-}
+ }
}
diff --git a/js/Threshold/NEGTOPOS_f.js b/js/Threshold/NEGTOPOS_f.js
index 9e86ae7e..ae16877b 100644
--- a/js/Threshold/NEGTOPOS_f.js
+++ b/js/Threshold/NEGTOPOS_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/NEGTOPOS_f.sci" */
function NEGTOPOS_f() {
-NEGTOPOS_f.prototype.define = function NEGTOPOS_f() {
+ NEGTOPOS_f.prototype.define = function NEGTOPOS_f() {
model=scicos_model();
model.sim=list("zcross",1);
model.nzcross=1;
@@ -12,13 +12,13 @@ model.firing=-1;
model.dep_ut=[true,false];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-NEGTOPOS_f.prototype.details = function NEGTOPOS_f() {
-}
-NEGTOPOS_f.prototype.get = function NEGTOPOS_f() {
-}
-NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
+ }
+ NEGTOPOS_f.prototype.details = function NEGTOPOS_f() {
+ }
+ NEGTOPOS_f.prototype.get = function NEGTOPOS_f() {
+ }
+ NEGTOPOS_f.prototype.set = function NEGTOPOS_f() {
x=arg1;
x.model.firing=-1;
-}
+ }
}
diff --git a/js/Threshold/POSTONEG_f.js b/js/Threshold/POSTONEG_f.js
index 838318bc..18649a50 100644
--- a/js/Threshold/POSTONEG_f.js
+++ b/js/Threshold/POSTONEG_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/POSTONEG_f.sci" */
function POSTONEG_f() {
-POSTONEG_f.prototype.define = function POSTONEG_f() {
+ POSTONEG_f.prototype.define = function POSTONEG_f() {
rpar=[[-1],[-1],[-1],[0]];
model=scicos_model();
model.sim=list("zcross",1);
@@ -13,13 +13,13 @@ model.dep_ut=[true,false];
model.firing=[-1];
gr_i=[];
x=standard_define([2,2],model,[],gr_i);
-}
-POSTONEG_f.prototype.details = function POSTONEG_f() {
-}
-POSTONEG_f.prototype.get = function POSTONEG_f() {
-}
-POSTONEG_f.prototype.set = function POSTONEG_f() {
+ }
+ POSTONEG_f.prototype.details = function POSTONEG_f() {
+ }
+ POSTONEG_f.prototype.get = function POSTONEG_f() {
+ }
+ POSTONEG_f.prototype.set = function POSTONEG_f() {
x=arg1;
x.model.firing=[-1];
-}
+ }
}
diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js
index 35da7709..3d77edcc 100644
--- a/js/Threshold/ZCROSS_f.js
+++ b/js/Threshold/ZCROSS_f.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Threshold/ZCROSS_f.sci" */
function ZCROSS_f() {
-ZCROSS_f.prototype.define = function ZCROSS_f() {
+ ZCROSS_f.prototype.define = function ZCROSS_f() {
rpar=[[-1],[-1],[0],[0]];
in1=1;
model=scicos_model();
@@ -15,12 +15,12 @@ model.dep_ut=[true,false];
exprs=strcat(sci2exp(in1));
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-ZCROSS_f.prototype.details = function ZCROSS_f() {
-}
-ZCROSS_f.prototype.get = function ZCROSS_f() {
-}
-ZCROSS_f.prototype.set = function ZCROSS_f() {
+ }
+ ZCROSS_f.prototype.details = function ZCROSS_f() {
+ }
+ ZCROSS_f.prototype.get = function ZCROSS_f() {
+ }
+ ZCROSS_f.prototype.set = function ZCROSS_f() {
x=arg1;
graphics=arg1.graphics;
exprs=graphics.exprs;
@@ -48,5 +48,5 @@ x.model=model;
break;
}
}
-}
+ }
}