ds9
can also display higher-order datasets (>2). The cube
interface allows users to
visualize slices through the data-cube; even playing the slices and saving as a movie.
The basic regions can be used to explore the data along the 3rd axis.
download_chandra_obsid 635 evt2,fov
dmcopy "acisf00635N004_evt2.fits[sky=region(acisf00635_000N004_fov1.fits.gz)][bin sky=8,time=::#100]" time_cube.fits
This is a star forming region with many variable stars.
cd RegionFunctionality
dmlist time_cube.fits cols | grep "Axis#" --after-context=4
ds9 time_cube.fits -scale log &
xpaset -p ds9 regions command "circle(3811,3456,100)"
xpaset -p ds9 cube 80
import -window "SAOImage ds9" ds9_04_regions_07.png
display < ds9_04_regions_07.png
# Double click region, Plot 3D
# Close region info box
sleep 5
import -window "Circle" ds9_04_regions_08.png
display < ds9_04_regions_08.png
xpaset -p ds9 quit