Commit 5e6d074fdd7ea83e13ced9bc5f3a9a991ea74deb
1 parent
4599eb6c
Exists in
master
and in
107 other branches
infobull for param construction
Showing
6 changed files
with
66 additions
and
13 deletions
Show diff stats
... | ... | @@ -0,0 +1,10 @@ |
1 | +<h3>Construct Parameter / Data Mining Condition</h3> | |
2 | + All AMDA parameters used in the expression are resampled with Time Step (defined in the corresponding field) before calculations. | |
3 | + <br/> | |
4 | + Note that sampling time of the output of Statistics "non-sliding" functions (<i>mean_(), min_(), max_()...</i>) is the "averaging time". | |
5 | + So such an output can not be used in the combination with the other parameters directly. | |
6 | + <br/> | |
7 | + In order to combine it with the other parameters create "intermediate" derived parameter and use <b>it</b> in the expession. | |
8 | + The "intermediate" derived parameter will be properly resampled before calculations. | |
9 | +<br/> | |
10 | + | |
... | ... |
... | ... | @@ -0,0 +1,9 @@ |
1 | +<h3>Data Gap</h3> | |
2 | + Every parameter from the expression is preprocessed before expression evaluation. | |
3 | + It is resampled (averaged or interpolated) with taking into account possible absence of data (data gaps). | |
4 | + Here you may define 'gap threshold'. | |
5 | + It is expressed in the parameter 'sampling times. | |
6 | + If data is absent for time interval greater than this threshold the interval is treated as 'gap', | |
7 | + otherwise the interval is filled with the interpolated data. | |
8 | +<br/> | |
9 | + | |
... | ... |
help/plotSaveRequest
1 | 1 | <h3>Save Plot Request[s]</h3> |
2 | -You can save you plot request to use it in the next AMDA sessions. | |
2 | +You can save your plot request to use it in the next AMDA sessions. | |
3 | 3 | Two options are possible: |
4 | 4 | <ul> |
5 | 5 | <li>Save current active plot tab request only (<i>All Plot Tabs</i> checkbox <b>unchecked</b>) |
... | ... |
js/app/views/ParameterUI.js
... | ... | @@ -253,10 +253,10 @@ Ext.define('amdaUI.ParameterUI', |
253 | 253 | { |
254 | 254 | this.fieldName = new Ext.form.field.Text({ |
255 | 255 | labelAlign: 'top', itemId: 'formParamName', |
256 | - fieldLabel: 'Parameter Name*', | |
256 | + fieldLabel: 'Parameter Name', | |
257 | 257 | name : 'name', |
258 | 258 | allowBlank : false, //blankText : 'Name is required', |
259 | - emptyText: 'Please only low case here!', | |
259 | + emptyText: 'Please only low case!', | |
260 | 260 | width: 150, |
261 | 261 | validateOnChange: false, |
262 | 262 | validateOnBlur: false, |
... | ... | @@ -279,7 +279,7 @@ Ext.define('amdaUI.ParameterUI', |
279 | 279 | this.constructionField = new extensions.SelectableTextArea({ |
280 | 280 | labelAlign: 'top', |
281 | 281 | itemId: 'formParamConstructParameter', |
282 | - fieldLabel:'Construct Parameter*', | |
282 | + fieldLabel:'<img amda_clicktip="constructParameter" src="js/resources/images/16x16/info_mini.png"/> Construct Parameter', | |
283 | 283 | allowBlank : false, blankText : 'Construct Parameter is required', |
284 | 284 | name : 'buildchain', |
285 | 285 | flex: 0.9, |
... | ... | @@ -428,7 +428,7 @@ Ext.define('amdaUI.ParameterUI', |
428 | 428 | }, |
429 | 429 | { |
430 | 430 | xtype : 'numberfield', |
431 | - itemId: 'formParamTimeStep', fieldLabel: 'Time Step (sec)*', labelAlign: 'top', | |
431 | + itemId: 'formParamTimeStep', fieldLabel: '<img amda_clicktip="resamplingStep" src="js/resources/images/16x16/info_mini.png"/> Time Step (sec)', labelAlign: 'top', | |
432 | 432 | allowBlank : false, blankText : 'Time Step is required', |
433 | 433 | name : 'timestep', |
434 | 434 | minValue : 0.001, |
... | ... | @@ -557,9 +557,24 @@ Ext.define('amdaUI.ParameterUI', |
557 | 557 | plugins: [ |
558 | 558 | {ptype: 'calculator', myBtns:[], context: 'Parameter' }, |
559 | 559 | {ptype: 'paramArgumentsPlugin', pluginId: 'derived-param-arguments-plugin'} |
560 | - ] | |
560 | + ], | |
561 | + listeners:{ | |
562 | + click: { | |
563 | + element: 'el', | |
564 | + fn: function(e,t) { | |
565 | + var me = t, | |
566 | + text = me.getAttribute('amda_clicktip'); | |
567 | + if (text) { | |
568 | + e.preventDefault(); | |
569 | + AmdaAction.getInfo({name : text}, function(res,e) { | |
570 | + if (res.success) myDesktopApp.infoMsg(res.result); | |
571 | + }); | |
572 | + } | |
573 | + } | |
574 | + } | |
575 | + } | |
561 | 576 | }; |
562 | - | |
577 | + | |
563 | 578 | Ext.apply(this, Ext.apply(arguments, myConf)); |
564 | 579 | } |
565 | 580 | }); |
... | ... |
js/app/views/SearchUI.js
... | ... | @@ -308,7 +308,7 @@ Ext.define('amdaUI.SearchUI', |
308 | 308 | |
309 | 309 | this.fieldName = new Ext.form.field.Text({ |
310 | 310 | labelAlign: 'top', itemId: 'formParamName', |
311 | - fieldLabel: 'Request Name<b>*</b>', | |
311 | + fieldLabel: 'Request Name', | |
312 | 312 | name : 'name', |
313 | 313 | width: 375, |
314 | 314 | colspan: 3, |
... | ... | @@ -327,7 +327,7 @@ Ext.define('amdaUI.SearchUI', |
327 | 327 | { |
328 | 328 | labelAlign: 'top', |
329 | 329 | itemId: 'formSearchCondition', |
330 | - fieldLabel:'Data Mining Condition<b>*</b>', | |
330 | + fieldLabel:'<img amda_clicktip="constructParameter" src="js/resources/images/16x16/info_mini.png"/> Data Mining Condition', | |
331 | 331 | allowBlank : false, blankText : 'Condition expression is required', |
332 | 332 | name: 'expression', |
333 | 333 | validateOnChange: false, |
... | ... | @@ -473,18 +473,18 @@ Ext.define('amdaUI.SearchUI', |
473 | 473 | { |
474 | 474 | xtype :'displayfield', width: 165, |
475 | 475 | hideLabel: true, |
476 | - value: '<b>Averaging/Interpolation</b>' | |
476 | + value: '<b>Averaging/Interpolation</b> <img amda_clicktip="resamplingStep" src="js/resources/images/16x16/info_mini.png"/>' | |
477 | 477 | }, |
478 | 478 | { xtype: 'component', width: 45 }, |
479 | 479 | { |
480 | 480 | xtype :'displayfield', width: 165, |
481 | 481 | hideLabel: true, |
482 | - value: '<b>Data Gap</b>' | |
482 | + value: '<b>Data Gap</b> <img amda_clicktip="dataGap" src="js/resources/images/16x16/info_mini.png"/>' | |
483 | 483 | }, |
484 | 484 | { |
485 | 485 | xtype: 'numberfield', name: 'sampling', |
486 | 486 | allowBlank : false, blankText : 'Time Step is required', |
487 | - fieldLabel: 'Sampling Time Step (sec)*', minValue : 0.001, | |
487 | + fieldLabel: 'Time Step (sec)', minValue : 0.001, | |
488 | 488 | labelAlign: 'top', hideTrigger: true, width: 165, |
489 | 489 | validateOnBlur: false |
490 | 490 | }, |
... | ... | @@ -617,7 +617,22 @@ Ext.define('amdaUI.SearchUI', |
617 | 617 | plugins: [ |
618 | 618 | {ptype: 'calculator', myBtns:[], context: 'Condition'}, |
619 | 619 | {ptype: 'paramArgumentsPlugin', pluginId: 'search-param-components-plugin'} |
620 | - ] | |
620 | + ], | |
621 | + listeners:{ | |
622 | + click: { | |
623 | + element: 'el', | |
624 | + fn: function(e,t) { | |
625 | + var me = t, | |
626 | + text = me.getAttribute('amda_clicktip'); | |
627 | + if (text) { | |
628 | + e.preventDefault(); | |
629 | + AmdaAction.getInfo({name : text}, function(res,e) { | |
630 | + if (res.success) myDesktopApp.infoMsg(res.result); | |
631 | + }); | |
632 | + } | |
633 | + } | |
634 | + } | |
635 | + } | |
621 | 636 | }; |
622 | 637 | |
623 | 638 | Ext.apply(this, Ext.apply(arguments, myConf)); |
... | ... |