{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / header / Header / fromtextfile

classmethod

astropy.io.fits.header:Header.fromtextfile

source: /astropy/io/fits/header.py :764

Summary

Read a header from a simple text file or file-like object.

Extended Summary

Equivalent to

>>> Header.fromfile(fileobj, sep='\n', endcard=False,
...                 padding=False)

See also

fromfile

Aliases

  • astropy.io.fits.Header.fromtextfile