pyuvdata icon indicating copy to clipboard operation
pyuvdata copied to clipboard

partial I/O for `UVCal`

Open nkern opened this issue 7 years ago • 0 comments

It would be nice to have partial I/O capabilities for UVCal objects and calfits files. Just FYI, I did a line-profile on UVCal.read_calfits on a decently large file (~80 MB), and ~60% of the time was spent on line 434

self.gain_array = data[:, :, :, :, :, 0] + 1j * data[:, :, :, :, :, 1]

and 20% of the time was spent on lines 394-395

while 'HISTORY' in hdr.keys():
    hdr.remove('HISTORY')

nkern avatar May 28 '18 23:05 nkern