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.17. BATOCCULTMAP 177 (clobber = NO) [boolean ] If the output file already exists, then setting “clobber = yes” will cause it to be overwritten. (chatter = 2) [integer, 0 - 5 ] Controls the amount of informative text written to standard output. Setting chatter = 1 produces a basic summary of the task actions; chatter = 2 (default) additionally prints a summary of input parameters; chatter = 5 prints debugging information. (history = YES) [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 task parameters that were used to produce the output file. D.17.5 EXAMPLES 1. Computes the fractional exposure map for the primary HDU of sky.img. Good time intervals are subdivided so that the spacecraft attitude/earth/moon/sun do not move more than 3 arcmin (the default). batoccultmap sky.img occult.img sw00111622000sao.fits.gz \ method=position occultation=fraction D.17.6 SEE ALSO batoccultgti D.17.7 LAST MODIFIED Apr 2007
178 APPENDIX D. BAT SOFTWARE TOOL REFERENCE D.18 BATPHASYSERR D.18.1 NAME batphasyserr - apply BAT spectral systematic error vector D.18.2 USAGE batphasyserr infile syserrfile D.18.3 DESCRIPTION batphasyserr adds the BAT systematic error vector to a BAT spectral file. The systematic error vector contains an estimate of the fractional systematic error in each BAT spectral channel. Normally this information comes from the BAT calibration database (CALDB). The task handles the differences between type I and type II spectral files transparently. It also resamples the systematic error template to the energy bin edges of the input spectrum (this is done by pure averaging). D.18.4 PARAMETERS infile [filename ] Input/output spectral file. The file should be an OGIP-standard type I or type II spectral file. The DATE-OBS keyword is used to query the CALDB. The file is modified in place. If necessary, the SYS ERR column is created, and the SYS ERR keyword is deleted. syserrfile [filename ] Name of the systematic error vector file to use. Normally this should be set to “CALDB” so that the current best estimate of the BAT spectral systematic error is used for the date of the given infile. (chatter = 2) [integer, 0 - 5 ] Controls the amount of informative text written to standard output. D.18.5 EXAMPLES 1. Create the SYS ERR column in a spectral file named myspectrum.pha. batphasyserr myspectrum.pha CALDB The systematic error vector is retrieved from the calibration database.
- 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 and 168: 154 APPENDIX D. BAT SOFTWARE TOOL R
- Page 169 and 170: 156 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: 176 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
- Page 219 and 220: 206 APPENDIX E. BAT SOFTWARE REVISI
- Page 221 and 222: 208 APPENDIX E. BAT SOFTWARE REVISI
- Page 223 and 224: 210 APPENDIX E. BAT SOFTWARE REVISI
- Page 225 and 226: 212 APPENDIX E. BAT SOFTWARE REVISI
- Page 227 and 228: 214 APPENDIX E. BAT SOFTWARE REVISI
- Page 229 and 230: 216 APPENDIX E. BAT SOFTWARE REVISI
- Page 231 and 232: 218 APPENDIX E. BAT SOFTWARE REVISI
- Page 233 and 234: 220 APPENDIX E. BAT SOFTWARE REVISI
- Page 235 and 236: 222 APPENDIX E. BAT SOFTWARE REVISI
- Page 237: 224 APPENDIX E. BAT SOFTWARE REVISI
178 APPENDIX D. <strong>BAT</strong> SOFTWARE TOOL REFERENCE<br />
D.18 <strong>BAT</strong>PHASYSERR<br />
D.18.1 NAME<br />
batphasyserr - apply <strong>BAT</strong> spectral systematic error vector<br />
D.18.2 USAGE<br />
batphasyserr infile syserrfile<br />
D.18.3 DESCRIPTION<br />
batphasyserr adds the <strong>BAT</strong> systematic error vector to a <strong>BAT</strong> spectral file. <strong>The</strong> systematic error<br />
vector contains an estimate of the fractional systematic error in each <strong>BAT</strong> spectral channel.<br />
Normally this information comes from the <strong>BAT</strong> calibration database (CALDB).<br />
<strong>The</strong> task handles the differences between type I and type II spectral files transparently. It also<br />
resamples the systematic error template to the energy bin edges of the input spectrum (this is done<br />
by pure averaging).<br />
D.18.4 PARAMETERS<br />
infile [filename ]<br />
Input/output spectral file. <strong>The</strong> file should be an OGIP-standard type I or type II spectral<br />
file. <strong>The</strong> DATE-OBS keyword is used to query the CALDB. <strong>The</strong> file is modified in place. If<br />
necessary, the SYS ERR column is created, and the SYS ERR keyword is deleted.<br />
syserrfile [filename ]<br />
Name of the systematic error vector file to use. Normally this should be set to “CALDB” so<br />
that the current best estimate of the <strong>BAT</strong> spectral systematic error is used for the date of<br />
the given infile.<br />
(chatter = 2) [integer, 0 - 5 ]<br />
Controls the amount of informative text written to standard output.<br />
D.18.5 EXAMPLES<br />
1. Create the SYS ERR column in a spectral file named myspectrum.pha.<br />
batphasyserr myspectrum.pha CALDB<br />
<strong>The</strong> systematic error vector is retrieved from the calibration database.