A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

[fitsbits] CLASS to BINTABLE



 
 
Thread Tools Display Modes
  #1  
Old April 21st 09, 10:08 AM posted to sci.astro.fits
Kuiper, Thomas B
external usenet poster
 
Posts: 1
Default [fitsbits] CLASS to BINTABLE

Greetings from Mauna Kea.

I've used the version of CLASS installed on the CSO VAX to convert CLASS data files to FITS BINTABLE format. I was led to believe that this conforms to the SDFITS format, but the files generated do not. The command I used is

LAS\FITS WRITE newfile.fits /MODE INDEX /BITS -32

In the help for this command it says:
"The USER MUST make sure that all index spectra are consistent (same source, same line, same frequency setup, ...)"
Can someone explain this? The SDFITS standard clearly allows all these variables to be in table columns. One should be able to select the rows one needs, as the ASAP selector does.

I found that for a session in which I used two back ends with different numbers of channels, the FITS writer did put MAXIS1 in a column. Alas, ASAP chokes on that old convention MAXIS convention. It wants TDIM.

The file was also pretty confused about, for example, channel frequency spacing, which was in the main extension header and could only apply to one backend.

After generating a FITS file for one backend, there's no contradiction but there is not enough information that I can find to figure out, for example, the Vlsr of the source. The data for the first axis, CRVAL1 etc. are all in the extension header but the RESTFREQ and IMAGFREQ are in the table. Since CRVAL1 was 0.0 instead of the OBSFREQ, it's not possible to use the axis1 frequency and the rest frequency to calculate Doppler velocity.

This message is probably as incoherent as the file I generated seems to be. Does anyone have any suggestions?

Best regards

Tom

p.s. I've got a little Python script in which I'm trying to take the FITS file from CSO and make ASAP happy with it. For anyone who is interested it documents pretty well the discrepancies between the file generated with the above command and a file ASAP accepts.

Tom
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[fitsbits] CLASS to SDFITS? Thierry Forveille[_3_] FITS 0 September 21st 08 10:08 AM
[fitsbits] CLASS to SDFITS? [email protected] FITS 0 September 20th 08 07:58 AM
A first class raving loonie (was first class orchestras) Michael Baldwin Bruce Misc 0 June 24th 05 09:32 AM
[fitsbits] FITS Bintable proposals Arnold Rots FITS 0 December 14th 04 10:55 PM
[fitsbits] FITS Bintable proposals William Pence FITS 0 December 14th 04 10:37 PM


All times are GMT +1. The time now is 09:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.