pydevices/HtsDevices/acq400_hapi/acq400.py
def pull_data(self):
        """
        A function to pull data based on whatever demux is set to. Should be
        entirely automated. The function will check what channels are AI
        channels and pull the data from those channels.
        """

        demux_state = self.get_demux_state()
        channels = list(range(1, self.get_ai_channels()+1))
        nchan = channels[-1]

        if demux_state == 1:
            data = self.read_channels(channels, -1)
        elif demux_state == 0:
            data = []
            mux_data = self.read_muxed_data()
            for ch in channels:
                data.append(mux_data[ch-1::nchan])

        return data

        A function to pull data based on whatever demux is set to. Should be
        entirely automated. The function will check what channels are AI
        channels and pull the data from those channels.
        
A function to pull data based on whatever demux is set to. Should be
entirely automated. The function will check what channels are AI
channels and pull the data from those channels.
A function to pull data based on whatever demux is set to . Should be entirely automated . The function will check what channels are AI channels and pull the data from those channels .
def pull_data(self):
        demux_state = self.get_demux_state()
        channels = list(range(1, self.get_ai_channels()+1))
        nchan = channels[-1]
        if demux_state == 1:
            data = self.read_channels(channels, -1)
        elif demux_state == 0:
            data = []
            mux_data = self.read_muxed_data()
            for ch in channels:
                data.append(mux_data[ch-1::nchan])
        return data
def pull_data ( self ) : demux_state = self . get_demux_state ( ) channels = list ( range ( 1 , self . get_ai_channels ( ) + 1 ) ) nchan = channels [ - 1 ] if demux_state == 1 : data = self . read_channels ( channels , - 1 ) elif demux_state == 0 : data = [ ] mux_data = self . read_muxed_data ( ) for ch in channels : data . append ( mux_data [ ch - 1 : : nchan ] ) return data
A function to pull data based on whatever demux is set to.
A function to pull data based on whatever demux is set to .
"""
        A function to pull data based on whatever demux is set to. Should be
        entirely automated. The function will check what channels are AI
        channels and pull the data from those channels.
        """
self