The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
The SWIFT BAT Software Guide Version 6.3 30 ... - HEASARC - Nasa
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
D.12. <strong>BAT</strong>ID2XY 155<br />
(history = NO) [boolean ]<br />
If history = YES, then a set of HISTORY keywords will be written to the header of the<br />
specified HDU in the output file to record the value of all the ftcopy task parameters that<br />
were used to produce the output file.<br />
D.12.5 EXAMPLES<br />
Note that when commands are issued on the Unix command line, strings containing special characters<br />
such as ‘[’ or ‘]’ must be enclosed in single or double quotes.<strong>The</strong> following examples illustrate<br />
ways in which batid2xy can be used.<br />
1. With an input file (“BDSD” mode).<br />
batid2xy infile=’detids.fits’<br />
-or- batid2xy detids.fits<br />
An input file can be created from an ascii table containing the block, dm, side, and detector<br />
values in columns 1-4, respectively. A template to create the proper column names can be found<br />
in the batid2xy directory as the file bdsd mode.lis. A header template is bdsd mode.hdr.<br />
If the data is in a file called data.lis, then the input file detids.fits is created using one of the<br />
following commands. Both of these assume that the template files are in the current directory.<br />
-or-<br />
create_input.pl infile="data.lis" outfile="detids.fits"<br />
fcreate bdsd_mode.lis data.lis detids.fits extname="DETID"<br />
headfile=bdsd_mode.hdr clobber=yes<br />
2. With no input file (“BDSD” mode).<br />
batid2xy NONE 7 3 1 67<br />
3. With an input file (“DETID” mode).<br />
batid2xy infile=’detids.fits’<br />
-or- batid2xy detids.fits<br />
An input file can be created from an ascii table containing the detector ID values in column 1.<br />
A template to create the proper column names can be found in the batid2xy directory as the file<br />
detid mode.lis. A header template is detid mode.hdr.<br />
If the data is in a file called data.lis, then the input file detids.fits is created using one of the<br />
following commands. Both of these assume that the template files are in the current directory.