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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ordplot

?? 一個gps小工具包
??
?? 第 1 頁 / 共 2 頁
字號:
#!/usr/bin/env python2.5
# $Id: ordPlot 1114 2008-03-11 12:52:53Z ocibu $
#
# A routine to plot the output of the ord apps.
# The above magic line works under osx 10.5 and ubuntu 7.10. Dunno if it is good
# any further...

import sys, string, time, datetime, numpy, matplotlib, pylab, math

def main():
    from optparse import OptionParser
    parser = OptionParser()
    parser.add_option("-d", "--debug", help="Increase the debugLevel",
                      default=0, dest="debugLevel", action="count")

    parser.add_option("-i", help="Input data file, defaults to stdin.",
                      dest="inputFile", type="string", action="store")

    parser.add_option("-t", dest="title", type="string", action="store",
                      help="Specify a title for the plot. \
                      Defaults to the name of the input stream.")

    parser.add_option("-l", "--legend", dest="legend", action="count",
                      help="Include a legend.")

    parser.add_option("-p", "--prn-highlight", dest="prnHighlight", action="append",
                     help="Highlight the indicated prn. Specify all for all prns.")

    parser.add_option("-o", "--ords-only", help="Only plot the ords (types 0 & 1).",
                      dest="ordsOnly", default=0, action="count")

    parser.add_option("-c", "--clocks-only", help="Only plot the clocks.",
                      dest="clocksOnly", default=0, action="count")

    parser.add_option("--clock-delta", help="Plot clock delta instead of clock residual.",
                      dest="clockDelta", default=0, action="count")

    parser.add_option("-s", dest="saveFig", action="store", type="string",
                      help="Save the figure to the indicated file")

    parser.add_option("-y", dest="yRange", action="store", type="string",
                      help="Fix the y range on the ords to be +- this value or include\
                      the percentage data indicated.")
                      
    parser.add_option("--start-time", dest="tStart", action="store",
                      help="Start time. Format as \"YYYY DOY HH:MM:SS.S\" (Note\
                      the trailing decimal place).") 

    parser.add_option("--smoothing", dest="smoothing", action="store", type="float",
                      default=0,
                      help="Smooth hilighted prns and clock data with specified \
                      window length. Window length is specied in seconds.")

    parser.add_option("--end-time", dest="tEnd", action="store",
                      help="End time. Format as \"YYYY DOY HH:MM:SS.S\" (Note\
                      the trailing decimal place).") 

    parser.add_option("-w", "--warts", dest="wartiness", action="count",
                      help="Increase the importants of warts on the plot.\
                      Zero (the default) means don't even plot them. One\
                      means plot them but don't autoscale to show them all\
                      (just show all the ords). Two means autoscale to show\
                      all the warts. Three means only show the warts and\
                      don't show any ords. Only zero and 2 have been\
                      implimented.")                    

    (options, args) = parser.parse_args()

    if (len(args) and options.inputFile == None):
        options.inputFile = args[0]

    inputFile = sys.stdin
    if (options.inputFile):
        inputFile = open(options.inputFile)

    if (options.title == None):
        options.title = inputFile.name

    prns = range(1,33)
    highlightPrns = []
    if options.prnHighlight:
        if options.prnHighlight[0] == 'all':
            highlightPrns = range(1,33)
        else:
            highlightPrns = [int(p) for p in options.prnHighlight]

    if (options.debugLevel):
        print "Processing: %s" % inputFile.name
        print "Debug level: %d" % options.debugLevel
        print "Title: %s" % options.title
        print "Warts: %s"% options.wartiness
        print "Smoothing: %d seconds" % options.smoothing
        print "Y axis:",
        if options.yRange:
            print options.yRange
        else:
            print "auto ranged"
        if options.debugLevel:
            print "highlighting prns:",highlightPrns

    # ------------------------------------------------------------------
    # Here we start reading in the ord file
    ordList=([],[],[],[])      # time, prn, ord, elevation
    wartList=([],[],[],[])     # time, prn, ord, elevation
    clockList=([],[])          # time, offset
    ocdList=([],[])

    rleClockList=[]

    for line in inputFile:
        line = line.strip()
        if options.debugLevel>1:
            print line
        if len(line)==0: continue

        if line[0] == "#": continue
        if line[0] == '>':
            if line[1] == "c":
                words=line.split()
                if len(words) < 9:
                    print "bad rle line"
                else:
                    t0 = parse_time(words[1:4])
                    t1 = parse_time(words[4:7])
                    offset = float(words[7])
                    slope = float(words[9])
                    abdev = float(words[10])
                    rleClockList.append( (t0, t1, offset, slope, abdev) )
            continue

        words=line.split()
        t = parse_time(words[0:3])

        ordType = int(words[3])
        if ordType == 0:
            if len(words) < 7:
                print "bad ord line"
                continue
            
            prn = int(words[4])
            ord = float(words[7])
            elev = float(words[5])
            wart = int(words[8],16)
            if wart==0:
                ordList[0].append(t)
                ordList[1].append(prn)
                ordList[2].append(ord)
                ordList[3].append(elev)
            else:
                wartList[0].append(t)
                wartList[1].append(prn)
                wartList[2].append(ord)
                wartList[3].append(elev)
        elif ordType == 1:
            if len(words) < 2: print "bad clock residual line"
            ocdList[0].append(t)
            ocdList[1].append(float(words[4]))
        elif ordType == 50:
            if len(words) < 5: print "bad clk line"
            clockList[0].append(t)
            clockList[1].append(float(words[4])) #offset

        if options.debugLevel>2 and len(clockList[0]) >= 200: break

    ords = numpy.array(ordList)
    warts = numpy.array(wartList)
    clocks = numpy.array(clockList)
    ocds = numpy.array(ocdList)

    # Since these are now in numpy arrays, delete the source to save some memory
    del ordList, clockList, wartList, ocdList
    # done reading in the ord file
    # ------------------------------------------------------------------
    
    # Now figure out how many axes we need to use
    plotOrds = True
    plotClocks = True

    if clocks.size==0 or options.ordsOnly: plotClocks = False
    if ((clocks.size==0 and options.clockDelta) and ords.size == 0 and warts.size == 0 and ocds.size == 0) or options.clocksOnly: plotOrds = False
    axesCount=0;
    if plotOrds: axesCount+=1
    if plotClocks: axesCount+=1

    if options.debugLevel:
        print "Read %d ords, %d clocks, %d ocds %d warts %d rle" %\
              (len(ords[0]), len(clocks[0]), len(ocds[0]), len(warts[0]),
               len(rleClockList))

    if axesCount == 0:
        print "No data to plot. Exiting"
        sys.exit()

    # A key handler for matplotlib
    def press(event):
        if event.key=='q' or event.key==' ':
            pylab.close()

    # Here we start generating the plots
    fig = pylab.figure()
    pylab.connect('key_press_event', press)
    yprops = dict(rotation=90,
                  horizontalalignment='right',
                  verticalalignment='center',
                  family='monospace',
                  x=-0.01)

    scale_props = dict(horizontalalignment="right",
                       verticalalignment="bottom",
                       size=8, family="sans-serif")

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线成人av网站| 手机精品视频在线观看| 国产无人区一区二区三区| 日韩美女视频在线| 日韩欧美一级精品久久| 日韩视频中午一区| 久久一区二区三区四区| 久久精品视频在线免费观看| 久久久不卡影院| 欧美国产精品一区| 亚洲欧洲国产日本综合| 亚洲视频精选在线| 亚洲二区在线视频| 日本欧美一区二区| 国产在线视频一区二区| 国产寡妇亲子伦一区二区| 成人av免费在线播放| 色噜噜夜夜夜综合网| 在线亚洲免费视频| 3d成人动漫网站| 久久九九国产精品| 综合久久久久久| 亚洲第一精品在线| 国内精品不卡在线| 99国产麻豆精品| 欧美日韩精品一二三区| 精品国产一区二区三区不卡| 国产午夜精品一区二区| 最新日韩av在线| 亚洲chinese男男1069| 久久精品国产亚洲高清剧情介绍| 国内精品国产三级国产a久久| 成人高清视频在线| 欧美日韩国产小视频在线观看| 欧美白人最猛性xxxxx69交| 国产精品水嫩水嫩| 一区二区三区四区亚洲| 麻豆91精品视频| 成人99免费视频| 91精品国产综合久久精品图片 | 日本国产一区二区| 欧美一区二区三区视频在线 | 丝袜美腿高跟呻吟高潮一区| 久久99精品国产91久久来源| 成人黄色国产精品网站大全在线免费观看| 91福利资源站| 精品福利在线导航| 一级精品视频在线观看宜春院| 久久精品国产精品亚洲综合| 91在线视频播放| 欧美大片顶级少妇| 一区二区在线电影| 国产一区二区三区电影在线观看| 91久久国产最好的精华液| 欧美精品一区二区三区视频 | 丰满岳乱妇一区二区三区| 欧美三级一区二区| 国产精品网站在线| 久久99精品一区二区三区| www.亚洲免费av| 日韩一区二区三区免费观看| 亚洲欧美日韩国产中文在线| 国产揄拍国内精品对白| 欧美日韩激情一区二区| 亚洲欧洲av一区二区三区久久| 免费观看一级特黄欧美大片| 色狠狠桃花综合| 国产精品美女久久福利网站| 蜜臀av亚洲一区中文字幕| 91免费在线播放| 国产蜜臀av在线一区二区三区| 日本女优在线视频一区二区 | 亚洲三级在线免费| 国产成人在线视频网站| 欧美一区二区啪啪| 亚洲人成在线观看一区二区| 国产成人av福利| 久久婷婷国产综合精品青草| 日韩av中文在线观看| 欧美三级视频在线观看| 亚洲精品欧美专区| 91网站在线观看视频| 国产精品久久久久毛片软件| 老司机精品视频导航| 3atv在线一区二区三区| 亚洲va韩国va欧美va精品| 欧美影视一区在线| 亚洲六月丁香色婷婷综合久久 | 精品国产网站在线观看| 日本午夜一区二区| 欧美日韩高清影院| 午夜视频在线观看一区二区| 色av成人天堂桃色av| **欧美大码日韩| 99久久久久久| 中文字幕一区二区视频| 白白色 亚洲乱淫| 亚洲欧洲99久久| av在线不卡网| 亚洲另类中文字| 在线观看不卡视频| 亚洲午夜久久久久中文字幕久| 91欧美一区二区| 亚洲宅男天堂在线观看无病毒| 色综合久久久久网| 亚洲一二三四区| 欧美日韩精品二区第二页| 午夜久久久影院| 欧美人牲a欧美精品| 日本美女一区二区三区| 精品日韩一区二区三区免费视频| 理论电影国产精品| 国产亚洲综合av| 成人蜜臀av电影| 亚洲免费在线播放| 欧美日韩激情一区二区三区| 日本网站在线观看一区二区三区 | 精品裸体舞一区二区三区| 麻豆成人在线观看| 国产日产欧美一区| 99精品在线观看视频| 亚洲国产乱码最新视频 | 69av一区二区三区| 老司机午夜精品99久久| 国产亚洲精品aa| 播五月开心婷婷综合| 一区二区三区四区国产精品| 欧美乱妇一区二区三区不卡视频| 另类小说图片综合网| 国产精品久久久久一区| 在线视频欧美精品| 久久精品国产精品亚洲精品| 国产精品拍天天在线| 在线观看国产精品网站| 久久www免费人成看片高清| 国产欧美一区二区精品仙草咪 | 久久久国产午夜精品| 91视频你懂的| 毛片一区二区三区| 亚洲天堂福利av| 欧美一级黄色大片| www.在线欧美| 日本不卡高清视频| 最新国产精品久久精品| 欧美一区二区三区视频| 福利一区福利二区| 日韩高清在线一区| 国产精品美女久久久久久2018| 9191成人精品久久| www.成人网.com| 美国毛片一区二区三区| 亚洲欧美日韩在线不卡| 欧美tickling网站挠脚心| 99久久99久久久精品齐齐| 青草国产精品久久久久久| 中文字幕一区二| 欧美xxxxxxxxx| 欧美亚洲综合网| 国产黑丝在线一区二区三区| 视频一区视频二区中文字幕| 国产精品成人在线观看| 精品久久久久一区| 欧美性受xxxx| 白白色亚洲国产精品| 久久激情五月激情| 亚洲动漫第一页| 综合久久给合久久狠狠狠97色| 欧美zozozo| 91精品国产综合久久精品| 色综合天天综合| 国产电影一区二区三区| 热久久久久久久| 亚洲国产另类精品专区| 国产精品久久久久一区二区三区| 欧美videofree性高清杂交| 欧美日本不卡视频| 色婷婷av一区二区三区大白胸| 国产精品996| 久99久精品视频免费观看| 亚洲妇女屁股眼交7| 亚洲免费看黄网站| 国产精品成人免费在线| 久久久精品黄色| 亚洲精品一区二区三区蜜桃下载 | 欧美色综合天天久久综合精品| 懂色av一区二区三区免费看| 国内精品国产成人国产三级粉色| 日本网站在线观看一区二区三区| 亚洲国产成人va在线观看天堂| 亚洲天天做日日做天天谢日日欢| 中文字幕欧美日韩一区| 久久久久久久久蜜桃| 26uuu国产在线精品一区二区| 欧美一级高清大全免费观看| 欧美日精品一区视频| 欧美在线不卡一区| 欧美午夜在线观看| 欧美日韩精品一区二区| 欧美日韩不卡在线| 欧美日韩国产色站一区二区三区|