diff options
author | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
commit | ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch) | |
tree | 6a07bd0428e542567726ff7325fcb71203ad6d15 /js/NonLinear | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/NonLinear')
-rw-r--r-- | js/NonLinear/ABSBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/ABS_VALUE.js | 4 | ||||
-rw-r--r-- | js/NonLinear/COSBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/DLRADAPT_f.js | 9 | ||||
-rw-r--r-- | js/NonLinear/EXPBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/EXPBLK_m.js | 3 | ||||
-rw-r--r-- | js/NonLinear/FSV_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/INTRP2BLK_f.js | 6 | ||||
-rw-r--r-- | js/NonLinear/INTRPLBLK_f.js | 5 | ||||
-rw-r--r-- | js/NonLinear/INVBLK.js | 3 | ||||
-rw-r--r-- | js/NonLinear/INVBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/LOGBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/LOOKUP2D.js | 8 | ||||
-rw-r--r-- | js/NonLinear/LOOKUP_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/MAXMIN.js | 6 | ||||
-rw-r--r-- | js/NonLinear/MAX_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/MIN_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/POWBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/PRODUCT.js | 3 | ||||
-rw-r--r-- | js/NonLinear/PROD_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/QUANT_f.js | 5 | ||||
-rw-r--r-- | js/NonLinear/SATURATION.js | 6 | ||||
-rw-r--r-- | js/NonLinear/SAT_f.js | 6 | ||||
-rw-r--r-- | js/NonLinear/SIGNUM.js | 4 | ||||
-rw-r--r-- | js/NonLinear/SINBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/TANBLK_f.js | 3 | ||||
-rw-r--r-- | js/NonLinear/TrigFun.js | 3 |
27 files changed, 110 insertions, 0 deletions
diff --git a/js/NonLinear/ABSBLK_f.js b/js/NonLinear/ABSBLK_f.js index a33ee869..058d4895 100644 --- a/js/NonLinear/ABSBLK_f.js +++ b/js/NonLinear/ABSBLK_f.js @@ -15,6 +15,9 @@ function ABSBLK_f() { return this.x; } ABSBLK_f.prototype.get = function ABSBLK_f() { + var options = { + } + return options; } ABSBLK_f.prototype.set = function ABSBLK_f() { this.x = arg1; diff --git a/js/NonLinear/ABS_VALUE.js b/js/NonLinear/ABS_VALUE.js index 1002b0ea..da4d3854 100644 --- a/js/NonLinear/ABS_VALUE.js +++ b/js/NonLinear/ABS_VALUE.js @@ -19,6 +19,10 @@ function ABS_VALUE() { return this.x; } ABS_VALUE.prototype.get = function ABS_VALUE() { + var options = { + zcr:["use zero_crossing (1: yes) (0:no)",this.zcr], + } + return options; } ABS_VALUE.prototype.set = function ABS_VALUE() { this.zcr = parseFloat((arguments[0]["zcr"])) diff --git a/js/NonLinear/COSBLK_f.js b/js/NonLinear/COSBLK_f.js index f39985a3..0b510327 100644 --- a/js/NonLinear/COSBLK_f.js +++ b/js/NonLinear/COSBLK_f.js @@ -16,6 +16,9 @@ function COSBLK_f() { return this.x; } COSBLK_f.prototype.get = function COSBLK_f() { + var options = { + } + return options; } COSBLK_f.prototype.set = function COSBLK_f() { this.x = arg1; diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js index b8018d7b..3bb3e9bd 100644 --- a/js/NonLinear/DLRADAPT_f.js +++ b/js/NonLinear/DLRADAPT_f.js @@ -27,6 +27,15 @@ function DLRADAPT_f() { return this.x; } DLRADAPT_f.prototype.get = function DLRADAPT_f() { + var options = { + p:["Vector of p mesh points",this.p], + rn:["Numerator roots (one line for each mesh)",this.rn], + rd:["Denominator roots (one line for each mesh)",this.rd], + g:["Vector of gain at mesh points",this.g], + last_u:["past inputs (Num degree values)",this.last_u], + last_y:["past outputs (Den degree values)",this.last_y], + } + return options; } DLRADAPT_f.prototype.set = function DLRADAPT_f() { this.p = parseFloat((arguments[0]["p"])) diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js index 656447a9..1a47f639 100644 --- a/js/NonLinear/EXPBLK_f.js +++ b/js/NonLinear/EXPBLK_f.js @@ -19,6 +19,9 @@ function EXPBLK_f() { return this.x; } EXPBLK_f.prototype.get = function EXPBLK_f() { + var options = { + } + return options; } EXPBLK_f.prototype.set = function EXPBLK_f() { this.a = parseFloat((arguments[0]["a"])) diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js index 7b792a21..fa981dc4 100644 --- a/js/NonLinear/EXPBLK_m.js +++ b/js/NonLinear/EXPBLK_m.js @@ -23,6 +23,9 @@ function EXPBLK_m() { return this.x; } EXPBLK_m.prototype.get = function EXPBLK_m() { + var options = { + } + return options; } EXPBLK_m.prototype.set = function EXPBLK_m() { this.a = parseFloat((arguments[0]["a"])) diff --git a/js/NonLinear/FSV_f.js b/js/NonLinear/FSV_f.js index 2754cca1..d29bcb9e 100644 --- a/js/NonLinear/FSV_f.js +++ b/js/NonLinear/FSV_f.js @@ -17,6 +17,9 @@ function FSV_f() { return this.x; } FSV_f.prototype.get = function FSV_f() { + var options = { + } + return options; } FSV_f.prototype.set = function FSV_f() { this.x = arg1; diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js index b5eb2a08..792d9598 100644 --- a/js/NonLinear/INTRP2BLK_f.js +++ b/js/NonLinear/INTRP2BLK_f.js @@ -21,6 +21,12 @@ function INTRP2BLK_f() { return this.x; } INTRP2BLK_f.prototype.get = function INTRP2BLK_f() { + var options = { + a:["X coord.",this.a], + b:["Y coord.",this.b], + c:["Z values",this.c], + } + return options; } INTRP2BLK_f.prototype.set = function INTRP2BLK_f() { this.a = parseFloat((arguments[0]["a"])) diff --git a/js/NonLinear/INTRPLBLK_f.js b/js/NonLinear/INTRPLBLK_f.js index 624cd5be..17a4d514 100644 --- a/js/NonLinear/INTRPLBLK_f.js +++ b/js/NonLinear/INTRPLBLK_f.js @@ -19,6 +19,11 @@ function INTRPLBLK_f() { return this.x; } INTRPLBLK_f.prototype.get = function INTRPLBLK_f() { + var options = { + a:["X coord.",this.a], + b:["Y coord.",this.b], + } + return options; } INTRPLBLK_f.prototype.set = function INTRPLBLK_f() { this.a = parseFloat((arguments[0]["a"])) diff --git a/js/NonLinear/INVBLK.js b/js/NonLinear/INVBLK.js index 8c6911f1..5d8b700c 100644 --- a/js/NonLinear/INVBLK.js +++ b/js/NonLinear/INVBLK.js @@ -17,6 +17,9 @@ function INVBLK() { return this.x; } INVBLK.prototype.get = function INVBLK() { + var options = { + } + return options; } INVBLK.prototype.set = function INVBLK() { this.x = arg1; diff --git a/js/NonLinear/INVBLK_f.js b/js/NonLinear/INVBLK_f.js index 4a4facc4..9cde7bbb 100644 --- a/js/NonLinear/INVBLK_f.js +++ b/js/NonLinear/INVBLK_f.js @@ -17,6 +17,9 @@ function INVBLK_f() { return this.x; } INVBLK_f.prototype.get = function INVBLK_f() { + var options = { + } + return options; } INVBLK_f.prototype.set = function INVBLK_f() { this.x = arg1; diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js index b969d220..85bd7db0 100644 --- a/js/NonLinear/LOGBLK_f.js +++ b/js/NonLinear/LOGBLK_f.js @@ -19,6 +19,9 @@ function LOGBLK_f() { return this.x; } LOGBLK_f.prototype.get = function LOGBLK_f() { + var options = { + } + return options; } LOGBLK_f.prototype.set = function LOGBLK_f() { this.a = parseFloat((arguments[0]["a"])) diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js index 23558d4a..3307c02b 100644 --- a/js/NonLinear/LOOKUP2D.js +++ b/js/NonLinear/LOOKUP2D.js @@ -25,6 +25,14 @@ function LOOKUP2D() { return this.x; } LOOKUP2D.prototype.get = function LOOKUP2D() { + var options = { + xx:["Row index input values",this.xx], + yy:["Column index input values",this.yy], + zz:["Table data",this.zz], + Method:["Lookup method(1..5)",this.Method], + graf:["Launch graphic window(y/n)?",this.graf], + } + return options; } LOOKUP2D.prototype.set = function LOOKUP2D() { this.xx = parseFloat((arguments[0]["xx"])) diff --git a/js/NonLinear/LOOKUP_f.js b/js/NonLinear/LOOKUP_f.js index 0698e536..287cd87d 100644 --- a/js/NonLinear/LOOKUP_f.js +++ b/js/NonLinear/LOOKUP_f.js @@ -16,6 +16,9 @@ function LOOKUP_f() { return this.x; } LOOKUP_f.prototype.get = function LOOKUP_f() { + var options = { + } + return options; } LOOKUP_f.prototype.set = function LOOKUP_f() { this.x = arg1; diff --git a/js/NonLinear/MAXMIN.js b/js/NonLinear/MAXMIN.js index 4db80f20..1391dd7a 100644 --- a/js/NonLinear/MAXMIN.js +++ b/js/NonLinear/MAXMIN.js @@ -18,6 +18,12 @@ function MAXMIN() { return this.x; } MAXMIN.prototype.get = function MAXMIN() { + var options = { + mm:["Min (1) or Max (2) ",this.mm], + nin:["Number of input vectors (1 or 2)",this.nin], + zcr:["zero-crossing (1: yes, 0;no)",this.zcr], + } + return options; } MAXMIN.prototype.set = function MAXMIN() { this.mm = parseFloat((arguments[0]["mm"])) diff --git a/js/NonLinear/MAX_f.js b/js/NonLinear/MAX_f.js index 33aff00e..0f186bb6 100644 --- a/js/NonLinear/MAX_f.js +++ b/js/NonLinear/MAX_f.js @@ -18,6 +18,9 @@ function MAX_f() { return this.x; } MAX_f.prototype.get = function MAX_f() { + var options = { + } + return options; } MAX_f.prototype.set = function MAX_f() { this.x = arg1; diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js index 98de0f89..82796940 100644 --- a/js/NonLinear/MIN_f.js +++ b/js/NonLinear/MIN_f.js @@ -18,6 +18,9 @@ function MIN_f() { return this.x; } MIN_f.prototype.get = function MIN_f() { + var options = { + } + return options; } MIN_f.prototype.set = function MIN_f() { this.x = arg1; diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js index 98aea55e..34a45d67 100644 --- a/js/NonLinear/POWBLK_f.js +++ b/js/NonLinear/POWBLK_f.js @@ -19,6 +19,9 @@ function POWBLK_f() { return this.x; } POWBLK_f.prototype.get = function POWBLK_f() { + var options = { + } + return options; } POWBLK_f.prototype.set = function POWBLK_f() { this.a = parseFloat((arguments[0]["a"])) diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js index 12d6d329..f26c8a9c 100644 --- a/js/NonLinear/PRODUCT.js +++ b/js/NonLinear/PRODUCT.js @@ -18,6 +18,9 @@ function PRODUCT() { return this.x; } PRODUCT.prototype.get = function PRODUCT() { + var options = { + } + return options; } PRODUCT.prototype.set = function PRODUCT() { this.sgn = parseFloat((arguments[0]["sgn"])) diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js index 1f705174..157d61bc 100644 --- a/js/NonLinear/PROD_f.js +++ b/js/NonLinear/PROD_f.js @@ -14,6 +14,9 @@ function PROD_f() { return this.x; } PROD_f.prototype.get = function PROD_f() { + var options = { + } + return options; } PROD_f.prototype.set = function PROD_f() { this.x = arg1; diff --git a/js/NonLinear/QUANT_f.js b/js/NonLinear/QUANT_f.js index 46e78e40..23b1aa28 100644 --- a/js/NonLinear/QUANT_f.js +++ b/js/NonLinear/QUANT_f.js @@ -20,6 +20,11 @@ function QUANT_f() { return this.x; } QUANT_f.prototype.get = function QUANT_f() { + var options = { + pas:["Step",this.pas], + meth:["Quantization Type (1-4)",this.meth], + } + return options; } QUANT_f.prototype.set = function QUANT_f() { this.pas = parseFloat((arguments[0]["pas"])) diff --git a/js/NonLinear/SATURATION.js b/js/NonLinear/SATURATION.js index efc3b9f2..0506ce70 100644 --- a/js/NonLinear/SATURATION.js +++ b/js/NonLinear/SATURATION.js @@ -22,6 +22,12 @@ function SATURATION() { return this.x; } SATURATION.prototype.get = function SATURATION() { + var options = { + maxp:["Upper limit",this.maxp], + minp:["Lower limit",this.minp], + zeroc:["zero crossing (0:no, 1:yes)",this.zeroc], + } + return options; } SATURATION.prototype.set = function SATURATION() { this.maxp = parseFloat((arguments[0]["maxp"])) diff --git a/js/NonLinear/SAT_f.js b/js/NonLinear/SAT_f.js index 55d66f3d..3dc10505 100644 --- a/js/NonLinear/SAT_f.js +++ b/js/NonLinear/SAT_f.js @@ -22,6 +22,12 @@ function SAT_f() { return this.x; } SAT_f.prototype.get = function SAT_f() { + var options = { + minp:["Min",this.minp], + maxp:["Max",this.maxp], + pente:["Slope",this.pente], + } + return options; } SAT_f.prototype.set = function SAT_f() { this.minp = parseFloat((arguments[0]["minp"])) diff --git a/js/NonLinear/SIGNUM.js b/js/NonLinear/SIGNUM.js index 7776dbc7..99386542 100644 --- a/js/NonLinear/SIGNUM.js +++ b/js/NonLinear/SIGNUM.js @@ -19,6 +19,10 @@ function SIGNUM() { return this.x; } SIGNUM.prototype.get = function SIGNUM() { + var options = { + zcr:["use zero_crossing (1: yes) (0:no)",this.zcr], + } + return options; } SIGNUM.prototype.set = function SIGNUM() { this.zcr = parseFloat((arguments[0]["zcr"])) diff --git a/js/NonLinear/SINBLK_f.js b/js/NonLinear/SINBLK_f.js index 73837f3b..94069384 100644 --- a/js/NonLinear/SINBLK_f.js +++ b/js/NonLinear/SINBLK_f.js @@ -16,6 +16,9 @@ function SINBLK_f() { return this.x; } SINBLK_f.prototype.get = function SINBLK_f() { + var options = { + } + return options; } SINBLK_f.prototype.set = function SINBLK_f() { this.x = arg1; diff --git a/js/NonLinear/TANBLK_f.js b/js/NonLinear/TANBLK_f.js index 0e8294b5..66fef89f 100644 --- a/js/NonLinear/TANBLK_f.js +++ b/js/NonLinear/TANBLK_f.js @@ -17,6 +17,9 @@ function TANBLK_f() { return this.x; } TANBLK_f.prototype.get = function TANBLK_f() { + var options = { + } + return options; } TANBLK_f.prototype.set = function TANBLK_f() { this.x = arg1; diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index 599301fa..b3f30c82 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -16,6 +16,9 @@ function TrigFun() { return this.x; } TrigFun.prototype.get = function TrigFun() { + var options = { + } + return options; } TrigFun.prototype.set = function TrigFun() { this.fun = parseFloat((arguments[0]["fun"])) |