示例#1
0
try:
    ## saving node TablePlot ##
    from Vision.matplotlibNodes import TablePlotNE
    TablePlot_154 = TablePlotNE(constrkw={},
                                name='TablePlot',
                                library=matplotliblib)
    masterNet.addNode(TablePlot_154, 111, 400)
except:
    print "WARNING: failed to restore TablePlotNE named TablePlot in network masterNet"
    print_exc()
    TablePlot_154 = None

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    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',
示例#2
0
try:
    ## saving node FillColor ##
    from Vision.matplotlibNodes import FillNE
    FillColor_48 = FillNE(constrkw={}, name='FillColor', library=matplotliblib)
    masterNet.addNode(FillColor_48, 105, 371)
    FillColor_48.inputPortByName['fillcolor'].widget.set("red", run=False)
    apply(FillColor_48.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore FillNE named FillColor in network masterNet"
    print_exc()
    FillColor_48 = None

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_49 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_49, 123, 38)
    ReadTable_49.inputPortByName['filename'].widget.set(
        "Data/fillcolor_data.dat", run=False)
    ReadTable_49.inputPortByName['sep'].widget.set(",", run=False)
    ReadTable_49.inputPortByName['datatype'].widget.set("float", run=False)
    apply(ReadTable_49.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_49 = None

try:
    ## saving node Set Matplotlib options ##
    from Vision.matplotlibNodes import MatPlotLibOptions
    Set_Matplotlib_options_50 = MatPlotLibOptions(
示例#3
0
    masterNet.addNode(Draw_Area_25, 92, 177)
    Draw_Area_25.inputPortByName['width'].widget.set(0.391666666667, run=False)
    Draw_Area_25.inputPortByName['hold'].widget.set(1, run=False)
    Draw_Area_25.inputPortByName['title'].widget.set("Histogram of IQ ",
                                                     run=False)
    Draw_Area_25.inputPortByName['xlabel'].widget.set("Smarts", run=False)
    Draw_Area_25.inputPortByName['ylabel'].widget.set("Probability", run=False)
except:
    print "WARNING: failed to restore MPLDrawAreaNE named Draw Area in network masterNet"
    print_exc()
    Draw_Area_25 = None

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_26 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_26, 285, 7)
    ReadTable_26.inputPortByName['filename'].widget.set("Data/plot_data.dat",
                                                        run=False)
    ReadTable_26.inputPortByName['sep'].widget.set(",", run=False)
    ReadTable_26.inputPortByName['datatype'].widget.set("float", run=False)
    apply(ReadTable_26.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_26 = None

try:
    ## saving node Plot ##
    from Vision.matplotlibNodes import PlotNE
    Plot_27 = PlotNE(constrkw={}, name='Plot', library=matplotliblib)
示例#4
0
from traceback import print_exc
## loading libraries ##
from Vision.matplotlibNodes import matplotliblib
masterNet.getEditor().addLibraryInstance(matplotliblib,
                                         "Vision.matplotlibNodes",
                                         "matplotliblib")

from Vision.StandardNodes import stdlib
masterNet.getEditor().addLibraryInstance(stdlib, "Vision.StandardNodes",
                                         "stdlib")

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_85 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_85, 500, 31)
    ReadTable_85.inputPortByName['filename'].widget.set(
        "Data/pcolormesh_data_3.dat", run=False)
    ReadTable_85.inputPortByName['sep'].widget.set(",", run=False)
    ReadTable_85.inputPortByName['datatype'].widget.set("float", run=False)
    apply(ReadTable_85.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_85 = None

try:
    ## saving node As Type ##
    from Vision.StandardNodes import AsType
    As_Type_86 = AsType(constrkw={}, name='As Type', library=stdlib)
示例#5
0
from traceback import print_exc
## loading libraries ##
from Vision.matplotlibNodes import matplotliblib
masterNet.getEditor().addLibraryInstance(matplotliblib,
                                         "Vision.matplotlibNodes",
                                         "matplotliblib")

from Vision.StandardNodes import stdlib
masterNet.getEditor().addLibraryInstance(stdlib, "Vision.StandardNodes",
                                         "stdlib")

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_99 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_99, 472, 30)
    ReadTable_99.inputPortByName['filename'].widget.set(
        "Data/pcolormesh_data_3.dat", run=False)
    ReadTable_99.inputPortByName['sep'].widget.set(",", run=False)
    ReadTable_99.inputPortByName['datatype'].widget.set("float", run=False)
    apply(ReadTable_99.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_99 = None

try:
    ## saving node As Type ##
    from Vision.StandardNodes import AsType
    As_Type_100 = AsType(constrkw={}, name='As Type', library=stdlib)
示例#6
0
try:
    ## saving node Pie ##
    from Vision.matplotlibNodes import PieNE
    Pie_106 = PieNE(constrkw={}, name='Pie', library=matplotliblib)
    masterNet.addNode(Pie_106, 89, 318)
    Pie_106.inputPortByName['shadow'].widget.set(0, run=False)
    apply(Pie_106.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore PieNE named Pie in network masterNet"
    print_exc()
    Pie_106 = None

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_107 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_107, 295, 11)
    ReadTable_107.inputPortByName['filename'].widget.set("Data/pie_data_1.dat",
                                                         run=False)
    ReadTable_107.inputPortByName['sep'].widget.set(",", run=False)
    apply(ReadTable_107.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_107 = None

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_108 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_108, 39, 7)
示例#7
0
from traceback import print_exc
## loading libraries ##
from Vision.matplotlibNodes import matplotliblib
masterNet.getEditor().addLibraryInstance(matplotliblib,
                                         "Vision.matplotlibNodes",
                                         "matplotliblib")

from Vision.StandardNodes import stdlib
masterNet.getEditor().addLibraryInstance(stdlib, "Vision.StandardNodes",
                                         "stdlib")

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_92 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_92, 497, 23)
    ReadTable_92.inputPortByName['filename'].widget.set(
        "Data/pcolormesh_data_3.dat", run=False)
    ReadTable_92.inputPortByName['sep'].widget.set(",", run=False)
    ReadTable_92.inputPortByName['datatype'].widget.set("float", run=False)
    apply(ReadTable_92.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_92 = None

try:
    ## saving node As Type ##
    from Vision.StandardNodes import AsType
    As_Type_93 = AsType(constrkw={}, name='As Type', library=stdlib)
示例#8
0
                               name='Histogram',
                               library=matplotliblib)
    masterNet.addNode(Histogram_74, 536, 326)
    Histogram_74.inputPortByName['bins'].widget.set(50, run=False)
    Histogram_74.inputPortByName['patch_facecolor'].widget.set("green",
                                                               run=False)
    apply(Histogram_74.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore HistogramNE named Histogram in network masterNet"
    print_exc()
    Histogram_74 = None

try:
    ## saving node ReadTable ##
    from Vision.StandardNodes import ReadTable
    ReadTable_75 = ReadTable(constrkw={}, name='ReadTable', library=stdlib)
    masterNet.addNode(ReadTable_75, 289, 24)
    ReadTable_75.inputPortByName['filename'].widget.set("Data/plot_data.dat",
                                                        run=False)
    ReadTable_75.inputPortByName['sep'].widget.set(",", run=False)
    ReadTable_75.inputPortByName['datatype'].widget.set("float", run=False)
    apply(ReadTable_75.configure, (), {'expanded': True})
except:
    print "WARNING: failed to restore ReadTable named ReadTable in network masterNet"
    print_exc()
    ReadTable_75 = None

try:
    ## saving node Plot ##
    from Vision.matplotlibNodes import PlotNE
    Plot_76 = PlotNE(constrkw={}, name='Plot', library=matplotliblib)