Sphere fit was removed from the KASA bias fit
This allows to run both algorithms at the same time
and to be optimized independently. Furthermore the sphere
fit parameters are now stored as well.
This is a G3 sync from CL 157860258.
Memory usage:
Total memory used by MagCal: 544 Bytes
Total memory used by MagCalSphere: 4392 Bytes.
Total memory used by LmData: 3040 Bytes.
Bug: 62413555
Test: The code compiles and was tested on devices. Functionality
was confirmed via several figure 8 triggers and performance was
confirmed by checking offset estimates against true offset measured in
zero gauss chamber. All test pass.
Change-Id: Ib4aad2f0ec0cf11a4ef06d2bfcd04d736307e0d1
5 files changed