QDP Input Files



next up previous contents
Next: Input File Options Up: Input Files Previous: Rate Buffers

QDP Input Files

They must be files written according to the QDP/PLT specifications. They consist of a header and a number of ``vectors", each written as a column. To use QDP files as input to XRONOS applications it is essential that these have 2 header lines at least:

If the XRONOS header line is missing, XRONOS applications will assume a bin integration time of 1 s, a start time at day 1.000000 and a stop time 511 s later (i.e. 512 bins of 1 s). The information contained in the XRONOS header line can also be used to specify the times to be used in the X-axis: in this case Y-values in the QDP file will be assigned times obtained by stepping the bin integration time (1st number of the XRONOS header line) from the start time (2nd number of the Xronos header line) onwards. This is done by specifying a negative number after the input file option vx (see section on input file options).

XRONOS applications include the input file options vx, vy and ve to specify which vector should be assigned, respectively, to the X-axis (i.e. time axis), which to the Y-axis and which to the bin exposure. By default vector 1 is assigned to the X-axis (i.e. time axis) and vector 2 to the Y-axis (i.e. the input series). Then if the input file contains more than 2 vectors the last vector is assigned by default to the bin exposure (note that this is the convention used in Xronos QDP Output Files). If the input file contains only 2 vectors the bin exposure will be =1 by default. If a negative number is specified after the input file option ve, then the bin exposure is forced to be =1, even if more the input file contains more than 2 vectors. Note that bin exposure, if present in a file in which Y-axis values are in counts (i.e. 4th number of the XRONOS header line is =4), are used to rescale Y-axis values and errors to counts/s.

The error on the X-axis points (i.e. the semiwidth of time bins) is not used by XRONOS applications. Errors on the Y-axis points are instead necessary. If the QDP file does not contain Y-axis errors, XRONOS applications calculate the error by using Poisson statistics (i.e. sqrt(Yvalue*bintime)/bintime, if the 4th number of the Xronos header line is =0, or sqrt(Yvalue), if the 4th number of the Xronos header line is =1). Note that in this case Y-axis bins should not be background subtracted. If the QDP file contains 1 vector only this is assigned to the Y-axis by default and X-axis values are stepped according to the content of the XRONOS header line. If an arrival time QDP file is indicated the Y-axis values and errors are always set =1.

Gaps in the vector(s) are indicated by the (QDP/PLT) value =-1.2e-34.

Note that XRONOS QDP files produced by XRONOS applications can be used as QDP input files.



next up previous contents
Next: Input File Options Up: Input Files Previous: Rate Buffers



Lorella Angelini
Thu 12 Oct 16:35:19 1995