Ejemplo n.º 1
0
        funcnamelist.remove('plottingin')
    if 'plottingout' in funcnamelist:
        plotboolout=True
        funcnamelist.remove('plottingout')
    if 'plottingerror' in funcnamelist:
        ploterror=True
        funcnamelist.remove('plottingerror')
    if 'plottingmat' in funcnamelist:
        plotmat=True
        funcnamelist.remove('plottingmat')
    if 'plottingmatinv' in funcnamelist:
        plotmatinv=True
        funcnamelist.remove('plottingmatinv')
    for ibase in basedirlist:
        if len(funcnamelist)>0:
            runradarsims(ibase,funcnamelist,configfile,remakealldata,fittimes,invtype=invtype)
            #save2dropbox(ibase)
        if plotboolin:
            plotinputdata(ibase,os.path.join(ibase,'Inputimages'),wtimes)
        if plotboolout:
            #
            plotoutput(ibase,os.path.join(ibase,'fittedimages{}'.format(invtype)),configfile,wtimes,fitpath='FittedInv',fitfile='fitteddata{0}.h5'.format(invtype))
        if plotmat:
            plotoutput(ibase,os.path.join(ibase,'fittedimagesmat'),configfile,wtimes,fitpath='FittedMat')
        if plotmatinv:
            plotoutput(ibase,os.path.join(ibase,'fittedimagesmat'),configfile,wtimes,fitpath='FittedMatInv',fitfile='fitteddata{0}.h5'.format(invtype))
        if ploterror:
            ploterrors(ibase,os.path.join(ibase,'fittederroronlyimages'),configfile,wtimes,fitpath='FittedMat')
            plotpercenterror(ibase,os.path.join(ibase,'fittederroronlyimages'),configfile,wtimes,fitpath='FittedMat')
            #save2dropbox(ibase)
Ejemplo n.º 2
0
    plotboolin = False
    plotboolout= False
    ploterror = False
    if 'plotting' in funcnamelist:
        plotboolin=True
        plotboolout=True
        ploterror=True
        funcnamelist.remove('plotting')
    if 'plottingin' in funcnamelist:
        plotboolin=True
        funcnamelist.remove('plottingin')
    if 'plottingout' in funcnamelist:
        plotboolout=True
        funcnamelist.remove('plottingout')
    if 'plottingerror' in funcnamelist:
        ploterror=True
        funcnamelist.remove('plottingerror')
    for ibase in basedirlist:
        if len(funcnamelist)>0:
            runradarsims(ibase,funcnamelist,configfile,remakealldata,fittimes)
            #save2dropbox(ibase)
        if plotboolin:
            plotinputdata(ibase,os.path.join(ibase,'Inputimages'),wtimes)
        if plotboolout:
            plotoutput(ibase,os.path.join(ibase,'fittedimages'),configfile,wtimes)
        if ploterror:
            ploterrors(ibase,os.path.join(ibase,'fittederroronlyimages'),configfile,wtimes)
            plotpercenterror(ibase,os.path.join(ibase,'fittederroronlyimages'),configfile,wtimes)