DS9(1) | General Commands Manual | DS9(1) |
NAME¶
ds9 - image tool for astronomy
SYNOPSIS¶
ds9 [options]
DESCRIPTION¶
DS9 DS9 is the modern image tool used by astronomers for visualization of astronomical data. It supports a plethora of command line options, which may be used in a script-like fashion. An instance of the program is entirely controllable from the commandline with the XPA tools.
OPTIONS¶
- -about
- Get DS9 credits.
-about
- -align
- Controls the World Coordinate System alignment for the current frame.
-align [yes| no]
- -analysis
- Control external analysis tasks. Tasks are numbered as they are
loaded, starting with 0. Can also be used to display a message and
display text in the text dialog window.
-analysis [<task number> ]
[<filename> ]
[task <task number> | <task name> ]
[load <filename> ]
[clear]
[clear] [load <filename> ]
[message ok| okcancel| yesno <message> ]
[entry <message> ]
[text]
- -array
- Load raw data array into current frame.
-array <filename> [
[xdim=<x> , ydim=<y> | dim=<dim> ] , zdim=<z> , bitpix=<b> , skip=<s> , endian=
[little| big] ]
$cat foo.arr | ds9 -array -[dim=512, bitpix=-32, endian=little]
- -asinh
- Select ASINH scale function for the current frame.
-asinh
- -backup
- Create a backup save set.
-backup <filename>
- -bin
- Controls binning factor, binning buffer size, and binning function
for binning FITS bin tables.
-bin [about <x> <y> ]
[about center]
[buffersize <value> ]
[cols <x> <y> ]
[colsz <x> <y> <z> ]
[factor <value> [<value> ] ]
[depth <value> ]
[filter <string> ]
[filter clear]
[function average| sum]
[in]
[out]
[to fit]
[match]
[lock [yes| no] ]
[open| close]
- -blink
- Blink mode parameters. Interval is in seconds.
-blink []
[yes| no]
[interval <value> ]
- -block
- Controls blocking parameters.
-block[<value> ]
[<value> <value> ]
[to <value> ]
[to <value> <value> ]
[in]
[out]
[to fit]
[match]
[lock [yes| no] ]
[open| close]
- -blue
- For RGB frames, sets the current color channel to blue.
-blue
- -catalog
- cat
Support for catalogs. The first three commands will create a new
catalog search. All other commands operated on the last search
created, unless indicated otherwise.
-catalog [new]
[ned| simbad| denis| skybot]
[aavso| ac| ascss| cmc| gaia| gsc1| gsc2| gsc3| nomad| ppmx| sao| sdss5|
sdss6| sdss7| sdss8| sdss9| tycho]
[ua2| ub1| ucac2| ucac2sup| ucac3| ucac4| urat1]
[2mass| iras]
[csc| xmm| rosat]
[first| nvss]
[chandralog| cfhtlog| esolog| stlog| xmmlog]
[cds <catalogname> ]
[cds <catalogid> ]
[load <filename> ]
[save <filename> ]
[import rdb| tsv| fits <filename> ]
[export rdb| tsv <filename> ]
[allcols]
[allrows]
[cancel]
[clear]
[close]
[coordinate <ra> <dec> <coordsys> ]
[crosshair]
[current <ref> ]
[dec <col> ]
[edit yes| no]
[filter <string> ]
[filter load <filename> ]
[header]
[location <code> ]
[match <ref> <ref> ]
[match]
[match error <value> degrees| arcmin| arcsec]
[match function 1and2| 1not2| 2not1]
[match return 1and2| 1only| 2only]
[match unique yes| no]
[maxrows <number> ]
[name <object> ]
[panto yes| no]
[plot <xcol> <ycol> <xerrcol> <yerrcol> ]
[print]
[psky <skyframe> ]
[psystem <coordsys> ]
[ra <col> ]
[regions]
[retrieve]
[samp]
[samp broadcast]
[samp send <application> ]
[servercds| adac| cadc| cambridge| sao| ukirt| iucaa| bejing| saao]
[show yes| no]
[radius <value> degrees| arcmin| arcsec]
[sky <skyframe> ]
[skyformat <skyformat> ]
[sort <col> incr| decr]
[symbol [#]
condition| shape| color| text| font| fontsize| fontweight| fontslant
<value> ]
[symbol [#] text| size| size2| units| angle <value> ]
[symbol shape circle| ellipse| box| text| point]
[symbol shapecircle point| box point| diamond point| cross point| x
point| arrow point| boxcircle point]
[symbol add| [#] remove]
[symbol save| load <filename> ]
[system <coordsys> ]
[update]
[x <col> ]
[y <col> ]
- -cd
- Sets the current working directory.
cd [<directory> ]
- -cmap
- Controls the colormap for the current frame. The colormap name is not
case sensitive. A valid contrast value is from 0 to 10 and bias
value from 0 to 1.
-cmap [<colormap> ]
[load <filename> ]
[save <filename> ]
[invert yes| no]
[<contrast> <bias> ]
[tag [load| save] <filename> ]
[tag delete]
[open| close]
- -colorbar
- Controls colorbar parameters.
-colorbar []
[yes| no]
[horizontal| vertical]
[numerics yes| no]
[space value| distance]
[font times| helvetica| courier]
[fontsize <value> ]
[fontweight normal| bold]
[fontslant roman| italic]
[size]
[ticks]
[match]
[lock [yes| no] ]
- -console
- Display tcl console window.
-console
- -contour
- Controls contours in the current frame.
-contour []
[yes| no]
[clear]
[generate]
[load <filename> ]
[save <filename> [<coordsys> <skyframe> ] ]
[convert]
[load levels <filename> ]
[save levels <filename> ]
[copy]
[paste [<coordsys> <color> <width> yes| no] ]
[color <color> ]
[width <width> ]
[dash yes| no]
[smooth <smooth> ]
[method block| smooth]
[nlevels <number of levels> ]
[scale linear| log| pow| squared| sqrt| asinh| sinh| histequ]
[log exp <value> ]
[mode minmax| <value> | zscale| zmax]
[scope global| local]
[limits <min> <max> ]
[levels <value value value...> ]
[open| close]
- -crop
- Set current image display area.
-crop [<x> <y> <width> <height> [<coordsys> ] [<skyframe> ]
[degrees| arcmin| arcsec]
[match <coordsys> ]
[lock <coordsys> | none]
[reset]
[3d zmin zmax <coordsys> ]
[open| close]
- -crosshair
- Controls the current position of the crosshair in the current frame.
DS9 is placed in crosshair mode when the crosshair is set.
-crosshair [<x> <h> <coordsys> [<skyframe> ] ]
[match <coordsys> ]
[lock <coordsys> | none]
- -cube
- Controls FITS cube.
-cube []
[play| stop| next| prev| first| last]
[<slice> [<coordsys> ] ]
[interval <numeric> ]
[match <coordsys> ]
[lock <coordsys> | none]
[order 123| 132| 213| 231| 312| 321]
[axes lock [yes| no] ]
[axis <axis> ]
[open| close]
- -cursor
- Move mouse pointer or crosshair in image pixels in the current frame.
Note, this will move selected Regions also.
-cursor [<x> <h> ]
- -dsssao
- dss
Support for Digital Sky Survey at SAO.
-dsssao []
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[open| close]
- -dsseso
- Support for Digital Sky Survey at ESO.
-dsseso []
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[survey DSS1| DSS2-red| DSS2-blue| DSS2-infrared]
[open| close]
- -dssstsci
- Support for Digital Sky Survey at STSCI.
-dssstsci []
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[survey poss2ukstu_red| poss2ukstu_ir| poss2ukstu_blue]
[survey poss1_blue| poss1_red]
[survey all| quickv| phase2_gsc2| phase2_gsc1]
[open| close]
- -envi
- Load an ENVI header and file. Optional parameter: array endian.
-envi <header> [<filename> ]
- -exit
- quit
Quits DS9.
-exit
-quit
- -export
- Export loaded image data of current frame in specified image format,
at native resolution, using current colormap and contrast/bias
settings. NOTE: not scaling, rotation, or translation is applied. If
no format specified, the file name extension is used to determine the
output format. Optional parameters: jpeg quality (1-100) and tiff
compression method.
-export [array| nrrd| envi| gif| tiff| jpeg| png] <filename>
-export array <filename> [big| little| native]
-export nrrd <filename> [big| little| native]
-export envi <header> [<filename> ] [big| little| native]
-export <filename> .jpeg [1-100]
-export <filename> .tiff [none| jpeg| packbits| deflate]
- -fade
- Fade mode parameters. Interval is in seconds.
-fade []
[yes| no]
[interval <value> ]
- -fifo
- Set the name of the IRAF input and output fifos. The default is /dev/
imt1. These fifos are used by IRAF to communicate with DS9.
-fifo name
- -fits
- Load a FITS image into the current frame.
-fits<filename>
$cat foo.fits | ds9 -fits -
$cat bar.fits | ds9 -fits -[bin=detx, dety]
- -footprint
- fp
Support for Chandra (CXC) and Hubble Legacy Archive (HLA) footprint
servers.
-footprint [cxc| hla]
[cancel]
[clear]
[close]
[save <filename> ]
[export rdb| tsv <filename> ]
[coordinate <ra> <dec> <coordsys> ]
[crosshair]
[current <ref> ]
[filter <string> ]
[filter load <filename> ]
[name <object> ]
[panto yes| no]
[print]
[regions]
[retrieve]
[show yes| no]
[radius <value> degrees| arcmin| arcsec]
[sky <skyframe> ]
[skyformat <skyformat> ]
[sort <col> incr| decr]
[system <coordsys> ]
[update]
- -frame
- Controls frame functions. Frames may be created, deleted, reset, and
centered. While return the current frame number. If you goto a frame
that does not exists, it will be created. If the frame is hidden, it
will be shown. The 'frameno' option is available for backward
compatibility.
-frame [center [#| all] ]
[clear [#| all] ]
[new [rgb] ]
[delete [#| all] ]
[reset [#| all] ]
[refresh [#| all] ]
[hide [#| all] ]
[show [#| all] ]
[move first]
[move back]
[move forward]
[move last]
[first| next| prev| last]
[frameno #]
[#]
[match <coordsys> ]
[lock <coordsys> | none]
- -geometry
- Define the initial window geometry. This includes all of the ds9
window, not just the image space. see X(1).
-geometry value
- -gif
- Load GIF image into current frame.
-gif <filename>
$cat foo.gif | ds9 -gif -
- -green
- For RGB frames, sets the current color channel to green.
-green
- -graph
- Controls horizontal and vertical cut graphs.
-graph [grid yes| no]
[log yes| no]
[method average| sum]
[font times| helvetica| courier]
[fontsize <value> ]
[fontweight normal| bold]
[fontslant roman| italic]
[size <integer> ]
[thickness <integer> ]
[open| close]
- -grid
- Controls coordinate grid. For grid numeric format syntax, click
here.
-grid []
[yes| no]
[type analysis| publication]
[system <coordsys> ]
[sky <skyframe> ]
[skyformat <skyformat> ]
[grid yes| no]
[grid color <color> ]
[grid width <value> ]
[grid dash yes| no]
[grid gap1 <value> ]
[grid gap2 <value> ]
[grid gap3 <value> ]
[axes yes| no]
[axes color <color> ]
[axes width <value> ]
[axes dash yes| no]
[axes type interior| exterior]
[axes origin lll| llu| lul| luu| ull| ulu| uul| uuu]
[format1 <format> ]
[format2 <format> ]
[tickmarks yes| no]
[tickmarks color <color> ]
[tickmarks width <value> ]
[tickmarks dash yes| no]
[border yes| no]
[border color <color> ]
[border width <value> ]
[border dash yes| no]
[numerics yes| no]
[numerics font times| helvetica| courier]
[numerics fontsize <value> ]
[numerics fontweight normal| bold]
[numerics fontslant roman| italic]
[numerics color <color> ]
[numerics gap1 <value> ]
[numerics gap2 <value> ]
[numerics gap3 <value> ]
[numerics type interior| exterior]
[numerics vertical yes| no]
[title yes| no]
[title text <text> ]
[title def yes| no]
[title gap <value> ]
[title font times| helvetica| courier]
[title fontsize <value> ]
[title fontweight normal| bold]
[title fontslant roman| italic]
[title color <color> ]
[labels yes| no]
[labels text1 <text> ]
[labels text2 <text> ]
[labels def1 yes| no]
[labels def2 yes| no]
[labels gap1 <value> ]
[labels gap2 <value> ]
[labels font times| helvetica| courier]
[labels fontsize <value> ]
[labels fontweight normal| bold]
[labels fontslant roman| italic]
[labels color <color> ]
[reset]
[load <filename> ]
[save <filename> ]
[open| close]
- -header
- Display current fits header dialog. Optional extension number maybe
specified.
-header [<ext> ]
[close [<ext> ] ]
[save [<ext> ] <filename> ]
- -height
- Set the height of the image display window. Use the geometry command
to set the overall width and height of the ds9 window.
-height [<value> ]
- -help
- Display help information. To maintain backward compatibility, -help
will display a brief help message and exit. --help will display all
command line options within the built-in help facility.
-help # Display brief help message and exit.
--help # Display command line options within help facility.
-? # Display command line options within help facility.
- -histequ
- Select histogram equalization scale function for the current frame.
-histequ
- -iconify
- Toggles iconification.
-iconify []
[yes| no]
- -inet_only
- Only use the IRAF port number. This is the same as -fifo none -unix none.
- -invert
- Invert Colormap.
-invert
- -iis
- Set IIS Filename. Optional mosaic number maybe supplied.
-iis [filename <filename> [#] ]
- -illustrate
- Controls illustrations.
-illustrate [<filename> ]
[load <filename> ]
[save [select| all] <filename> ]
[list [select| all] ]
[select all| none| invert| front| back]
[move front| back]
[delete [select| all] ]
[shape <shape> ]
[color <color> ]
[fill yes| no]
[width <width> ]
[dash yes| no]
[command <region command> ]
[copy]
[cut]
[paste]
[undo]
[open| close]
- -jpeg
- Load JPEG image into current frame.
-jpeg <filename>
$cat foo.jpeg | ds9 -jpeg -
- -language
- Select current language.
-language [locale| da| de| es| en| fr| ja| pt]
- -linear
- Select linear scale function for the current frame.
-linear
- -lock
- Lock all other frames to the current frame.
-lock[frame <coordsys> | none]
[crosshair <coordsys> | none]
[crop <coordsys> | none]
[slice <coordsys> | none]
[bin [yes| no] ]
[axes [yes| no] ]
[scale [yes| no] ]
[scalelimits [yes| no] ]
[colorbar [yes| no] ]
[block [yes| no] ]
[smooth [yes| no] ]
[3d [yes| no] ]
- -log
- Select log scale function for the current frame.
-log
- -lower
- Lower in the window stacking order.
-lower
- -magnifier
- Controls the magnifier settings.
magnifier [color <color> ]
[zoom <value> ]
[cursor yes| no]
[region yes| no]
- -mask
- nomask
Controls mask parameters.
-mask [color <color> ]
[mark zero| nonzero| nan| nonnan| range]
[range <low> <high> ]
[transparency <value> ]
[blend source| screen| darken| lighten]
[system <coordsys> ]
[clear]
[load <filename> ]
[open| close]
-nomask
- -match
- Match all other frames to the current frame.
-match[frame <coordsys> ]
[crosshair <coordsys> ]
[crop <coordsys> ]
[slice <coordsys> ]
[bin]
[axes]
[scale]
[scalelimits]
[colorbar]
[block]
[smooth]
[3d]
- -mecube
- Load FITS multiple extension file as data cube.
mecube <filename>
$cat foo.fits | ds9 -mecube -
- -minmax
- This is how DS9 determines the min and max data values from the
data. SCAN will scan all data.
-minmax [scan| sample| datamin| irafmin]
[mode scan| sample| datamin| irafmin]
[interval #]
[rescan]
- -mode
- Select the current mode.
-mode
[none| region| crosshair| colorbar| pan| zoom| rotate| catalog| examine| 3d]
- -mosaic
- Load FITS mosaic segment into current frame.
-mosaic [wcs| wcsa...wcsz| iraf] <filename>
$cat foo.fits | ds9 -mosaic -
$cat foo.fits | ds9 -mosaic wcs -
- -movie
- Create a movie from snap shots of the DS9 window. A slice movie
cycles though all slices of a cube. A frame movie cycles through all
active frames. A 3d movie cycles through specified viewing angles.
The default action is slice. Movie types are either MPEG or Animated
GIF, with default MPEG. Optional parameters for 3d: number of frames,
azimuth from/to, elevation from/to, slice from/to, oscillate/repeat
times.
-movie [slice| frame] [mpeg| gif <delay> blink| fade] <filename>
-movie 3d [mpeg| gif <delay> ] <filename> [number| az from| az to| el
from| el to| slice from| slice to| zoom from| zoom to| oscillate| repeat
<#> ]
1
- -msg
- Specify a directory of translation tables to be loaded.
-msg <directory>
- -multiframe
- Load FITS multiple extension file as multiple images.
multiframe <filename>
$cat foo.fits | ds9 -multiframe -
- -nameserver
- Support Name Server functions. Coordinates are in fk5.
-nameserver [<object> ]
[name <object> ]
[skyformat degrees| sexagesimal]
[pan]
[crosshair]
[open| close]
- -notes
- Display Notebook.
notes [<string> ]
[append <string> ]
[insert <string> ]
[clear]
[load <filename> ]
[save <filename> ]
[open| close]
- -nrrd
- Load an NRRD (Nearly Raw Raster Data) file.
-nrrd <filename>
$cat foo.nrrd | xpaset ds9 -nrrd-
- -nvss
- Support for NRAO VLA Sky Survey.
-nvss []
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[open| close]
- -orient
- Controls the orientation of the current frame.
-orient [none| x| y| xy]
[open| close]
- -pagesetup
- Controls Page Setup options.
-pagesetup [orient portrait| landscape]
[scale <numberic> ]
[size letter| legal| tabloid| poster| a4]
- -pan
- Controls the current image cursor location for the current frame.
-pan [<x> <h> <coordsys> [<skyframe> ] ] # relative
[to <x> <h> <coordsys> [<skyframe> ] ] # absolute
[open| close]
- -pixeltable
- Display/Hide the pixel table.
-pixeltable []
[yes| open]
[no| close]
- -plot
- Display and configure data plots. The last plot created is assumed.
Plot data is assumed to be a pair of coordinates, with optional error
values. The follow are valid data descriptions:
xy x and y coordinates
xyex x, y coordinates with x errors
xyey x, y coordinates with y errors
xyexey x, y coordinates with x and y errors
# create new empty plot window
plot [line| bar [<ref> ] ]
[line| bar [<ref> ] <title> <xaxis label> <yaxis label>
xy| xyex| xyey| xyexey]
# create new plot from data file
plot [line| bar <filename> [<ref> ] xy| xyex| xyey| xyexey]
[line| bar <filename> [<ref> ] <title> <xaxis label> <yaxis label>
xy| xyex| xyey| xyexey]
# existing plot
plot [gui]
[load <filename> xy| xyex| xyey| xyexey]
[save <filename> ]
[current <ref> ]
[layout grid| row| column| strip]
[layout strip scale <percent> ]
[add graph line| bar]
[current graph <graph> ]
[delete graph]
[current dataset <dataset> ]
[delete dataset]
[duplicate]
[stats yes| no]
[list yes| no]
[backup <filename> ]
[restore <filename> ]
[pagesetup orient portrait| landscape]
[pagesetup size letter| legal| tabloid| poster| a4]
[print]
[print destination printer| file]
[print command <command> ]
[print filename <filename> ]
[print color rgb| gray]
[close]
[mode pointer| zoom]
# export
plot [export <filename> ]
[export eps| gif| tiff| jpeg| png <filename> ]
[export jpeg <filename> [1-100] ]
[export tiff <filename> none| jpeg| packbits| deflate] ]
# configure graph
plot [axis x| y grid yes| no]
[axis x| y log yes| no]
[axis x| y flip yes| no]
[axis x| y auto yes| no]
[axis x| y min <value> ]
[axis x| y max <value> ]
[axis x| y format <string> ]
[background <value> ]
[legend yes| no]
[legend position right| left| top| bottom| plotarea]
[font title| labels| numbers font times| helvetica| courier]
[font title| labels| numbers size <value> ]
[font title| labels| numbers weight normal| bold]
[font title| labels| numbers slant roman| italic]
[title <string> ]
[title x| y <string> ]
# dataset
plot [show yes| no]
[name <string> ]
# line dataset
plot [line smooth step| linear| cubic| quadratic| catrom]
[line color <value> ]
[line width <value> ]
[line dash yes| no]
[line fill yes| no]
[line fill color <value> ]
[line shape symbol
none| circle| square| diamond| plus| splus| scross| triangle| arrow]
[line shape color <value> ]
[line shape fill yes| no]
# bar dataset
plot [bar border color <value> ]
[bar border width <value> ]
[bar fill yes| no]
[bar color <value> ]
[bar width <value> ]
# error bar
plot [error yes| no]
[error color <value> ]
[error cap yes| no]
[error width <value> ]
# create new empty plot window
# create new plot from data file
# existing plot
# export plot
# configure graph
# configure current dataset
# line dataset
# bar dataset
- -png
- Load PNG image into current frame.
- -prefs
- Controls various preference settings.
[save]
[clear]
[close]
[bg color yes| no]
[bg color <color> ]
[nan color <color> ]
[precision <linear> <degree> <hms> <dms> <len linear> <len degree> <len arcmin> <len arcsec> <angle> ]
[theme <theme> ]
[threads <numeric> ]
[irafalign yes| no]
- -preserve
- Preserve the follow attributes while loading a new image.
[regions yes| no]
- -psprint
- Invokes postscript printing. Please see print for further details.
- Controls printing. Use print option to set printing options.
[command <command> ]
[filename <filename> ]
[color rgb| cmyk| gray]
[level 1| 2| 3]
[resolution72| screen| 96| 144| 150| 225| 300| 600| 1200]
- -prism
- Invoke FITS analysis tool.
[open]
[<filename> ]
[load <filename> ]
[import xml| rdb| tsv <filename> ]
[export xml| rdb| tsv <filename> ]
[clear]
[current <ref> ]
[ext <int> | <extname> ]
[first| next| prev| last]
[goto <int> ]
[image]
[mode newplot| newgraph| overplot]
[histogram <col> <numbins> [<min> <max> ] ]
[plot <colx> <coly> [<colerrx> ] [<colerry> ] xy| xyex| xyey| xyexey]
- -port
- Set the IRAF port number, used by IRAF to communicate with DS9. The default is 5137, the standard IRAF port used by ximtool.
- -pow
- Select power scale function for the current frame.
- -exit
- quit
Quits DS9.
-exit
-quit
- -raise
- Raise in the window stacking order.
- -region
- Controls regions in the current frame.
[load [all] <filename> ]
[save [select] <filename> ]
[list [close| select] ]
[epsilon <integer> ]
[show yes| no]
[showtext yes| no]
[centroid]
[centroid auto yes| no]
[centroid radius <value> | iteration <value> ]
[move front| back]
[select all| none| all| front| back]
[delete [select] ]
[delete load <filename> ]
[format ds9| xml| ciao| saotng| saoimage| pros| xy]
[system image| physical| wcs| wcsa...wcsz]
[sky fk4| fk5| icrs| galactic| ecliptic]
[skyformat degrees| sexagesimal]
[strip yes| no]
[shape <shape> ]
[color <color> ]
[fill yes| no] ;
[width <width> ]
[dash yes| no]
[font times| helvetica| courier]
[fontsize <value> ]
[fontweight normal| bold]
[fontslant roman| italic]
[fixed| edit| rotate| delete yes| no]
[include| exclude| source| background]
[command <marker command> ]
[analysis histogram| panda| plot2d| plot3d| radial| stats [open| close| save] ]
[composite]
[dissolve]
[template <filename> ]
[template <filename> at <ra> <dec> <coordsys> <skyframe> ]
[savetemplate <filename> ]
[group new]
[group <tag> new]
[group <tag> update]
[group <tag> select]
[group <tag> color <color> ]
[group <tag> copy]
[group <tag> delete]
[group <tag> cut]
[group <tag> font <font> ]
[group <tag> move <int> <int> ]
[group <tag> movefront]
[group <tag> moveback]
[group <tag> property <property> yes| no]
[copy]
[cut]
[paste image| physical| wcs| wcsa...wcsz]
[undo]
[open| close]
- -red
- For RGB frames, sets the current color channel to red.
- -restore
- Restore DS9 to a previous state from a backup save set.
- -rgb
- Create RGB frame and control RGB frame parameters.
[red| green| blue]
[channel [red| green| blue] ]
[view [red| green| blue] [yes| no] ]
[system <coordsys> ]
[lock wcs| crop| slice| bin| scale| scalelimits| colorbar| block| smooth [yes| no] ]
[open| close]
- -rotate
- Controls the rotation angle (in degrees) of the current frame.<
[to <value> ]
[open| close]
- -samp
- Configure SAMP protocol.
| connect| disconnect]
[broadcast [image| table] ]
[send [image| table] <application> ]
- -save
- Save loaded image data of current frame as FITS.
- -scale
- Controls the limits and color scale distribution.
[log exp <value> ]
[datasec yes| no]
[limits <minvalue> <maxvalue> ]
[mode minmax| <value> | zscale| zmax]
[scope local| global]
[match]
[match limits]
[lock [yes| no] ]
[lock limits [yes| no] ]
[open| close]
- -shm
- Load a shared memory segment into the current frame.
[key <id> [<filename> ] ]
[shmid <id> [<filename> ] ]
[fits [key| shmid] <id> [<filename> ] ]
[mosaicimage [iraf| wcs| wcsa...wcsz| wfpc2] [key| shmid] <id> [<filename> ] ]
[mosaic [iraf| wcs| wcsa...wcsz] [key| shmid] <id> [<filename> ] ]
[rgbcube [key| shmid] <id> [<filename> ] ]
[rgbimage [key| shmid] <id> [<filename> ] ]
[rgbarray [key| shmid] <id> [xdim=<x> , ydim=<y> | dim=<dim> , zdim=3] , bitpix=<b> , [skip=<s> ] ]
[array [key| shmid] <id> [xdim=<x> , ydim=<y> | dim=<dim> ] , bitpix=<b> , [skip=<s> ] ]
- -sia
- Support for VO Simple Image Access protocol. The first command will create a new search. All other commands operated on the last search created, unless indicated otherwise via current command.
[cancel]
[clear]
[close]
[save <filename> ]
[export rdb| tsv <filename> ]
[coordinate <ra> <dec> <coordsys> ]
[crosshair]
[current <ref> ]
[name <object> ]
[print]
[retrieve]
[radius <value> degrees| arcmin| arcsec]
[sky <skyframe> ]
[skyformat <skyformat> ]
[system <coordsys> ]
[update]
- -single
- Set display mode to single.
- -skyview
- Support for SkyView image server at HEASARC.
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[pixels <width> <height> ]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[survey <survey> ]
[open| close]
- -sleep
- Delays execution for specified number of seconds. Default is 1 second.
- -slice
- noslice Indicates next files loaded are to treated as slices of a cube. Can be disabled with noslice command.
- -smooth
- Smooth current image or set smooth parameters. Boxcar width =2*radius+1 Tophat diameter =2*radius+1 Gaussian diameter =2*radius+1, mean=0 Elliptical Gaussian diameter =2*radius+1, mean=0
[yes| no]
[function boxcar| tophat| gaussian| elliptic]
[radius <value> ]
[radiusminor <value> ]
[sigma <value> ]
[sigmaminor <value> ]
[angle <value> ]
[match]
[lock [yes| no] ]
[open| close]
- -squared
- Select squared scale function for the current frame.
- -sqrt
- Select square soot scale function for the current frame.
- -source
- Source TCL code from a file.
- -tcl
- Execute one TCL command. Note: this a different behavior from previous versions of DS9.
- -tiff
- Load TIFF image into current frame.
- -tile
- Controls the tile display mode.
[yes| no]
[mode grid| column| row]
[grid]
[grid mode automatic| manual]
[grid direction x| y]
[grid layout <col> <row> ]
[grid gap <pixels> ]
[row]
[column]
- -title
- Changes the display window title to the specified name.
- -unix
- Set the IRAF unix socket name, used by IRAF to communicate with DS9. The default is /tmp/.IMT%d, so that the standard IRAF unix socket is defined.
- -update
- Updates the current frame or region of frame. In the second form, the first argument is the number of the fits HDU (starting with 1) and the remaining args are a bounding box in IMAGE coordinates. By default, the screen is updated the next available idle cycle. However, you may force an immediate update by specifying the NOW option.
[# x1 y1 x2 y2]
[now]
[now # x1 y1 x2 y2]
- -url
- Load FITS from URL into the current frame
- -version
- Returns the current version of DS9 and exits.
- -view
- Controls the GUI and visible RGB frame color channels.
[multi yes| no]
[keyvalue <string> ]
[info yes| no]
[panner yes| no]
[magnifier yes| no]
[buttons yes| no]
[icons yes| no]
[colorbar yes| no]
[graph horizontal| vertical yes| no]
[filename yes| no]
[object yes| no]
[keyword yes| no]
[minmax yes| no]
[lowhigh yes| no]
[units yes| no]
[image| physical| wcs| wcsa...wcsz yes| no]
[frame yes| no]
[red yes| no]
[green yes| no]
[blue yes| no]
- -visual
- Force DS9 to use the specified color visual. This argument MUST be the first argument listed. Requires the visual be available.
- -vla
- Support for VLA Sky Survey.
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[survey first| stripe82]
[open| close]
- -vlss
- Support for NRAO VLSS Sky Survey.
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[open| close]
- -vo
- Invoke an connection to a Virtual Observatory site.
[server <url> ]
[internal yes| no]
[delay #]
[<url> ]
[connect <url> ]
[disconnect <url> ]
[open| close]
- -wcs
- galactic arcsec
- -web
- Display specified URL in the web display.
[<url> ]
[new <webname> <url> ]
[<webname> ] [click back| forward| stop| reload| #]
[<webname> ] [clear]
[<webname> ] [close]
- -width
- Set the width of the image display window. Use the geometry command to set the overall width and height of the ds9 window.
- -xpa
- Configure XPA.
[connect| disconnect]
[inet| local| unix| localhost]
[info]
- -zmax
- Set Scale Limits based on the IRAF algorithm and maximum data value.
- -zoom
- Controls the current zoom value for the current frame.
[<value> <value> ]
[to <value> ]
[to <value> <value> ]
[in]
[out]
[to fit]
[open| close]
- -zscale
- 2mass
Support for 2MASS Digital Sky Survey.
-2mass []
[<object> ]
[name <object> | clear]
[<ra> <dec> ] # in wcs fk5
[size <width> <height> degrees| arcmin| arcsec]
[save yes| no]
[frame new| current]
[update frame| crosshair]
[survey j| h| k]
[open| close]
3d
Support for 3D frame.
-3d []
[view <az> <el> ]
[az <az> ]
[el <el> ]
[scale <scale> ]
[method mip| aip]
[background none| azimuth| elevation]
[border yes| no]
[border color]
[highlite yes| no]
[highlite color]
[compass yes| no]
[compass color]
[match]
[lock [yes| no] ]
[open| close]
- Controls printing. Use print option to set printing options.
[command <command> ]
[filename <filename> ]
[color rgb| cmyk| gray]
[level 1| 2| 3]
[resolution72| screen| 96| 144| 150| 225| 300| 600| 1200]
FILES¶
The complete text of the DS9 manual may be found on Debian systems at /usr/share/doc/saods9/ref/.
AUTHOR¶
DS9 is a product of the Smithsonian Astrophysical Observatory.
This manual page was generated from the DS9 HTML documentation by a script written by Justin Pryzby and Ole Streicher.
SEE ALSO¶
xpaget(1), xpaset(1), xpaaccess(1), xpamb(1), xpainfo(1), xpans(1), xpachanges(7),
03 Jul 2012 |