get_fits_files_with_extname

get_fits_files_with_extname(card_name, workdir)[source]

Return list of .fits files whose CARD is equal to card_name.

Parameters:
  • card_name (string) – name of the CARD keyword to be searched for
  • workdir (string) – directory containing .fits files
Returns:

list of files in workdir which has their CARD equal to

card_name :rtype: list