Package qubx :: Module data_acquire :: Class QubData_ACQ_Analog
[hide private]
[frames] | no frames]

Class QubData_ACQ_Analog

source code

               object --+    
                        |    
data_types.QubData_Analog --+
                            |
                           QubData_ACQ_Analog

Instance Methods [hide private]
 
__init__(self, data, channel)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
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_in_seg(self, iseg, first, last, skip) source code

Inherited from data_types.QubData_Analog: read_overlaid

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, data, channel)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
Overrides: object.__init__

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, ...
Overrides: data_types.QubData_Analog.read
(inherited documentation)