B1=[-30.7, 0.4, 4.7]
B2=[30.7,-10.7,0.64]
N=B1×B2/|B1×B2|
L=(B2-B1)/|B2-B1|
M=N×L
LMN=[[N],[M],[L]]
print,LMN
0.140504 0.455701 0.878974
0.126448 0.872251 -0.472428
0.981972 -0.177523 -0.0649317
B11=transpose(LMN##B1)
B22=transpose(LMN##B2)
print,B11,B22
0.000000 -5.75348 -30.5227
4.17233e-007 -5.75348 32.0045
Bg=-5.75nT Br= 31nT
Referrence: Asymmetry of the Ion Diffusion Region Hall Electric and Magnetic Fields during Guide Field Reconnection: Observations and Comparison with Simulations