ism3d.utils.io.fits2dct

ism3d.utils.io.fits2dct(fits)[source]

read a fits table into a none-nested dictionary the fits table must be the “1-row” version from gmake.dct2fits

References
note: we decide to save dct to HDF5 by default for a couple of reasons from now.

FITS is always stored in big-endian byte order, will cause some troubles with casacore/galario I/O performance is worse The “table” approach doesn’t support nesting / DatType may changed during the dct2fits->fits2dct process