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
D.12. BATID2XY 155 (history = NO) [boolean ] If history = YES, then a set of HISTORY keywords will be written to the header of the specified HDU in the output file to record the value of all the ftcopy task parameters that were used to produce the output file. D.12.5 EXAMPLES Note that when commands are issued on the Unix command line, strings containing special characters such as ‘[’ or ‘]’ must be enclosed in single or double quotes.The following examples illustrate ways in which batid2xy can be used. 1. With an input file (“BDSD” mode). batid2xy infile=’detids.fits’ -or- batid2xy detids.fits An input file can be created from an ascii table containing the block, dm, side, and detector values in columns 1-4, respectively. A template to create the proper column names can be found in the batid2xy directory as the file bdsd mode.lis. A header template is bdsd mode.hdr. If the data is in a file called data.lis, then the input file detids.fits is created using one of the following commands. Both of these assume that the template files are in the current directory. -or- create_input.pl infile="data.lis" outfile="detids.fits" fcreate bdsd_mode.lis data.lis detids.fits extname="DETID" headfile=bdsd_mode.hdr clobber=yes 2. With no input file (“BDSD” mode). batid2xy NONE 7 3 1 67 3. With an input file (“DETID” mode). batid2xy infile=’detids.fits’ -or- batid2xy detids.fits An input file can be created from an ascii table containing the detector ID values in column 1. A template to create the proper column names can be found in the batid2xy directory as the file detid mode.lis. A header template is detid mode.hdr. If the data is in a file called data.lis, then the input file detids.fits is created using one of the following commands. Both of these assume that the template files are in the current directory.
156 APPENDIX D. BAT SOFTWARE TOOL REFERENCE create_input.pl infile="data.lis" outfile="detids.fits" batidmod="detid" -orfcreate detid_mode.lis data.lis detids.fits extname="DETID" headfile=detid_mode.hdr clobber=yes 4. With no input file (“DETID” mode). batid2xy NONE detid=15299 5. With an input file (“DETXY” mode). batid2xy infile=’detids.fits’ -or- batid2xy detids.fits An input file can be created from an ascii table containing the detector X and Y values in columns 1 and 2, respectively. A template to create the proper column names can be found in the batid2xy directory as the file detxy mode.lis. A header template is detxy mode.hdr. If the data is in a file called data.lis, then the input file detids.fits is created using one of the following commands. Both of these assume that the template files are in the current directory. create_input.pl infile="data.lis" outfile="detids.fits" batidmod="detxy" -orfcreate detxy_mode.lis data.lis detids.fits extname="DETID" headfile=detxy_mode.hdr clobber=yes 6. With no input file (“DETXY” mode). batid2xy NONE detx=259 dety=102 D.12.6 SEE ALSO fcreate D.12.7 LAST MODIFIED Dec 2007
- Page 117 and 118: 104 APPENDIX D. BAT SOFTWARE TOOL R
- Page 119 and 120: 106 APPENDIX D. BAT SOFTWARE TOOL R
- Page 121 and 122: 108 APPENDIX D. BAT SOFTWARE TOOL R
- Page 123 and 124: 110 APPENDIX D. BAT SOFTWARE TOOL R
- Page 125 and 126: 112 APPENDIX D. BAT SOFTWARE TOOL R
- Page 127 and 128: 114 APPENDIX D. BAT SOFTWARE TOOL R
- Page 129 and 130: 116 APPENDIX D. BAT SOFTWARE TOOL R
- Page 131 and 132: 118 APPENDIX D. BAT SOFTWARE TOOL R
- Page 133 and 134: 120 APPENDIX D. BAT SOFTWARE TOOL R
- Page 135 and 136: 122 APPENDIX D. BAT SOFTWARE TOOL R
- Page 137 and 138: 124 APPENDIX D. BAT SOFTWARE TOOL R
- Page 139 and 140: 126 APPENDIX D. BAT SOFTWARE TOOL R
- Page 141 and 142: 128 APPENDIX D. BAT SOFTWARE TOOL R
- Page 143 and 144: 130 APPENDIX D. BAT SOFTWARE TOOL R
- Page 145 and 146: 132 APPENDIX D. BAT SOFTWARE TOOL R
- Page 147 and 148: 134 APPENDIX D. BAT SOFTWARE TOOL R
- Page 149 and 150: 136 APPENDIX D. BAT SOFTWARE TOOL R
- Page 151 and 152: 138 APPENDIX D. BAT SOFTWARE TOOL R
- Page 153 and 154: 140 APPENDIX D. BAT SOFTWARE TOOL R
- Page 155 and 156: 142 APPENDIX D. BAT SOFTWARE TOOL R
- Page 157 and 158: 144 APPENDIX D. BAT SOFTWARE TOOL R
- Page 159 and 160: 146 APPENDIX D. BAT SOFTWARE TOOL R
- Page 161 and 162: 148 APPENDIX D. BAT SOFTWARE TOOL R
- Page 163 and 164: 150 APPENDIX D. BAT SOFTWARE TOOL R
- Page 165 and 166: 152 APPENDIX D. BAT SOFTWARE TOOL R
- Page 167: 154 APPENDIX D. BAT SOFTWARE TOOL R
- Page 171 and 172: 158 APPENDIX D. BAT SOFTWARE TOOL R
- Page 173 and 174: 160 APPENDIX D. BAT SOFTWARE TOOL R
- Page 175 and 176: 162 APPENDIX D. BAT SOFTWARE TOOL R
- Page 177 and 178: 164 APPENDIX D. BAT SOFTWARE TOOL R
- Page 179 and 180: 166 APPENDIX D. BAT SOFTWARE TOOL R
- Page 181 and 182: 168 APPENDIX D. BAT SOFTWARE TOOL R
- Page 183 and 184: 170 APPENDIX D. BAT SOFTWARE TOOL R
- Page 185 and 186: 172 APPENDIX D. BAT SOFTWARE TOOL R
- Page 187 and 188: 174 APPENDIX D. BAT SOFTWARE TOOL R
- Page 189 and 190: 176 APPENDIX D. BAT SOFTWARE TOOL R
- Page 191 and 192: 178 APPENDIX D. BAT SOFTWARE TOOL R
- Page 193 and 194: 180 APPENDIX D. BAT SOFTWARE TOOL R
- Page 195 and 196: 182 APPENDIX D. BAT SOFTWARE TOOL R
- Page 197 and 198: 184 APPENDIX D. BAT SOFTWARE TOOL R
- Page 199 and 200: 186 APPENDIX D. BAT SOFTWARE TOOL R
- Page 201 and 202: 188 APPENDIX D. BAT SOFTWARE TOOL R
- Page 203 and 204: 190 APPENDIX E. BAT SOFTWARE REVISI
- Page 205 and 206: 192 APPENDIX E. BAT SOFTWARE REVISI
- Page 207 and 208: 194 APPENDIX E. BAT SOFTWARE REVISI
- Page 209 and 210: 196 APPENDIX E. BAT SOFTWARE REVISI
- Page 211 and 212: 198 APPENDIX E. BAT SOFTWARE REVISI
- Page 213 and 214: 200 APPENDIX E. BAT SOFTWARE REVISI
- Page 215 and 216: 202 APPENDIX E. BAT SOFTWARE REVISI
- Page 217 and 218: 204 APPENDIX E. BAT SOFTWARE REVISI
156 APPENDIX D. <strong>BAT</strong> SOFTWARE TOOL REFERENCE<br />
create_input.pl infile="data.lis" outfile="detids.fits" batidmod="detid"<br />
-orfcreate<br />
detid_mode.lis data.lis detids.fits extname="DETID"<br />
headfile=detid_mode.hdr clobber=yes<br />
4. With no input file (“DETID” mode).<br />
batid2xy NONE detid=15299<br />
5. With an input file (“DETXY” 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 X and Y values in<br />
columns 1 and 2, respectively. A template to create the proper column names can be found in the<br />
batid2xy directory as the file detxy mode.lis. A header template is detxy 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 />
create_input.pl infile="data.lis" outfile="detids.fits" batidmod="detxy"<br />
-orfcreate<br />
detxy_mode.lis data.lis detids.fits extname="DETID"<br />
headfile=detxy_mode.hdr clobber=yes<br />
6. With no input file (“DETXY” mode).<br />
batid2xy NONE detx=259 dety=102<br />
D.12.6 SEE ALSO<br />
fcreate<br />
D.12.7 LAST MODIFIED<br />
Dec 2007