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()
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()
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()
def main(): applet = SimpleApplet(NewImage) applet.add_dataset("img", "image data (2D numpy array)") applet.run()
def main(): applet = SimpleApplet(DemoWidget) applet.add_dataset("dataset", "dataset to show") applet.run()