numass/notebooks/jupyter-demo.ipynb
2021-12-21 18:50:30 +03:00

2.3 KiB

In [ ]:
@file:Repository("https://repo.kotlin.link")
@file:Repository("*mavenLocal")
@file:DependsOn("ru.inr.mass:numass-workspace:0.1.1")
In [ ]:
val repo: DataTree<NumassDirectorySet> = Numass.readRepository("D:\\Work\\Numass\\data\\test")
repo
In [ ]:
val numassSet = repo["set_7"]!!
Plotly.plotNumassSet(numassSet, amplitudeBinSize = 8U, eventExtractor = NumassEventExtractor.TQDC)
In [ ]:
//numassSet.meta
In [ ]:
val point = numassSet.points.first { it.voltage == 14200.0}
In [ ]:
point
In [ ]:
Plotly.plotNumassBlock(point, amplitudeBinSize = 8U, eventExtractor = NumassEventExtractor.TQDC)
In [ ]: