Hi Marija,
What you describe is the idea behind ascout in Figaro. But
I'm too long out of this business to know whether the affairs
of world coordinate systems get in the way. If you have a
one-dimensional NDF and if its axis data is an array of
numbers with the frequency of each pixel then ascout should
do this, one line per pixel with nu in one column and TB in
another column.
I think ndf2ascii just writes out all TB values, as many on one
line as will fit within a certain length of line.
Cheers,
Horst
On Thu, Mar 05, 2009 at 08:53:54PM +0000, Marija Stankovic wrote:
> Dear Starlink gurus,
>
> I'm working with the JCMT/ACSIS data, specifically raster maps, and I'm
> trying to decompose the cube into individual spectra and further convert
> each ndf spectrum into an ascii file which is essential for my further
> analysis. The first part I've done (using ndfcopy), but I have a couple of
> questions regarding ndf2ascii conversion.
>
> 1) Is it possible to write out the frequency axis as well (not only the
> brightness temperature) or will I have to add that manually?
>
> 2) The ascii files do not contain one single column. Instead, the output
> values are written as an array (please see the attached file). The command I
> used was simply:
> ndf2ascii spec_${i}_${j}.sdf spec_${i}_${j}.dat
>
> Any suggestions on how to format this in a proper way are more than welcome.
>
> All the best,
> Marija
--
Horst Meyerdierks Royal Observatory Edinburgh
Un*x/Network Manager [log in to unmask]
http://www.roe.ac.uk/~hme/ +44-131-6688-309
|