This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from astropy.io import fits | |
| def check_plate_solution(file_path): | |
| # Open the FITS file | |
| with fits.open(file_path) as hdul: | |
| # Access the header of the primary HDU (extension 0) | |
| header = hdul[0].header | |
| # WCS-related keywords commonly used for plate solutions | |
| wcs_keywords = ['CRVAL1', 'CRVAL2', 'CD1_1', 'CD1_2', 'CD2_1', 'CD2_2'] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from nea import NASAExoplanetArchive | |
| import json | |
| import pandas as pd | |
| import os | |
| def main(): | |
| # Prompt user to enter the name of the exoplanet | |
| planet_name = input("Please enter the name of the exoplanet to fetch data for: ") | |
| # Create an instance of the NASAExoplanetArchive class | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Test Gist |