bundles / astropy 7.0.1 / 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: strThe keyword to count instances of in the header
Aliases
-
astropy.io.fits.Header.count