bundles / astropy latest / astropy / io / fits / hdu / table / _binary_table_byte_swap
function
astropy.io.fits.hdu.table:_binary_table_byte_swap
source: /astropy/io/fits/hdu/table.py :1496
Signature
def _binary_table_byte_swap ( data ) Summary
Ensures that all the data of a binary FITS table (represented as a FITS_rec object) is in a big-endian byte order. Columns are swapped in-place one at a time, and then returned to their previous byte order when this context manager exits.
Extended Summary
Because a new dtype is needed to represent the byte-swapped columns, the new dtype is temporarily applied as well.
Aliases
-
astropy.io.fits.hdu.table._binary_table_byte_swap