{ } Raw JSON

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

function

astropy.io.fits.header:Header.count

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

Signature

def   count ( self keyword )

Summary

Returns the count of the given keyword in the header, similar to list.count if the Header object is treated as a list of keywords.

Parameters

keyword : str

The keyword to count instances of in the header

Aliases

  • astropy.io.fits.Header.count