OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
qinv.py
Go to the documentation of this file.
1 def qinv(q):
2  # input: q
3  # output: qin
4  # Liang Hong, 2/19/2020
5 
6  import numpy as np
7  qin = np.copy(q)
8  try:
9  qin[:,0:3] = -qin[:,0:3]
10  except:
11  qin[0:3] = -qin[0:3]
12 
13  return qin
def qinv(q)
Definition: qinv.py:1