def get_nblocks(f, nblocks, pts, nbheaders, dt, read_blockhead):
    # create an empty array to hold data
    data = np.empty((nblocks, pts), dtype=dt)
    if read_blockhead:
        bdic = [0] * nblocks

    # read the data
    for i in range(nblocks):
        if read_blockhead:
            bdic[i], data[i] = get_block(f, pts, nbheaders, dt, read_blockhead)
        else:
            data[i] = get_block(f, pts, nbheaders, dt, read_blockhead)

    # return the data
    if read_blockhead:
        return bdic, data
    else:
        return data
Try to create a type-name from base (tuple of sub-types)
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/get_nblocks--crossover with--dataset/ETHPy150Open correl/Transmission-XBMC/resources/lib/basictypes/typeunion.py/TypeUnion.createName