qubx :: data_types :: QubData_Analog :: Class QubData_Analog
[hide private]
[frames] | no frames]

Class QubData_Analog

source code

object --+
         |
        QubData_Analog
Known Subclasses:

Base class for one analog signal.

Instance Methods [hide private]
 
read(self, first, last, latency=0, skip=1)
Override this method to return a numpy.array(float32) of data samples from within one segment.
source code
 
read_overlaid(self, datafile, signal, first, last, latency=0, skip=1)
Returns samples, like QubData_Analog.read, but replaces regions marked in datafile.overlays[signal] with data from elsewhere in the file.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

read(self, first, last, latency=0, skip=1)

source code 

Override this method to return a numpy.array(float32) of data samples from within one segment.

Parameters:
  • latency - the data is shifted to the right by this many samples; repeats seg. first/last sample as needed
  • skip - e.g. 1: every point, 2: every other point, 3: every third point, ...