{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / convenience / _getext

function

astropy.io.fits.convenience:_getext

source: /astropy/io/fits/convenience.py:1051

Signature

def _getext(filename, mode, *args, ext = None, extname = None, extver = None, **kwargs)

Summary

Open the input file, return the HDUList and the extension.

Extended Summary

This supports several different styles of extension selection. See the getdata() documentation for the different possibilities.

Aliases

  • astropy.io.fits.convenience._getext