This program will import fits (Flexible Image Transport System) image files into
ISIS format. FITS files with extensions are supported upto and including the first non-image
extension. Images follwing the first non-image extension can not be accessed
(i.e., NAXIS = 0 , implying extensions with data, are not supported). Some common header data
is transfered to the ISIS labels. Primary image data is transfered completely.
Use this parameter to select the filename of a fits file to be
converted to a cube. Currently extensions and files with no initial
data, NAXIS = 0, are not supported.
Type
filename
File Mode
input
Filter
*.fits
Files:
TO
Description
The cube output file, containing image data and applicable headers.
Type
cube
File Mode
output
Filter
*.cub
Controls:
IMAGENUMBER
Description
Use this parameter to select which image to extract from the FITS file. The primary image
is 0, the first image extension is 1, the second image extension is 2, and so on. NOTE:
Image extensions following any non-image extension can not be accessed.
Type
integer
Default
0
Options:
ORGANIZATION
Description
The organization of lines, samples, and bands in the file.
Type
string
Default
BSQ
Option List:
Option
Brief
Description
BSQ
Band Sequential
The first line of data is followed immediately by the next line in the same spectral band.
BIL
Band Interleaved By Line
The first line of data is followed immediately by the first line of data in the next band.
BIP
Band Interleaved By Pixel
The first pixel for all bands is followed by the second pixel for all bands.
Examples
Example 1
Usage of this import application
Description
This example shows how to import a fits file to the isis cube format.
Command Line
fits2isis
from=fitsFile.fits to=imported.cub
The command line arguments to import a file to cube format.
GUI Screenshot
The application's gui
The gui for the application, with parameters set to import a fits
file to a cube.
History
Mackenzie Boyd
2009-10-27
Original version.
Stuart Sides
2014-08-29
Added the ability to read image extensions.
Kristin Berry
2015-06-02
Added the ability to set the organization of the input file to BIL, BSQ, or BIP.
Added tests for these new options.
Jeannie Backer and Kaj Williams
2017-07-07
Modified to reflect ProcessImportFits method name change from fitsLabel to fitsImageLabel.