Example #1
0
def main():
    applet = SimpleApplet(XYHistPlot)
    applet.add_dataset("xs", "1D array of point abscissas")
    applet.add_dataset("histogram_bins",
                       "1D array of histogram bin boundaries")
    applet.add_dataset("histograms_counts",
                       "2D array of histogram counts, for each point")
    applet.run()
Example #2
0
def main():
    applet = SimpleApplet(CorrelationPlot)
    applet.argparser.add_argument("--all", "-a",
                                  help="Plot all correlations",
                                  action='store_true')
    applet.argparser.add_argument("--prefix", "-p",
                                  help="Optional dataset prefix", default='')
    applet.add_dataset("x", "X values", required=False)
    applet.run()
Example #3
0
def main():
    applet = SimpleApplet(XYHistPlot)
    applet.add_dataset("xs", "1D array of point abscissas")
    applet.add_dataset("histogram_bins",
                       "1D array of histogram bin boundaries")
    applet.add_dataset("histograms_counts",
                       "2D array of histogram counts, for each point")
    applet.run()
Example #4
0
def main():
    applet = SimpleApplet(NumberWidget)
    applet.add_dataset("dataset", "dataset to show")
    applet.argparser.add_argument("--digit-count",
                                  type=int,
                                  default=10,
                                  help="total number of digits to show")
    applet.run()
Example #5
0
def main():
    applet = SimpleApplet(ProgressWidget)
    applet.add_dataset("value", "counter")
    applet.argparser.add_argument("--min",
                                  type=int,
                                  default=0,
                                  help="minimum (left) value of the bar")
    applet.argparser.add_argument("--max",
                                  type=int,
                                  default=100,
                                  help="maximum (right) value of the bar")
    applet.run()
Example #6
0
def main():
    applet = SimpleApplet(Image)
    applet.add_dataset("img", "image data (2D numpy array)")
    applet.run()
def main():
    applet = SimpleApplet(NewImage)
    applet.add_dataset("img", "image data (2D numpy array)")
    applet.run()
Example #8
0
def main():
    applet = SimpleApplet(XYHistPlot2Ions)
    applet.add_dataset("x", "1D array of point abscissas", required=False)
    applet.add_dataset("counts", "counts vector", required=True)
    applet.add_dataset("Nvec", "shots per scan point", required=True)
    applet.add_dataset("thresholdLow", "low threshold for counts", required=True)
    applet.add_dataset("thresholdHigh", "high threshold for counts", required=True)
    applet.argparser.add_argument("--max_hist", default=250, type=int,
            help="maximum count for histogram")


    applet.run()
Example #9
0
def main():
    applet = SimpleApplet(NumberWidget)
    applet.add_dataset("dataset", "dataset to show")
    applet.argparser.add_argument("--digit-count", type=int, default=10,
                                  help="total number of digits to show")
    applet.run()
def main():
    applet = SimpleApplet(myfreqDisplay)
    # applet.argparser.add_argument("--offset",type=float,default=0.0,help="frequency offset")
    applet.add_dataset("y1", "Y values")
    applet.add_dataset("y2", "Y2 values")
    applet.add_dataset("offset1", "freq1 offset")
    applet.add_dataset("offset2", "freq2 offset")
    applet.add_dataset("lnum", "which scanning laser")
    applet.add_dataset("x", "X values", required=False)

    applet.run()
Example #11
0
def main():
    applet = SimpleApplet(XYPlot)
    applet.add_dataset("y", "Y values")
    applet.add_dataset("x", "X values", required=False)
    applet.add_dataset("error", "Error bars for each X value", required=False)
    applet.add_dataset("fit", "Fit values for each X value", required=False)
    applet.run()
Example #12
0
def main():
    applet = SimpleApplet(DemoWidget)
    applet.add_dataset("dataset", "dataset to show")
    applet.run()
Example #13
0
def main():
    applet = SimpleApplet(HistogramPlot)
    applet.add_dataset("y", "Y values")
    applet.add_dataset("x", "Bin boundaries", required=False)
    applet.run()