Hi Robert,
you need to use the FIGARO ascin command. That will read just these sort
of text files.
Regards,
Peter.
On Thu, 11 Jul 2013, rcs wrote:
> I have a set of echelle spectra, which have been reduced for me to 1d form,
> using IRAF, but have been provided to me only as text files, with three
> columns: wavelength, flux, error (w, f, e). These files were produced as part
> of the stitching together of the various echelle orders, and I have a horrid
> feeling that there are no IRAF originals. The person concerned is currently
> incommunicado....
>
> I have tried using the CONVERT facility, ascii2ndf, but I cannot work out
> what to use as the SHAPE parameter - when I use the number of rows, the
> conversion is done, but not correctly: hdstrace reveals that it has taken the
> data in the order w, f, e and stopped one-third of the way through the file.
> How can I get ascii2ndf to recognise that the three rows are different types
> of data?
>
> I attach a sample data file.
>
> Robert
>
> --
> Dr Robert C Smith 01273 678974
> Emeritus Reader in Astronomy Pevensey III, 4C1
> Astronomy Centre, Dept of Physics & Astronomy
> University of Sussex, Falmer, Brighton BN1 9QH
> [log in to unmask]
> http://astronomy.sussex.ac.uk/~rcs/rcs.html
>
>
> ----
> Starlink User Support list
> For list configuration, including subscribing to and unsubscribing from the
> list, see
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
>
--
Peter W. Draper, http://astro.dur.ac.uk/~pdraper
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|