These are chat archives for astropy/astropy

Oct 2017
Oct 15 2017 16:32
Aloha! Is there a simple way to get the number of binary extensions in a FITS file? Sort of like but as a variable, not to stdout.
Oct 15 2017 16:37
Cadair The only thing I can think of is either len() of the hdu list or checking type of the elements depending.