Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
filename: name of the file to be read
block: one qdp-file can contain data from several sources, e.g., measurements from several detectors. each of these data are called a "block", set block=1 to get data from the first instrument, block=2 to get data from the second, and so on. The "blocks" are defined either by a pgplot NO NO NO line, or by a non-increasing x-value angstrom: set this flag if you have a qdp file for which the x value decreases from one line to the next. Tis is the case, for example, in spectra plotted vesus "wavelength"
x: Array containing the X-values of the qdp file (i.e., the first column of the data dx: Width of each x bin y: All other columns. Typically, for xspec, y[0,*] is the model, y[1,*] the unfolded data point, y[2,*] its uncertainty. The higher y contain the individual additive models.
Version 1.0: Joern Wilms, IAA Tuebingen, Astronomie, sometime in 1996 Version 1.1: JW 2000.02.11: now read last line correctly Version 1.2: Biff 2001.03.28: added /angstrom options for cases where x values DECREASE from line to line set /angstrom if this is the case (e.g. plots vs wavelength) Version 1.3: JW 2001.06.18: now angstrom works also for block>1 Version 1.4: JW 2001.09.09: now more than one continuation line possible (change to readxspecline) ;
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]