POPS reads a section of raw signal every now and then. This module helps you with these raw-files.
In [1]:
from atmPy.instruments.POPS import raw
from atmPy.tools import plt_tools
%matplotlib inline
plt_tools.setRcParams(plt)
In [2]:
pops_raw = raw.load_raw('./data/POPS_Raw.bin')
Every few seconds POPS takes a chunk of raw data and saves to the end of the file. Between each chunks is a 0. Every peak is the signal from a single particle.
In [6]:
f,a = plt.subplots()
a.plot(pops_raw)
Out[6]:
In [10]:
f,a = plt.subplots()
start = 50000
width = 1000
a.plot(pops_raw[start: start + width])
a.set_ylim(bottom = 900)
Out[10]:
In [ ]: