ScreenPanel
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user