ISIS Application Documentation
    Import New Horizons LEISA files into ISIS format
  
 
          Description
        
    
      This program will import FITS (Flexible Image Transport System) formatted files from the 
      New Horizons LEISA instument into the ISIS format. 
     
   
 
          Categories
        
 
Applications
 
              History
          
| Kristin Berry | 2014-08-28 | 
       Adapted from lorri2isis.
     | 
 
| Kristin Berry | 2015-06-15 | 
       Updated to read quality and error extensions in Band-interleaved (BIL) format (like the primary image) to work 
       with new format files. 
     | 
 
| Kristin Berry | 2015-06-22 | 
       Updated to add the option to change pixels in the input image to Nulls when the corresponding pixel in the QUALITY fits extension is  equal to 1, 2, or 8.
     | 
 
| Jeannie Backer and Kaj Williams | 2017-07-07 | 
      Modified to reflect ProcessImportFits method name change from fitsLabel to fitsImageLabel.
     | 
 
 
 | 
 
 
                Parameter Groups
            
Files
| 
                    Name
                     | 
                    Description
                     | 
 
| FROM | 
          A New Horizons LEISA FITS file to be converted to an ISIS cube
         | 
 
| TO | 
          Output ISIS cube file for the main image
         | 
 
| ERRORMAP | 
          Output ISIS cube file for the error image
         | 
 
| QUALITY | 
          Output ISIS cube file for the quality image
         | 
 
 
Options
| 
                    Name
                     | 
                    Description
                     | 
 
| REPLACE | 
          Replace flagged  pixels in the Data Quality extension with Nulls. 
         | 
 
 
 | 
 
Files:
                        FROM
                         Description
                       
          Use this parameter to select the filename of a New Horizons
          LEISA file to be converted to a cube. This is expected to be a FITS formatted file. 
        
| 
                             Type
                            | filename | 
| 
                               File Mode
                              | input | 
| 
                               Filter
                              | 
          *.fit
         | 
 
 
Files:
                        TO
                         Description
                       
          The output cube file that will contain the New Horizons LEISA image in ISIS format. 
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | output | 
| 
                               Filter
                              | 
          *.cub
         | 
 
 
Files:
                        ERRORMAP
                         Description
                       
          The output cube file that will containing the New Horizons LEISA error extension data 
          as an cube in ISIS format. The error extension image must be in the fifth FITS
          extension (i.e., sixth image).
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | output | 
| 
                               Internal Default
                              | Optional | 
| 
                               Filter
                              | 
          *.cub
         | 
 
 
Files:
                        QUALITY
                         Description
                       
          The output cube file that will containing the New Horizons LEISA quality extension data 
          as an cube in ISIS format. The quality extension image must be in the sixth FITS
          extension (i.e., seventh image).
        
| 
                             Type
                            | cube | 
| 
                               File Mode
                              | output | 
| 
                               Internal Default
                              | Optional | 
| 
                               Filter
                              | 
          *.cub
         | 
 
 
Options:
                        REPLACE
                         Description
                       
          Replace pixels in the imported LEISA image with NULLS if they are set to 1 (for High Speed Header, Bond Joint, or Bad Pixels), 2 (for Cosmic Ray) , or 8 (for user-identified bad pixels) in the Data Quality fits extension. 
        
| 
                             Type
                            | boolean | 
| 
                               Default
                              | FALSE |