Chandra X-Ray Observatory
Skip to the navigation links
Last modified: 13 March 2017

Why does dmextract convert arcseconds to arcminutes when I use pset?

unix% pset dmextract  \
      infile='infile.fits[bin sky=ellipse(161.18d,-59.71d,2.56",1.71",34.40)]'

unix% plist dmextract

Parameters for /home/username/cxcds_param4/dmextract.par

# DMEXTRACT -- extract columns or counts from an event list
        infile = infile.fits[bin sky=ellipse(161.18d,-59.71d,2.56',1.71',34.40)] Input event file 

This is a bug in the parameter interface, caused by the double quotes used to denote arcseconds. As a workaround, create a one-line stack as the input to the tool:

unix% cat stack.lis 
infile.fits[bin sky=ellipse(161.18d,-59.71d,2.56",1.71",34.40)]

unix% pset dmextract infile=@stack.lis

See ahelp stack for more information on how CIAO treats stack inputs.

Last modified: 13 March 2017
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.