'''
Created on 2009-07-17

@author: malem303

'''
import time
import scipy as sp
#import math

from imugrabber.experiments import acquisition_procedures
#
    
if __name__ == '__main__':
    
#    plots.test_plot()
#    acceleroDataSet = acquisition_procedures.accelerometer_dataset()
    
#    acceleroMisalignmentsAndScales, acceleroBiases, residuals, correctedMesaures, longitudes, latitudes  = calibration_procedures.fit_accelero_parameters_fong(acceleroDataSet)
#    plots.plot_residuals(residuals, longitudes, latitudes)
    
#    acceleroMisalignmentsAndScales, acceleroBiases, residuals, correctedMesaures, longitudes, latitudes = calibration_procedures.fit_accelero_parameters_regression(acceleroDataSet)
#    plots.plot_residuals(residuals, longitudes, latitudes)
#    plots.plot_fit(correctedMesaures, longitudes, latitudes)
    
    gyroDataSet = acquisition_procedures.gyro_dataset()
   


#    gyroMisalignmentsAndScales = calibration_procedures.fit_gyro_parameters_fong()
    
    
#    calibration_procedures.plotGyroFits(gyroDataSet, gyroMisalignmentsAndScales)
    

    
    
    

    





    
    
