
- #Saoimage ds9 save image with regions archive
- #Saoimage ds9 save image with regions software
- #Saoimage ds9 save image with regions zip
- #Saoimage ds9 save image with regions download
New with version 2.1, is support for the DATASEC keyword. Yet everything, including the color bar seems to work? When I open my FITS image, all I see is 'white'. In summary, don't strip the DS9 binary and everything works fine.

It appears that the strip command is stripping part of the archive, hence DS9 is unable to un-compress it. The application DS9 is already stripped of debugging symbols when built.
#Saoimage ds9 save image with regions archive
The first thing DS9 does is to create a virtual file system in memory and unpack that archive into memory.
#Saoimage ds9 save image with regions zip
To do this, DS9 is really an application, along with an zip archive attached. To create a stand alone application, we fool tcl/tk into thinking that it has a valid installation. My system admin stripped the DS9 binary and now DS9 fails to start with the following error message:Īpplication initialization failed: Can't find a usable tk.tcl in the following directories.ĭS9 is based on tcl/tk which is a scripting language which requires many support files. In any case, if the temp directory is not writable, or you have specified an invalid directory in the preferences, these functions will fail with a variety of error messages. For Windows users, this will vary, depending on which version of Windows you have. This is usually defined as /tmp for Linux and MacOSX users. By default, this directory is defined by the TMP or TEMP environment variable.
#Saoimage ds9 save image with regions download
Whats going on?įor a number of the Analysis functions, DS9 requires temporary disk space to download and store data. The web browser, catalog tool, image server, and other Analysis functions don't appear to work. The GNU site contains an excellent FAQ on the the dos and donts of GPL. As long as you continue to adhere to the provisions of the licenses, you are free to distribute DS9 along with your software.
#Saoimage ds9 save image with regions software
In addition, several open source packages have been developed here at the Smithsonian Astrophysical Observatory, Cambridge, MA, USA and are distributed under the terms of the GNU General Public License as published by the Free Software Foundation. But as common questions on DS9 are received, the FAQ will be updated.ĭS9 is composed of approximately 20 open source packages, all of which are distributed under their own open source license agreements, usually GPL, LGPL, or BSD. Syntax:Ĭontrols contours in the current frame.This FAQ is a new, on going project, and it is far from being complete. A valid contrast value is from 0 to 10 and bias value from 0 to 1. Syntax:Ĭontrols the colormap for the current frame. $ds9 -catalog symbol 2 shape "boxcircle point" $ds9 -catalog symbol condition '\$Jmag>15'

$ds9 -catalog match # last two catalogs loaded condition|shape|color|text|font|fontsize|fontweight|fontslant ] All other commands operated on the last search created, unless indicated otherwise. The first three commands will create a new catalog search. Syntax:įor RGB frames, sets the current color channel to blue. Syntax:Ĭontrols binning factor, binning buffer size, and binning function for binning FITS bin tables. Select ASINH scale function for the current frame. $ds9 -analysis 0 # invoke first analysis task Can also be used to display a message and display text in the text dialog window. Tasks are numbered as they are loaded, starting with 0. Syntax:Ĭontrols the World Coordinate System alignment for the current frame. Next, bar.fits is loaded and the colormap for bar.fits is changed to I8.

Then the colormap for foo.fits is changed to Heat and the scale changed to zscale. For example, the following command line option is used: $ds9 -tile foo.fits -cmap Heat -zscale bar.fits -cmap I8įirst DS9 is put in tile mode, then foo.fits is loaded. Therefore, it is possible to use command line options as a little script. Command Line Options Command Line OptionsĭS9 will process each command line option, one at a time, as the last step in the initialization process.
