{ } Raw JSON

bundles / astropy latest / astropy / io / fits / header / Header / __init__

function

astropy.io.fits.header:Header.__init__

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

Signature

def   __init__ ( self cards = [] copy = False )

Summary

Construct a Header from an iterable and/or text file.

Parameters

cards : list of `Card`, optional

The cards to initialize the header with. Also allowed are other Header (or dict-like) objects.

copy : bool, optional

If True copies the cards if they were another Header instance. Default is False.

Aliases

  • astropy.io.fits.Header.__init__