readfits¶
- tayph.readfits(filename, i=0)[source] [edit on github]¶
This is a replacement for fits.getdata, closing the file after reading to prevent too many open file errors. Set i to an extension if you wish to return another extension than the first one.