Commit e186b857ba649547e4847b8935e3f6966b039093
1 parent
46e96f77
Exists in
master
and in
64 other branches
Restore functions in test (bad merge)
Showing
1 changed file
with
78 additions
and
0 deletions
Show diff stats
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> |
... | ... | @@ -114,11 +142,37 @@ |
114 | 142 | <info_brief>Remove Spikes ( ! Experimental ! ) : filter(param, factor,nPoints)</info_brief> |
115 | 143 | <new_kernel>#filter</new_kernel> |
116 | 144 | </function> |
145 | + <function name="BCain(,)" args="2" kind="model" group="space"> | |
146 | + <default_args>"",mag</default_args> | |
147 | + <info_brief>Cain model for Mars Magnetic Field</info_brief> | |
148 | + <new_kernel>#bcain</new_kernel> | |
149 | + </function> | |
117 | 150 | <function name="vAlfven(,)" args="2" kind="physics" group="space"> |
118 | 151 | <prompt_param>density[cm^⁻3], b_magnitude[nT]</prompt_param> |
119 | 152 | <info_brief>Alfven velocity Valfven(density[cm^⁻3], b_magnitude[nT])</info_brief> |
120 | 153 | <new_kernel>alfvenVelocity</new_kernel> |
121 | 154 | </function> |
155 | + <function name="mlt_maglib(,)" args="1" kind="physics" group="space"> | |
156 | + <prompts> | |
157 | + <prompt type="list" subtype="external_fields" default="1">External field:</prompt> | |
158 | + </prompts> | |
159 | + <info_brief>Compute MLT from geographical spacecraft position (cartesian coordinates and in Earth radius)</info_brief> | |
160 | + <new_kernel>#maglib_mlt</new_kernel> | |
161 | + </function> | |
162 | + <function name="invlat_maglib(,)" args="1" kind="physics" group="space"> | |
163 | + <prompts> | |
164 | + <prompt type="list" subtype="external_fields" default="1">External field:</prompt> | |
165 | + </prompts> | |
166 | + <info_brief>Compute InvLat from geographical spacecraft position (cartesian coordinates and in Earth radius)</info_brief> | |
167 | + <new_kernel>#maglib_invlat</new_kernel> | |
168 | + </function> | |
169 | + <function name="lparam_maglib(,)" args="1" kind="physics" group="space"> | |
170 | + <prompts> | |
171 | + <prompt type="list" subtype="external_fields" default="1">External field:</prompt> | |
172 | + </prompts> | |
173 | + <info_brief>Compute L Param from geographical spacecraft position (cartesian coordinates and in Earth radius)</info_brief> | |
174 | + <new_kernel>#maglib_lparam</new_kernel> | |
175 | + </function> | |
122 | 176 | |
123 | 177 | <function name="perreault78(,,)" args="3" kind="model" group="space"> |
124 | 178 | <info_brief>Perreault and Akasofu 1978 model u = perreault78(E_mag, B_mag, theta_p)</info_brief> |
... | ... | @@ -156,6 +210,30 @@ |
156 | 210 | </info_brief> |
157 | 211 | <new_kernel>lopez90</new_kernel> |
158 | 212 | </function> |
213 | + <function name="pv_ionos_dn(,)" args="2" kind="model" group="space"> | |
214 | + <prompt_param></prompt_param> | |
215 | + <default_args>alt(Km), sza(Radians)</default_args> | |
216 | + <info_brief> | |
217 | + Electron Density around Venus <br/> | |
218 | + dn = pv_ionos_dn(alt, sza) <br/> | |
219 | + alt is the altitude in Km | |
220 | + sza is the solat zenith angle in radians | |
221 | + dn is the base 10 log of the model electron density in no/cc | |
222 | + </info_brief> | |
223 | + <new_kernel>pv_ionos_dn</new_kernel> | |
224 | + </function> | |
225 | + <function name="pv_ionos_te(,)" args="2" kind="model" group="space"> | |
226 | + <prompt_param></prompt_param> | |
227 | + <default_args>alt(Km), sza(Radians)</default_args> | |
228 | + <info_brief> | |
229 | + Electron temperature around Venus <br/> | |
230 | + te = pv_ionos_dn(alt, sza) <br/> | |
231 | + alt is the altitude in Km | |
232 | + sza is the solat zenith angle in radians | |
233 | + te is in log10 deg K | |
234 | + </info_brief> | |
235 | + <new_kernel>pv_ionos_te</new_kernel> | |
236 | + </function> | |
159 | 237 | <function name="framesTransformation(,,,)" args="1" kind="frames" group="space"> |
160 | 238 | <prompts> |
161 | 239 | <prompt type="list" subtype="frames" default="GSM">Input frame:</prompt> | ... | ... |