I am trying to construct a memory map file for a large binary file where I give it a dictionary of dtypes, offsets, and shapes and want it to repeat for a specified amount. Is there a way to do this like you can in the Matlab memmapfile.m? Thanks!
so far I have the following but I only get the first record and I need to repeat it 798 more times throughout the file.
numpy.memmap(fileName,dtype=float,mode='r',offset=511,shape=(2,1))
I get the first array of data for that datatype but I need to repeat it 798 more times within the file.