{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / column / _fortran_to_python_format

function

astropy.io.fits.column:_fortran_to_python_format

source: /astropy/io/fits/column.py :2659

Signature

def   _fortran_to_python_format ( tdisp )

Summary

Turn the TDISPn fortran format pieces into a final Python format string. See the format_type definitions above the TDISP_FMT_DICT. If codes is changed to take advantage of the exponential specification, will need to add it as another input parameter.

Parameters

tdisp : str

TDISPn FITS Header keyword. Used to specify display formatting.

Returns

: format_string: str

The TDISPn keyword string translated into a Python format string.

Aliases

  • astropy.io.fits.column._fortran_to_python_format