qcodes/tests/drivers/test_tektronix_AWG70000A.py
def random_element(num_chans):
        """
        Return an element with random values

        2400 points long, the minimum allowed by the instrument
        """
        data = {n: {} for n in range(1, 1 + num_chans)}
        for key in data.keys():
            data[key] = {'wfm': np.random.randn(2400),
                         'm1': np.random.randint(0, 2, 2400),
                         'm2': np.random.randint(0, 2, 2400)}

        return data

        Return an element with random values

        2400 points long, the minimum allowed by the instrument
        
Return an element with random values
2400 points long, the minimum allowed by the instrument
Return an element with random values 2400 points long the minimum allowed by the instrument
def random_element(num_chans):
        data = {n: {} for n in range(1, 1 + num_chans)}
        for key in data.keys():
            data[key] = {'wfm': np.random.randn(2400),
                         'm1': np.random.randint(0, 2, 2400),
                         'm2': np.random.randint(0, 2, 2400)}
        return data
def random_element ( num_chans ) : data = { n : { } for n in range ( 1 , 1 + num_chans ) } for key in data . keys ( ) : data [ key ] = { 'wfm' : np . random . randn ( 2400 ) , 'm1' : np . random . randint ( 0 , 2 , 2400 ) , 'm2' : np . random . randint ( 0 , 2 , 2400 ) } return data
Return an element with random values
2400 points long, the minimum allowed by the instrument
Return an element with random values 2400 points long the minimum allowed by the instrument
"""
        Return an element with random values

        2400 points long, the minimum allowed by the instrument
        """
num_chans