num
getHDUnum(file)
Return the index of the current HDU.
This is the equivalent of the cfitsio fits_get_hdu_num function.
file - opened fits file.
num - current hdu number.