original_docstring: 
  	This function takes in the name of a fits or fits.fz file.
  	Will print assorted bits of information from the file header
  	
docstring: This function takes in the name of a fits or fits.fz file.
  Will print assorted bits of information from the file header
docstring_tokens: This function takes in the name of a fits or fits . fz file . Will print assorted bits of information from the file header
code: def print_header_info(fname):
  	'''
  	This function takes in the name of a fits or fits.fz file.
  	Will print assorted bits of information from the file header
  	'''
  	
  	hdu = fits.open(fname)
  	
  
  	
  	if "fits.fz" in fname:
  		##Handles compressed images
  		n = 1
  		
  	else:
  		##Handles fits files
  		n = 0
  	
  	
  	print ("Date of Observation is {}".format(hdu[n].header['Date']))
  	print ("Source Name is {}".format(hdu[n].header['Object']))
  	print ("FWHM for this image is {}".format(hdu[n].header['L1FWHM']))
  	print ("Exposure time is {} seconds".format(hdu[n].header['EXPTIME']))
code_tokens: def print_header_info ( fname ) : hdu = fits . open ( fname ) if "fits.fz" in fname : n = 1 else : n = 0 print ( "Date of Observation is {}" . format ( hdu [ n ] . header [ 'Date' ] ) ) print ( "Source Name is {}" . format ( hdu [ n ] . header [ 'Object' ] ) ) print ( "FWHM for this image is {}" . format ( hdu [ n ] . header [ 'L1FWHM' ] ) ) print ( "Exposure time is {} seconds" . format ( hdu [ n ] . header [ 'EXPTIME' ] ) )
short_docstring: This function takes in the name of a fits or fits.fz file.
short_docstring_tokens: This function takes in the name of a fits or fits . fz file .
comment: '''
  	This function takes in the name of a fits or fits.fz file.
  	Will print assorted bits of information from the file header
  	'''$SEP$##Handles compressed images$SEP$##Handles fits files