Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

ISIS Documentation

fits2isis

Import fits files into Isis format

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.

Categories


Related Objects and Documents

Applications


History

Mackenzie Boyd2009-10-27 Original version.
Stuart Sides2014-08-29 Added the ability to read image extensions.
Kristin Berry2015-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 Williams2017-07-07 Modified to reflect ProcessImportFits method name change from fitsLabel to fitsImageLabel.

Parameters

Files

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

The cube output file, containing image data and applicable headers.
Type cube
File Mode output
Filter *.cub

Controls

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

The organization of lines, samples, and bands in the file.
Type string
Default BSQ
Option List:
Option Brief Description
BSQBand Sequential The first line of data is followed immediately by the next line in the same spectral band.
BILBand Interleaved By Line The first line of data is followed immediately by the first line of data in the next band.
BIPBand Interleaved By Pixel The first pixel for all bands is followed by the second pixel for all bands.

Example 1

Usage of this import application

This example shows how to import a fits file to the isis cube format.

Command Line

The command line arguments to import a file to cube format.
fits2isis from=fitsFile.fits to=imported.cub

GUI Screenshot

The application's gui

The gui for the application, with parameters set to import a fits file to a cube.