⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linearcombinations.hpp

📁 一个gps小工具包
💻 HPP
字号:
#pragma ident "$Id: $"/** * @file LinearCombinations.hpp * This class defines handy linear combinations of GDS data. */#ifndef LINEARCOMBINATIONS_HPP#define LINEARCOMBINATIONS_HPP//============================================================================////  This file is part of GPSTk, the GPS Toolkit.////  The GPSTk is free software; you can redistribute it and/or modify//  it under the terms of the GNU Lesser General Public License as published//  by the Free Software Foundation; either version 2.1 of the License, or//  any later version.////  The GPSTk is distributed in the hope that it will be useful,//  but WITHOUT ANY WARRANTY; without even the implied warranty of//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the//  GNU Lesser General Public License for more details.////  You should have received a copy of the GNU Lesser General Public//  License along with GPSTk; if not, write to the Free Software Foundation,//  Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA//  //  Dagoberto Salazar - gAGE ( http://www.gage.es ). 2007////============================================================================#include "DataStructures.hpp"namespace gpstk{      /** @addtogroup DataStructures */      //@{      /** This class defines handy linear combinations of GDS data.       *       * This class is meant to be used with the GNSS data structures (GDS)       * objects found in "DataStructures" class, and it is intended to be       * coupled with class ComputeLinear.hpp.       *       * A typical way to use this class follows:       *       * @code       *       *      // Define a LinearCombinations object       *   LinearCombinations comb;       *       *      // Object to compute linear combinations of data       *      // Linear combinations will be computed in a FIFO basis       *   ComputeLinear linear;       *       *      // Add a linear combination to compute PC combination using C1       *   linear.addLinear(comb.pcCombWithC1);       *       *      // Add a linear combination to compute prefit residual using PC       *   linear.addLinear(comb.pcPrefit);       *       *       *      // Load observation data       *   RinexObsStream rin("ebre0300.02o");       *       *      // Loads precise ephemeris object with file data       *   SP3EphemerisStore SP3EphList;       *   SP3EphList.loadFile("igs11513.sp3");       *       *      // Sets nominal position of receiver       *   Position nominalPos(4833520.3800, 41536.8300, 4147461.2800);       *       *      // Declare a MOPSTropModel object, setting the defaults       *   MOPSTropModel mopsTM( nominalPos.getAltitude(),       *                         nominalPos.getGeodeticLatitude(), 30);       *       *      // Object to compute the tropospheric data       *   ComputeTropModel computeTropo(mopsTM);       *       *      // Declare a basic modeler       *   BasicModel basic(nominalPos, SP3EphList);       *       *   gnssRinex gRin;       *       *   while(rin >> gRin) {       *       *      gRin >> basic >> computeTropo >> linear;       *       *         // Dump results       *      gRin.body.dump(cout,1);       *       *   }       *       * @endcode       *       * @sa ComputeLinear.hpp       */   class LinearCombinations   {   public:         /// Default constructor      LinearCombinations();         /// Definition to compute prefit residual of C1      gnssLinearCombination c1Prefit;         /// Definition to compute PC combination      gnssLinearCombination pcCombination;         /// Definition to compute PC combination, using C1 instead of P1      gnssLinearCombination pcCombWithC1;         /// Definition to compute prefit residual of PC      gnssLinearCombination pcPrefit;         /// Definition to compute LC combination      gnssLinearCombination lcCombination;         /// Definition to compute prefit residual of LC      gnssLinearCombination lcPrefit;         /// Definition to compute PI combination      gnssLinearCombination piCombination;         /// Definition to compute PI combination, using C1 instead of P1      gnssLinearCombination piCombWithC1;         /// Definition to compute LI combination      gnssLinearCombination liCombination;         /// Definition to compute Pdelta (PW) combination      gnssLinearCombination pdeltaCombination;         /// Definition to compute Pdelta (PW) combination, using C1 instead         /// of P1      gnssLinearCombination pdeltaCombWithC1;         /// Definition to compute Ldelta (LW) combination      gnssLinearCombination ldeltaCombination;         /// Definition to compute the Melbourne-Wubbena (W) combination      gnssLinearCombination mwubbenaCombination;         /// Definition to compute the Melbourne-Wubbena (W) combination,         /// using C1 instead of P1      gnssLinearCombination mwubbenaCombWithC1;   };      //@}   }#endif // LINEARCOMBINATIONS_HPP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -