ScreenPanel

This commit is contained in:
sfop
2017-06-19 11:07:40 +02:00
parent 3524af3ca1
commit 060f262a5a
27 changed files with 666 additions and 178 deletions
+14
View File
@@ -0,0 +1,14 @@
import ch.psi.pshell.imaging.Data as Data
d = load_data("2017/06/16/20170616_122305_snapshot.h5|/data")
atts = get_attributes("2017/06/16/20170616_122305_snapshot.h5|/data")
data = Data(d)
iv = data.integrateVertically(False)
ih = data.integrateHorizontally(False)
xp = atts["x_profile"]
yp = atts["y_profile"]
p1, p2 = plot([xp, yp], ["X profile", "Y profile"])
p1.addSeries(LinePlotSeries("d"))
p2.addSeries(LinePlotSeries("d"))
p1.getSeries(1).setData(iv)
p2.getSeries(1).setData(ih)