Starting FV

To start up fv on Unix workstations, enter `fv' in a command window. You can optionally append the name of a FITS file, or multiple files, to be opened. For example, `fv' opens a single file, and `fv ngc*' opens all the FITS files in the current directory whose name matches the string. On Windows PCs you can start fv either by double clicking on the fv desktop icon, or by dragging a FITS file from, say, Windows Explorer onto the fv icon. It is also possible to set up your Windows or Unix environment so that you can just double click (in the File Manager or on an e-mail attachment) on a FITS file that has a standard extension like `.fit' or `.fits' and then have fv automatically start up and open that file.

Environment Variable FVTMP

The environment variable: FVTMP defines what directory fv will use to create temporary files. On Unix machine add the following line to your .cshrc or .login file:

    setenv FVTMP /temporary/directory/path
or on Windows Machine in Control Panel, click on System and Environment tabs and type "FVTMP" in Variable entry box and disk:\temporary\directory\path in Value entry box.

cmap Option

Fv usually chooses an appropriate color map value by default, but it sometimes fails to recognize architectures supporting TrueColor mode and fails with a "X Error: BadMatch" message. The solution to this is to restart fv with the -cmap 2 option.

Here is a list of avaiable cmap option when starting fv (e.g., 'fv -cmap 2':

 cmap 0 - Default behavior.  I.e. choose the "best" colormap.
 cmap 1 - Force POW to setup a new private pseudocolor colormap (very safe)
 cmap 2 - Force POW to use truecolor mode (very safe, but looks bad on low 
          color displays and runs slower than pseudocolor).  Note: this will
          cause powSetupColormap to look for a truecolor visual; if it can't
          find one, it will allow the main Tk code to pick a visual, but POW
          will still use "truecolor mode" (i.e. the Tk photo widget) to 
          display images.
 cmap 3 - Force use of the screen default colormap. This should be
          reasonably safe now, but often won't be what you want.

Go to About fv.
Pages maintained by Bryan Irby
Send bug reports or feature requests via the FTOOLS help desk.

HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Thursday, 16-Jul-2009 14:09:34 EDT