Exemplo n.º 1
0
    from Vision.StandardNodes import Index
    Index_29 = Index(constrkw={}, name='Index', library=stdlib)
    masterNet.addNode(Index_29, 482, 171)
    apply(Index_29.inputPortByName['index'].widget.configure, (), {'max': 3})
    Index_29.inputPortByName['index'].widget.set(3, run=False)
    apply(Index_29.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore Index named Index in network masterNet"
    print_exc()
    Index_29 = None

try:
    ## saving node Draw Area ##
    from Vision.matplotlibNodes import MPLDrawAreaNE
    Draw_Area_30 = MPLDrawAreaNE(constrkw={},
                                 name='Draw Area',
                                 library=matplotliblib)
    masterNet.addNode(Draw_Area_30, 515, 321)
    Draw_Area_30.inputPortByName['bottom'].widget.set(0.683333333333,
                                                      run=False)
    Draw_Area_30.inputPortByName['height'].widget.set(0.286111111111,
                                                      run=False)
    Draw_Area_30.inputPortByName['title'].widget.set("", run=False)
    Draw_Area_30.inputPortByName['xlabel'].widget.set("", run=False)
    Draw_Area_30.inputPortByName['ylabel'].widget.set("Semilogy", run=False)
except:
    print "WARNING: failed to restore MPLDrawAreaNE named Draw Area in network masterNet"
    print_exc()
    Draw_Area_30 = None

try:
Exemplo n.º 2
0
    ReadTable_155 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_155, 19, 36)
    ReadTable_155.inputPortByName['filename'].widget.set(
        "Data/table_data_values.dat", run=False)
    ReadTable_155.inputPortByName['sep'].widget.set(",", run=False)
    apply(ReadTable_155.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_155 = None

try:
    ## saving node Draw Area ##
    from Vision.matplotlibNodes import MPLDrawAreaNE
    Draw_Area_156 = MPLDrawAreaNE(constrkw={},
                                  name='Draw Area',
                                  library=matplotliblib)
    masterNet.addNode(Draw_Area_156, 389, 360)
    Draw_Area_156.inputPortByName['left'].widget.set(0.2, run=False)
    Draw_Area_156.inputPortByName['bottom'].widget.set(0.2, run=False)
    Draw_Area_156.inputPortByName['width'].widget.set(0.7, run=False)
    Draw_Area_156.inputPortByName['height'].widget.set(0.666666666667,
                                                       run=False)
    Draw_Area_156.inputPortByName['title'].widget.set("", run=False)
    Draw_Area_156.inputPortByName['xlabel'].widget.set("", run=False)
    Draw_Area_156.inputPortByName['ylabel'].widget.set("", run=False)
except:
    print "WARNING: failed to restore MPLDrawAreaNE named Draw Area in network masterNet"
    print_exc()
    Draw_Area_156 = None
Exemplo n.º 3
0
    from Vision.StandardNodes import Index
    Index_207 = Index(constrkw={}, name='Index', library=stdlib)
    masterNet.addNode(Index_207, 567, 75)
    apply(Index_207.inputPortByName['index'].widget.configure, (), {'max': 3})
    Index_207.inputPortByName['index'].widget.set(3, run=False)
    apply(Index_207.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore Index named Index in network masterNet"
    print_exc()
    Index_207 = None

try:
    ## saving node Draw Area ##
    from Vision.matplotlibNodes import MPLDrawAreaNE
    Draw_Area_208 = MPLDrawAreaNE(constrkw={},
                                  name='Draw Area',
                                  library=matplotliblib)
    masterNet.addNode(Draw_Area_208, 654, 259)
    Draw_Area_208.inputPortByName['bottom'].widget.set(0.683333333333,
                                                       run=False)
    Draw_Area_208.inputPortByName['height'].widget.set(0.286111111111,
                                                       run=False)
    Draw_Area_208.inputPortByName['title'].widget.set("", run=False)
    Draw_Area_208.inputPortByName['xlabel'].widget.set("", run=False)
    Draw_Area_208.inputPortByName['ylabel'].widget.set("Semilogy", run=False)
except:
    print "WARNING: failed to restore MPLDrawAreaNE named Draw Area in network masterNet"
    print_exc()
    Draw_Area_208 = None

try: