FITS BinTableHDU data format (TFORM) conversion to numpy dtype

33 Views Asked by At

I'm looking for Python code to convert a FITS TFORM data format (such as 64A or I10 or D12) to a numpy dtype. The numpy format_parser won't do it. I can't believe that no one has solved this before, e.g. TOPCAT clearly does it but in java. However, I cannot find any references to conversion in this direction in Python. Can anyone help?

I've googled and searched and RTFM'd but no success.

0

There are 0 best solutions below