Commit f1477b353964742a14cdf6291e0305639007a39f

Authored by Benjamin Renard
2 parents e34e8f45 5482c4a3

Merge branch 'develop' into amdadev

generic_data/Functions/functions.xml
... ... @@ -49,6 +49,34 @@
49 49 <info_brief>skewness() function</info_brief>
50 50 <new_kernel>#skew</new_kernel>
51 51 </function>
  52 + <function name="covariance_(,,)" args="2" kind="time" group="stat">
  53 + <prompts>
  54 + <prompt>input window time in secs</prompt>
  55 + </prompts>
  56 + <info_brief>covariance() function for two params</info_brief>
  57 + <new_kernel>#covariance</new_kernel>
  58 + </function>
  59 + <function name="pearson_(,,)" args="2" kind="time" group="stat">
  60 + <prompts>
  61 + <prompt>input window time in secs</prompt>
  62 + </prompts>
  63 + <info_brief>Pearson coefficient of two parameters</info_brief>
  64 + <new_kernel>#pearson</new_kernel>
  65 + </function>
  66 + <function name="kendall_(,,)" args="2" kind="time" group="stat">
  67 + <prompts>
  68 + <prompt>input window time in secs</prompt>
  69 + </prompts>
  70 + <info_brief>Kendall coefficient of two parameters</info_brief>
  71 + <new_kernel>#kendall</new_kernel>
  72 + </function>
  73 + <function name="spearman_(,,)" args="2" kind="time" group="stat">
  74 + <prompts>
  75 + <prompt>input window time in secs</prompt>
  76 + </prompts>
  77 + <info_brief>Spearman coefficient of two parameters</info_brief>
  78 + <new_kernel>#spearman</new_kernel>
  79 + </function>
52 80 <function name="mean_sm_(,)" args="1" kind="sliding" group="stat">
53 81 <prompts>
54 82 <prompt>input averaging time in secs</prompt>
... ... @@ -161,6 +189,30 @@
161 189 </info_brief>
162 190 <new_kernel>lopez90</new_kernel>
163 191 </function>
  192 + <function name="pv_ionos_dn(,)" args="2" kind="model" group="space">
  193 + <prompt_param></prompt_param>
  194 + <default_args>alt(Km), sza(Radians)</default_args>
  195 + <info_brief>
  196 + Electron Density around Venus &lt;br/&gt;
  197 + dn = pv_ionos_dn(alt, sza) &lt;br/&gt;
  198 + alt is the altitude in Km
  199 + sza is the solat zenith angle in radians
  200 + dn is the base 10 log of the model electron density in no/cc
  201 + </info_brief>
  202 + <new_kernel>pv_ionos_dn</new_kernel>
  203 + </function>
  204 + <function name="pv_ionos_te(,)" args="2" kind="model" group="space">
  205 + <prompt_param></prompt_param>
  206 + <default_args>alt(Km), sza(Radians)</default_args>
  207 + <info_brief>
  208 + Electron temperature around Venus &lt;br/&gt;
  209 + te = pv_ionos_dn(alt, sza) &lt;br/&gt;
  210 + alt is the altitude in Km
  211 + sza is the solat zenith angle in radians
  212 + te is in log10 deg K
  213 + </info_brief>
  214 + <new_kernel>pv_ionos_te</new_kernel>
  215 + </function>
164 216 <function name="framesTransformation(,,,)" args="1" kind="frames" group="space">
165 217 <prompts>
166 218 <prompt type="list" subtype="frames" default="GSM">Input frame:</prompt>
... ...
js/app/views/CalculatorUI.js
... ... @@ -681,6 +681,7 @@ Ext.define(&#39;amdaUI.CalculatorUI&#39;, {
681 681 break;
682 682 case 'TimeFunctions' :
683 683 amdaUI.CalculatorUI.functionStore.filter('kind', 'time');
  684 + width = .33;
684 685 break;
685 686 case 'FunctionsSliding' :
686 687 amdaUI.CalculatorUI.functionStore.filter('kind', 'sliding');
... ...
js/app/views/ExplorerUI.js
... ... @@ -970,6 +970,11 @@ Ext.define(&#39;amdaUI.ExplorerUI&#39;, {
970 970 }
971 971  
972 972 this.dockedItems.getAt(1).items.items[0].select(filter['name']);
  973 + },
  974 + listeners: {
  975 + tabchange: function( tabPanel, newCard, oldCard, eOpts ) {
  976 + tabPanel.down('toolbar').setVisible(newCard.getId() == amdaUI.ExplorerUI.RESRC_TAB.TREE_ID);
  977 + }
973 978 }
974 979 });
975 980  
... ...