亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? licsdetector.hpp

?? gps源代碼
?? HPP
字號:
/** * @file LICSDetector.hpp * This is a class to detect cycle slips using LI observables. */#ifndef LICSDETECTOR_GPSTK#define LICSDETECTOR_GPSTK//============================================================================////  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 GPSsolutions */    //@{    /** This is a class to detect cycle slips using LI observables.     * This class is meant to be used with the GNSS data structures objects     * found in "DataStructures" class.     *     * A typical way to use this class follows:     *     * @code     *   RinexObsStream rin("ebre0300.02o");     *     *   gnssRinex gRin;     *   ComputeLI getLI;     *   LICSDetector markCSLI;     *     *   while(rin >> gRin) {     *      gRin >> getLI >> markCSLI;     *   }     * @endcode     *     * The "LICSDetector" object will visit every satellite in the GNSS data     * structure that is "gRin" and will decide if a cycle slip has happened in the     * given observable.     *     * The algorithm will use LI observables, and the LLI1 and LLI2 indexes.     * The result (a 0 if a cycle slip is found, 1 otherwise) will be stored in the     * data structure both as the CSL1 and CSL2 indexes.     *     * This algorithm will use some values as maximum interval of time between     * two successive epochs, minimum threshold for declaring cycle slip and LI     * combination limit drift.     *      * The default values are usually fine, but nevertheless you may change them      * with the appropriate methods. The former is of special importance for the     * maximum interval time, that should be adjusted to your sampling rate. By     * default it is 61 seconds, adapted to 30 seconds per sample RINEX files.     *     * When used with the ">>" operator, this class returns the same incoming     * data structure with the cycle slip indexes inserted along their corresponding     * satellites. Be warned that if a given satellite does not have the      * observations required, it will be summarily deleted from the data     * structure.     *     * Be aware that some combinations of cycle slips in L1 and L2 may result in     * a false negative when using a cycle slip detector based on LI. Therefore,     * to be on the safe side you should complement this with another kind of     * detector, such as one based on the Melbourne-Wubbena combination.     *     * @sa MWCSDetector.hpp for more information.     *     * \warning Cycle slip detectors are objets that store their internal state,     * so you MUST NOT use the SAME object to process DIFFERENT data streams.     *     */        class LICSDetector    {    public:        /// Default constructor, setting default parameters.        LICSDetector() : obsType(TypeID::LI), lliType1(TypeID::LLI1), lliType2(TypeID::LLI2), resultType1(TypeID::CSL1), resultType2(TypeID::CSL2), deltaTMax(61.0), minThreshold(0.04), LIDrift(0.002), useLLI(true) {};        /** Common constructor         *         * @param mThr          Minimum threshold for declaring cycle slip, in meters.         * @param drift         LI combination limit drift, in meters/second.         * @param dtMax         Maximum interval of time allowed between two successive epochs, in seconds.         */        LICSDetector(const double& mThr, const double& drift, const double& dtMax = 61.0, const bool& use = true) : obsType(TypeID::LI), lliType1(TypeID::LLI1), lliType2(TypeID::LLI2), resultType1(TypeID::CSL1), resultType2(TypeID::CSL2), useLLI(use)        {            setDeltaTMax(dtMax);            setMinThreshold(mThr);            setLIDrift(drift);        };        /** Returns a satTypeValueMap object, adding the new data generated when calling this object.         *         * @param epoch     Time of observations.         * @param gData     Data object holding the data.         * @param epochflag Epoch flag.         */        virtual satTypeValueMap& Detect(const DayTime& epoch, satTypeValueMap& gData, const short& epochflag=0)        {            double value1(0.0);            double lli1(0.0);            double lli2(0.0);            SatIDSet satRejectedSet;            // Loop through all the satellites            satTypeValueMap::iterator it;            for (it = gData.begin(); it != gData.end(); ++it)             {                try                {                    // Try to extract the values                    value1 = (*it).second(obsType);                }                catch(...)                {                    // If some value is missing, then schedule this satellite for removal                    satRejectedSet.insert( (*it).first );                    continue;                }                if (useLLI)                {                    try                    {                        // Try to get the LLI1 index                        lli1  = (*it).second(lliType1);                    }                    catch(...)                    {                        // If LLI #1 is not found, set it to zero                        // You REALLY want to have BOTH LLI indexes properly set                        lli1 = 0.0;                    }                    try                    {                        // Try to get the LLI2 index                        lli2  = (*it).second(lliType2);                    }                    catch(...)                    {                        // If LLI #2 is not found, set it to zero                        // You REALLY want to have BOTH LLI indexes properly set                        lli2 = 0.0;                    }                }                // If everything is OK, then get the new values inside the structure                // This way of doing it allows concatenation of several different cycle slip detectors                (*it).second[resultType1] += getDetection(epoch, (*it).first, (*it).second, epochflag, value1, lli1, lli2);                if ( (*it).second[resultType1] > 1.0 ) (*it).second[resultType1] = 1.0;                // We will mark both cycle slip flags                (*it).second[resultType2] = (*it).second[resultType1];            }            // Remove satellites with missing data            gData.removeSatID(satRejectedSet);            return gData;        };        /** Method to set the maximum interval of time allowed between two successive epochs.         * @param maxDelta      Maximum interval of time, in seconds         */        virtual void setDeltaTMax(const double& maxDelta)        {            // Don't allow delta times less than or equal to 0            if (maxDelta > 0.0) deltaTMax = maxDelta; else deltaTMax = 61.0;        };        /// Method to get the maximum interval of time allowed between two successive epochs, in seconds.        virtual double getDeltaTMax() const        {           return deltaTMax;        };        /** Method to set the minimum threshold for cycle slip detection, in meters.         * @param mThr      Minimum threshold for cycle slip detection, in meters.         */        virtual void setMinThreshold(const double& mThr)        {            // Don't allow thresholds less than 0            if (mThr < 0.0) minThreshold = 0.04; else minThreshold = mThr;        };        /// Method to get the minimum threshold for cycle slip detection, in meters.        virtual double getMinThreshold() const        {           return minThreshold;        };        /** Method to set the LI combination limit drift, in meters/second         * @param drift     LI combination limit drift, in meters/second.         */        virtual void setLIDrift(const double& drift)        {            // Don't allow drift less than or equal to 0            if (drift > 0.0) LIDrift = drift; else LIDrift = 0.002;        };        /// Method to get the minimum threshold for cycle slip detection, in meters.        virtual double getLIDrift() const        {           return LIDrift;        };        /** Method to set whether the LLI indexes will be used as an aid or not.         * @param use   Boolean value enabling/disabling LLI check         */        virtual void setUseLLI(const bool& use)        {            useLLI = use;        };        /// Method to know if the LLI check is enabled or disabled.        virtual bool getUseLLI() const        {           return useLLI;        };        /** Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.         *         * @param gData    Data object holding the data.         */        virtual gnssSatTypeValue& Detect(gnssSatTypeValue& gData)        {            (*this).Detect(gData.header.epoch, gData.body);            return gData;        };        /** Returns a gnnsRinex object, adding the new data generated when calling this object.         *         * @param gData    Data object holding the data.         */        virtual gnssRinex& Detect(gnssRinex& gData)        {            (*this).Detect(gData.header.epoch, gData.body, gData.header.epochFlag);            return gData;        };        /// Destructor        virtual ~LICSDetector() {};    private:        /// Type of code.        TypeID obsType;        /// Type of LLI1 record.        TypeID lliType1;        /// Type of LLI2 record.        TypeID lliType2;        /// Type of result #1.        TypeID resultType1;        /// Type of result #2.        TypeID resultType2;        /// Maximum interval of time allowed between two successive epochs, in seconds.        double deltaTMax;        /// Minimum threshold for declaring cycle slip, in meters.        double minThreshold;        /// LI combination limit drift, in meters/second.        double LIDrift;        /// This field tells whether to use or ignore the LLI indexes as an aid.         bool useLLI;        /// A structure used to store filter data for a SV.        struct filterData        {            // Default constructor initializing the data in the structure            filterData() : formerEpoch(DayTime::BEGINNING_OF_TIME), windowSize(0), formerLI(0.0), formerBias(0.0), formerDeltaT(1.0) {};            DayTime formerEpoch;    ///< The previous epoch time stamp.            int windowSize;         ///< Size of current window, in samples.            double formerLI;        ///< Value of the previous LI observable.            double formerBias;      ///< Previous bias (LI_1 - LI_0).            double formerDeltaT;    ///< Previous time difference, in seconds.        };        /// Map holding the information regarding every satellite        std::map<SatID, filterData> LIData;        /** Returns a satTypeValueMap object, adding the new data generated when calling this object.         *         * @param epoch     Time of observations.         * @param sat       SatID.         * @param tvMap     Data structure of TypeID and values.         * @param epochflag Epoch flag.         * @param li        Current LI observation value.         * @param lli1      LLI1 index.         * @param lli2      LLI2 index.         */        virtual double getDetection(const DayTime& epoch, const SatID& sat, typeValueMap& tvMap, const short& epochflag, const double& li, const double& lli1, const double& lli2)        {            bool reportCS(false);            double currentDeltaT(0.0); // Difference between current and former epochs, in sec            double currentBias(0.0);   // Difference between current and former LI values            double deltaLimit(0.0);    // Limit to declare cycle slip            double delta(0.0);            double tempLLI1(0.0);            double tempLLI2(0.0);            // Get the difference between current epoch and former epoch, in seconds            currentDeltaT = ( epoch.MJDdate() - LIData[sat].formerEpoch.MJDdate() ) * DayTime::SEC_DAY;            // Store current epoch as former epoch            LIData[sat].formerEpoch = epoch;            currentBias = li - LIData[sat].formerLI;   // Current value of LI difference            // Increment size of window            ++LIData[sat].windowSize;            // Check if receiver already declared cycle slip or too much time has elapsed            // Note: If tvMap(lliType1) or tvMap(lliType2) don't exist, then 0 will be returned and those tests will pass            if ( (tvMap(lliType1)==1.0) || (tvMap(lliType1)==3.0) || (tvMap(lliType1)==5.0) || (tvMap(lliType1)==7.0) ) tempLLI1 = 1.0;            if ( (tvMap(lliType2)==1.0) || (tvMap(lliType2)==3.0) || (tvMap(lliType2)==5.0) || (tvMap(lliType2)==7.0) ) tempLLI2 = 1.0;            if ( (epochflag==1) || (epochflag==6) || (tempLLI1==1.0) || (tempLLI2==1.0) || (currentDeltaT > deltaTMax) )            {                LIData[sat].windowSize = 0;      // We reset the filter with this                reportCS = true;            }            if (LIData[sat].windowSize > 1)            {                deltaLimit = minThreshold + std::abs(LIDrift*currentDeltaT);                // Compute a linear interpolation and compute LI_predicted - LI_current                delta = std::abs(currentBias - LIData[sat].formerBias*currentDeltaT/LIData[sat].formerDeltaT);                if (delta > deltaLimit)                {                    LIData[sat].windowSize = 0;      // We reset the filter with this                    reportCS = true;                }            }            // Let's prepare for the next time            LIData[sat].formerLI = li;            LIData[sat].formerBias = currentBias;            LIData[sat].formerDeltaT = currentDeltaT;                           if (reportCS) return 1.0; else return 0.0;        };   }; // end class LICSDetector       /// Input operator from gnssSatTypeValue to LICSDetector.    inline gnssSatTypeValue& operator>>(gnssSatTypeValue& gData, LICSDetector& liD)    {            liD.Detect(gData);            return gData;    }    /// Input operator from gnssRinex to LICSDetector.    inline gnssRinex& operator>>(gnssRinex& gData, LICSDetector& liD)    {            liD.Detect(gData);            return gData;    }      //@}   }#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费在线观看视频一区| 欧美激情在线一区二区| 成人综合婷婷国产精品久久免费| 夜夜揉揉日日人人青青一国产精品| 精品少妇一区二区三区在线播放| 欧美三区在线视频| 99精品欧美一区二区三区小说 | 91福利视频久久久久| 91久久免费观看| 777精品伊人久久久久大香线蕉| 在线国产电影不卡| 色成年激情久久综合| 国产一区二区在线影院| 石原莉奈在线亚洲三区| 亚洲欧美日韩精品久久久久| 国产欧美日韩激情| 久久天堂av综合合色蜜桃网| 91麻豆国产精品久久| 99视频在线观看一区三区| 国产精品自在欧美一区| 三级在线观看一区二区| 亚洲成av人片在www色猫咪| 亚洲欧美怡红院| 一二三四区精品视频| 亚洲va韩国va欧美va精品| 亚洲高清免费一级二级三级| 亚洲一区自拍偷拍| 日本美女一区二区三区| 免费在线一区观看| 国产一区二区免费看| 国产呦萝稀缺另类资源| 国产黄色精品网站| 91年精品国产| 精品乱人伦小说| 视频一区欧美日韩| 成人一区二区三区视频在线观看| 99国产精品久久久久| 伊人性伊人情综合网| 一色屋精品亚洲香蕉网站| 三级在线观看一区二区| heyzo一本久久综合| 制服丝袜中文字幕亚洲| 亚洲自拍另类综合| 久久综合色之久久综合| 国产精品污www在线观看| 国产女人18水真多18精品一级做| 日本成人超碰在线观看| 欧美伊人精品成人久久综合97 | 成人黄色电影在线 | 在线视频欧美区| 538在线一区二区精品国产| 久久美女艺术照精彩视频福利播放 | 制服丝袜成人动漫| 日韩精彩视频在线观看| 国产精品亚洲专一区二区三区 | 国产成人在线色| 欧美日韩精品一区二区三区| 久久影院午夜论| 一区二区三区高清在线| 国模无码大尺度一区二区三区| 91网站最新地址| 精品欧美一区二区久久| 欧美性色黄大片手机版| 日韩视频在线一区二区| 蜜桃av噜噜一区| 大尺度一区二区| 欧美一区二区久久| 一区二区三区免费看视频| 精品在线一区二区三区| 欧美日韩一区二区三区四区| 久久午夜老司机| 亚洲444eee在线观看| 日韩三级免费观看| 亚洲精品va在线观看| 日韩电影一区二区三区四区| av亚洲精华国产精华| 欧美精品一区二区蜜臀亚洲| 午夜视频一区在线观看| 99久久久久免费精品国产| 精品少妇一区二区三区在线视频| 午夜精品久久久| 91美女福利视频| 亚洲国产高清aⅴ视频| 国模少妇一区二区三区| 2024国产精品| 国产一区二区不卡老阿姨| 26uuu色噜噜精品一区| 日韩中文字幕一区二区三区| 欧美综合天天夜夜久久| ...中文天堂在线一区| 91香蕉国产在线观看软件| 亚洲国产激情av| 成人性生交大片| 亚洲欧洲三级电影| 在线视频国内自拍亚洲视频| 日韩伦理电影网| 欧美一级片免费看| av在线不卡电影| 蜜臂av日日欢夜夜爽一区| 麻豆成人免费电影| 成人av资源站| 欧美一区二区国产| 日本在线不卡一区| 久久中文字幕电影| 欧美中文字幕一区二区三区亚洲| 91麻豆福利精品推荐| 欧美写真视频网站| 青青草国产精品亚洲专区无| 在线免费av一区| 亚洲免费av在线| 色婷婷av一区二区三区之一色屋| 亚洲美女在线国产| 欧美亚洲国产怡红院影院| 亚洲欧美日韩中文播放| 在线观看视频欧美| 夜夜嗨av一区二区三区| 欧美影院精品一区| 日本不卡在线视频| 一本高清dvd不卡在线观看| 在线免费观看成人短视频| 国产成a人亚洲| 成人精品视频一区二区三区尤物| 色综合色综合色综合| 欧美中文字幕亚洲一区二区va在线 | 久久久综合网站| 久久综合五月天婷婷伊人| 欧美一区二区三区四区视频| 91.麻豆视频| www成人在线观看| 中文无字幕一区二区三区| 欧美成人精品高清在线播放| 欧美绝品在线观看成人午夜影视| 91在线高清观看| 色爱区综合激月婷婷| 99国产精品国产精品毛片| 色哟哟一区二区在线观看| 91麻豆精品国产自产在线| 久久伊99综合婷婷久久伊| 欧美三级中文字| 日韩午夜小视频| 国产亚洲精品bt天堂精选| 国产亚洲欧美日韩日本| 日本不卡一区二区| 精品精品国产高清一毛片一天堂| 国产成人午夜99999| 日韩美女久久久| 欧美日韩精品久久久| 国模大尺度一区二区三区| 1区2区3区欧美| 99久久精品免费| 国产福利电影一区二区三区| 日韩欧美国产高清| 在线成人午夜影院| 欧美激情一区二区三区| 2021中文字幕一区亚洲| 国产欧美日韩另类一区| 亚洲成人动漫在线观看| 丁香啪啪综合成人亚洲小说 | 成人免费高清视频| 国产精品美女久久久久久久| 欧美日韩你懂得| 成人午夜电影网站| 五月婷婷激情综合网| 国产日韩v精品一区二区| 欧美日韩免费观看一区二区三区| 韩国v欧美v日本v亚洲v| 亚洲一二三区不卡| 欧美高清在线一区二区| 日韩一区二区影院| 色婷婷综合久久久中文一区二区| 男男视频亚洲欧美| 亚洲激情图片qvod| 国产日韩欧美a| 欧美电视剧免费观看| 欧美亚洲高清一区| www.亚洲人| 国产资源精品在线观看| 日韩电影一二三区| 一区二区三区四区视频精品免费| 久久九九久精品国产免费直播| 91麻豆精品国产91久久久久久久久 | 久久国产尿小便嘘嘘尿| 99久久久无码国产精品| 精品久久久久久久人人人人传媒| 亚洲色欲色欲www| 成人一二三区视频| 久久精品亚洲精品国产欧美| 99久久er热在这里只有精品15 | 欧美激情一区三区| 色噜噜狠狠一区二区三区果冻| 国产日韩av一区| 91亚洲精品一区二区乱码| 首页亚洲欧美制服丝腿| 一区二区在线观看免费| 2023国产一二三区日本精品2022| 欧美日本在线视频| 国产91综合一区在线观看| 久久蜜桃av一区二区天堂| 国产精品亚洲专一区二区三区 | 国产精选一区二区三区|