[daip] routine to write FITS-compatible files

Paul Matthew Sutter sutter at iap.fr
Wed Jul 25 02:15:06 EDT 2012


Thanks Eric, I will take a look at those routines and the memo. -Paul-
On Jul 25, 2012 12:56 AM, "Eric Greisen" <egreisen at nrao.edu> wrote:

> Paul Matthew Sutter wrote:
>
>> Thanks for the quick reply Eric. I am familiar with CFITSIO and am
>> currently using it. I was having difficulty getting the headers/tables
>> correct. I was just wondering if someone has already written something
>> like this so I wouldn't have to reinvent the wheel.
>>
>> Another possibility: the mocks I'm making are rather simple (one
>> channel, one pointing, etc.). Is there a way to write a simple binary
>> file and still have AIPS read it? Or does it have to be a full FITS
>> file? Thanks!
>>
>> -Paul-
>>
>> On Tue, Jul 24, 2012 at 5:27 PM, Eric Greisen <egreisen at nrao.edu> wrote:
>>
>>> Paul Matthew Sutter wrote:
>>>
>>>> Hello Eric, my name is Paul Sutter, and I am a post-doc working with
>>>> Ben Wandelt. I am interested in making some mock radio interferometer
>>>> observations and deconvolving these mock images with CLEAN in AIPS.
>>>> However, I am having some difficulty getting the file format correct.
>>>> Are there any C routines that read and/or write AIPS-compatible FITS
>>>> files? Thank you! -Paul-
>>>>
>>>
>>> There is an entire package of routines called CFITSIO which is described
>>> and
>>> available from the main FITS information web site:
>>> http://fits.gsfc.nasa.gov/
>>>
>>> I could help with the debugging if necessary - this package is not used
>>> that
>>> much in UV data applications (although bcotton's OBIT package uses it).
>>> There are data emulation tasks in AIPS called DTSIM and UVCON which could
>>> help with this issue.
>>>
>>
> If you can compile AIPS code then there is a thing we call a paraform
> task.  The relevant one is UVFIL.  Take a look at its help file and the
> code itself (in $APGNOT).
>
> There is a detailed memo I just wrote - AIPS Memo 117 available from our
> web site which may help with some details in FITS and things like antenna
> tables and such.
>
> The tasks DTSIM and UVCON would be best if they can be used.
>
> Eric Greisen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20120725/190ff2bb/attachment.html>


More information about the Daip mailing list