Commit 078e7658a735ea2deabee8601a905287f57712fb
1 parent
480b6504
Exists in
master
and in
95 other branches
functions.xml fairfield
Showing
1 changed file
with
15 additions
and
27 deletions
Show diff stats
generic_data/Functions/functions.xml
@@ -79,17 +79,17 @@ | @@ -79,17 +79,17 @@ | ||
79 | 79 | ||
80 | <function name="shiftT_(,)" args="1" kind="amda"> | 80 | <function name="shiftT_(,)" args="1" kind="amda"> |
81 | <prompt>input time interval T in secs to delay by</prompt> | 81 | <prompt>input time interval T in secs to delay by</prompt> |
82 | - <info_brief>Delays array by T secs back (T < 0) and forth (T > 0))</info_brief> | 82 | + <info_brief>Shifts parameter by T secs back (T < 0) and forth (T > 0))</info_brief> |
83 | <new_kernel>#timeShift</new_kernel> | 83 | <new_kernel>#timeShift</new_kernel> |
84 | </function> | 84 | </function> |
85 | 85 | ||
86 | - <function name="Valfven(,)" params="2" kind="physics"> | 86 | + <function name="vAlfven(,)" params="2" kind="physics"> |
87 | <prompt>Alfven velocity Valfven(density[cm^⁻3], mag[nT])</prompt> | 87 | <prompt>Alfven velocity Valfven(density[cm^⁻3], mag[nT])</prompt> |
88 | <info_brief>Alfven velocity Valfven(density[cm^⁻3], mag[nT])</info_brief> | 88 | <info_brief>Alfven velocity Valfven(density[cm^⁻3], mag[nT])</info_brief> |
89 | <new_kernel>alfvenVelocity</new_kernel> | 89 | <new_kernel>alfvenVelocity</new_kernel> |
90 | </function> | 90 | </function> |
91 | 91 | ||
92 | - <function name="perreault78()" params="3" kind="physics"> | 92 | + <function name="perreault78(,,)" params="3" kind="physics"> |
93 | <info_brief>Perreault and Akasofu 1978 model u = perreault78(E_mag, B_mag, theta_p)</info_brief> | 93 | <info_brief>Perreault and Akasofu 1978 model u = perreault78(E_mag, B_mag, theta_p)</info_brief> |
94 | <new_kernel>perreault78</new_kernel> | 94 | <new_kernel>perreault78</new_kernel> |
95 | </function> | 95 | </function> |
@@ -98,26 +98,20 @@ | @@ -98,26 +98,20 @@ | ||
98 | <info_brief>NEWELL et al 2007 solar wind-magnetosphere coupling function d_phi/d_t = newell2007(mu, B_mag, theta) </info_brief> | 98 | <info_brief>NEWELL et al 2007 solar wind-magnetosphere coupling function d_phi/d_t = newell2007(mu, B_mag, theta) </info_brief> |
99 | <new_kernel>newell2007</new_kernel> | 99 | <new_kernel>newell2007</new_kernel> |
100 | </function> | 100 | </function> |
101 | - | 101 | + |
102 | + <!--<function name="fairfield70(,tilt_angle_60)" params="2" kind="physics">--> | ||
102 | <function name="fairfield70(,)" params="2" kind="physics"> | 103 | <function name="fairfield70(,)" params="2" kind="physics"> |
103 | - <prompt>FAIRFIELD 1970 model of neutral sheet position Z = fairfield70(xyz_sm, x_ss) | ||
104 | - where y_sm and z_sm are the solar magnetospheric coordinates of the spacecraft | ||
105 | - and x_ss is tilt angle</prompt> | ||
106 | - | ||
107 | - <info_brief>FAIRFIELD 1970 model of neutral sheet position Z = fairfield70(xyz_sm, x_ss) | ||
108 | - where y_sm and z_sm are the solar magnetospheric coordinates of the spacecraft | ||
109 | - and x_ss is tilt angle</info_brief> | 104 | + <prompt>xyz_sm in Re and dipole tilt angle in degrees</prompt> |
105 | + <info_brief>Distance (Re) from s/c location to Fairfield1970 model neutral sheet position.<br/> | ||
106 | + dZ = fairfield70(xyz_sm, tilt_angle),<br/> xyz_sm is the s/c SM coordinates (Re) and tilt angle is in degrees.<br/> Valid for y_sm < 15 Re.</info_brief> | ||
110 | <new_kernel>fairfield70</new_kernel> | 107 | <new_kernel>fairfield70</new_kernel> |
111 | </function> | 108 | </function> |
112 | 109 | ||
113 | <function name="fairfield80(,)" params="2" kind="physics"> | 110 | <function name="fairfield80(,)" params="2" kind="physics"> |
114 | - <prompt>FAIRFIELD 1980 model of neutral sheet position Z = fairfield80(xyz_sm, x_ss) | ||
115 | - where xyz_sm are the solar magnetospheric coordinates of the spacecraft | ||
116 | - and x_ss is tilt angle</prompt> | 111 | + <prompt>xyz_sm in Re and dipole tilt angle in degrees</prompt> |
117 | 112 | ||
118 | - <info_brief>FAIRFIELD 1980 model of neutral sheet position Z = fairfield80(xyz_sm, x_ss) | ||
119 | - where xyz_sm are the solar magnetospheric coordinates of the spacecraft | ||
120 | - and x_ss is tilt angle</info_brief> | 113 | + <info_brief>Distance (Re) from s/c location to Fairfield1980 model neutral sheet position.<br/> |
114 | + dZ = fairfield80(xyz_sm, tilt_angle),<br/> xyz_sm is the s/c SM coordinates (Re) and tilt angle is in degrees.<br/></info_brief> | ||
121 | <new_kernel>fairfield80</new_kernel> | 115 | <new_kernel>fairfield80</new_kernel> |
122 | </function> | 116 | </function> |
123 | 117 | ||
@@ -134,17 +128,11 @@ | @@ -134,17 +128,11 @@ | ||
134 | </info_brief> | 128 | </info_brief> |
135 | <new_kernel>lopez90</new_kernel> | 129 | <new_kernel>lopez90</new_kernel> |
136 | </function> | 130 | </function> |
137 | - | ||
138 | - <!--<function name="gsegsm_()" argv="vector" kind="amda"> | ||
139 | - <prompt/> | ||
140 | - <info_brief>GSE to GSM transformation</info_brief> | ||
141 | - <new_kernel>#framesTransformation</new_kernel> | ||
142 | - </function> | ||
143 | - <function name="gsesm_()" argv="vector" kind="amda"> | ||
144 | - <prompt/> | ||
145 | - <info_brief>GSE to SM transformation</info_brief> | 131 | + <!--<function name="frameTransformation(,,)" args="2" kind="vectors"> |
132 | + <prompt>FROM, TO</prompt> | ||
133 | + <info_brief>frame transformation</info_brief> | ||
134 | + <new_kernel>#framesTransformation</new_kernel> | ||
146 | </function>--> | 135 | </function>--> |
147 | - | ||
148 | <function name="angle(,)" params="2" kind="vectors"> | 136 | <function name="angle(,)" params="2" kind="vectors"> |
149 | <info_brief>Angle between two vectors</info_brief> | 137 | <info_brief>Angle between two vectors</info_brief> |
150 | <new_kernel>angle</new_kernel> | 138 | <new_kernel>angle</new_kernel> |