perpendicular and parallel component

조회 수: 6(최근 30일)
neetasha arya
neetasha arya 2021년 9월 29일
댓글: Bjorn Gustavsson 2021년 10월 4일
Hello all,
I have a mms data set from MMS1_FPI_BRST_L2_DES_MOMS. It is given in cartesian coordinate system (x, y, z).
It is basically electron velocity (Vx,Vy,Vz).
I want to convert it into v_perp1, v_perp2, v_parallel components.
Will you please tell me how to convert it ?
Thank you.


Bjorn Gustavsson
Bjorn Gustavsson 2021년 9월 29일
You have to look at the documentation of the mission and the data access etc: MMS_Data_Access_f3. We cannot tell you how to handle the data from a satellite mission (that's brilliantly interesting!) that we're not involved with. The only thing I can say is that you simply have to extract the velocity-components paralell (In swedish we have the good sense to spell it parallell, as it for visual reasons should be.) and perpendicular to the (back-ground) magnetic field:
B = read_B_field(); % you make this happen. B should be [1 x 3] for the following to work
v = read_v_cartesian(); % you make this happen. Same for v
v_par = dot(v,B)/norm(B);
v_perp = v - v_par*B/norm(B);
If you have B and v for a whole time-series the most efficient calculation might be to write out the explicit formulas for dot and norm in the above equations.
  댓글 수: 4
Bjorn Gustavsson
Bjorn Gustavsson 2021년 10월 4일
You're welcome @neetasha arya.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by