NAME

ftVOtable2xsp - Creates spectra and response files for XSPEC from VOtable spectrum. This is a simple first version which only converts output from the JHU VOspec site for SDSS spectra. Eventually it will be more general.

USAGE

ftVOtable2xsp infile phafile rspfile clobber

DESCRIPTION

This tool reads a VOtable spectrum file (infile) and writes out a standard PHA file (phafile) and RSP file (rspfile) which can be used in XSPEC. The response file created assumes a resolution of 2000 (appropriate for the SDSS). Wavelengths and fluxes are converted to standard XSPEC units.

PARAMETERS

infile [filename]
The name of the input VOtable file.

phafile [filename]
The name of the output PHA file.

rspfile [filename]
The name of the output RSP file.

clobber [bool]
If clobber = yes then overwrite the output files if a file of the appropriate name already exists.

EXAMPLES

  
ftVOtable2xsp spec.votable.xml fileout.pha fileout.rsp

SEE ALSO

LAST MODIFIED

Nov 2012