Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
src
nav_seahawk
hawknav
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
qinv.qinv
def qinv(q)
Definition:
qinv.py:1