Functions | |
def | constrain (v, min, max) |
def | correct (mag, offsets, diag, offdiag) |
def | fit_data (data) |
def | magfit (logfile) |
def | noise () |
def | plot_data (orig_data, data) |
def | radius (mag, offsets, diag, offdiag) |
def | radius_cmp (a, b, offsets, diag, offdiag) |
def | select_data (data) |
def | sphere_error (p, data) |
Variables | |
action | |
args = parser.parse_args() | |
default | |
dest | |
float | |
help | |
metavar | |
nargs | |
None | |
parser = ArgumentParser(description=__doc__) | |
float | total = 0.0 |
type | |
fit best estimate of magnetometer offsets
def pymavlink.tools.magfit_elliptical.constrain | ( | v, | |
min, | |||
max | |||
) |
Definition at line 49 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.correct | ( | mag, | |
offsets, | |||
diag, | |||
offdiag | |||
) |
correct a mag sample
Definition at line 56 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.fit_data | ( | data | ) |
Definition at line 96 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.magfit | ( | logfile | ) |
find best magnetometer offset fit to a log file
Definition at line 119 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.noise | ( | ) |
a noise vector
Definition at line 27 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.plot_data | ( | orig_data, | |
data | |||
) |
plot data in 3D
Definition at line 209 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.radius | ( | mag, | |
offsets, | |||
diag, | |||
offdiag | |||
) |
return radius give data point and offsets
Definition at line 67 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.radius_cmp | ( | a, | |
b, | |||
offsets, | |||
diag, | |||
offdiag | |||
) |
return +1 or -1 for for sorting
Definition at line 72 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.select_data | ( | data | ) |
Definition at line 34 of file magfit_elliptical.py.
def pymavlink.tools.magfit_elliptical.sphere_error | ( | p, | |
data | |||
) |
Definition at line 81 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.action |
Definition at line 12 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.args = parser.parse_args() |
Definition at line 20 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.default |
Definition at line 13 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.dest |
Definition at line 12 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.float |
Definition at line 14 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.help |
Definition at line 12 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.metavar |
Definition at line 18 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.nargs |
Definition at line 18 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.None |
Definition at line 13 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.parser = ArgumentParser(description=__doc__) |
Definition at line 11 of file magfit_elliptical.py.
float pymavlink.tools.magfit_elliptical.total = 0.0 |
Definition at line 228 of file magfit_elliptical.py.
pymavlink.tools.magfit_elliptical.type |
Definition at line 14 of file magfit_elliptical.py.