Recent Changes - Search:

Interferometry basics

Observing

Data Reduction

AGN Large Programme

Other AGN programmes

High angular resolution @ MPIA

Other Links

PmWiki


DR /

Midiputvis

DR.Midiputvis History

Hide minor edits - Show changes to output

June 16, 2010, at 12:55 CET by leo -
Added lines 3-4:
'''Attention: Better use oirNewVis which produces OIFITS-compliant FITS files!'''
December 06, 2009, at 12:20 CET by leo -
Added lines 1-21:
[@midiPutVis, outFile, wave, visamp, visphi, [visamperr], [visphierr], [flag], uv=uv@]

Things between brackets are optional. The code is in midiUtilities.pro

[@; wave = wavelength array in microns
; visamp = visibility amplitude
; visphi = visibility phase (degrees)
; visamperr = rms visibility error (optional, default=0)
; visphierr = rms phase error (degrees) (optional, default=0)
; flag = (1 = good, 0 = bad) (optional, default=1)
; uv = uv coordinates (meters). If not given defaults to 0!@]

wave can be gotten by wave = oirgetwavelength (datafilename)

uv is optional but can be gotten as:

[@uvw = midifitsuvw(datafilename)@]

datafile name can be the original data file or any of the intermediate products of midivispipe etc.

uvw is an array of 3 numbers; midputvis only needs 2 values but I think that it will not mind if you give it 3.
Edit - History - Print - Recent Changes - Search
Page last modified on June 16, 2010, at 12:55 CET