#ifndef DRIFTCORRECTION_H_ #define DRIFTCORRECTION_H_ // //----------------------------------------------------------------------- /// @copyright /// (c) Copyright 2008 by GATS, Inc., /// 11864 Canon Blvd, Suite 101, Newport News VA 23606 /// /// All Rights Reserved. No part of this software or publication may be /// reproduced, stored in a retrieval system, or transmitted, in any form /// or by any means, electronic, mechanical, photocopying, recording, or /// otherwise without the prior written permission of GATS, Inc. /// //----------------------------------------------------------------------- /// /// @file DriftCorrection.h /// /// @author John Burton /// /// @date Mon Aug 18 16:58:19 2008 /// //----------------------------------------------------------------------- // //----------------------------------------------------------------------- // Include Files: //----------------------------------------------------------------------- // // //----------------------------------------------------------------------- // Constants, Defines, Macros and Type Definitions: //----------------------------------------------------------------------- // // //----------------------------------------------------------------------- // Global Variables: //----------------------------------------------------------------------- // // //----------------------------------------------------------------------- // Class Definition: //----------------------------------------------------------------------- // class DriftCorrection { // //----------------------------------------------------------------------- // Private Members: //----------------------------------------------------------------------- // private: double m_; double b_; double R2_; double e_ref_; double t_ref_; double z_ref_; EventVar MeasuredExtent_; EventVar CorrectedExtent_; EventVar Altitude_; EventVar Time_; // //----------------------------------------------------------------------- // Protected Members: //----------------------------------------------------------------------- // protected: // //----------------------------------------------------------------------- // Public Members: //----------------------------------------------------------------------- // public: DriftCorrection(void); void doLinearFit(EventVar &Extent, EventVar &Altitude, EventVar &Time); EventVar doDriftCorrection(double &TrueExtent); }; // end class DriftCorrection #endif