Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~emuller/myidl.htm
Дата изменения: Thu Oct 21 21:17:32 2004
Дата индексирования: Mon Oct 1 21:05:52 2012
Кодировка:

IDL scripts.. short, sometimes useful, always pretty.
N.B. Because I don't want to spend time tailoring and generalising these,
Some of these scripts might not work on other systems, or with other data.


Scripts especially for AO interim correlator format data:

cor_corsu.pro cor_corsu,m Interrogate header of m for correlatore setup config.
coradd.pro out=coradd,data1,data2,data3...,
[av=av]
Add up all datan and return as out.
Optionally return average with AV set true.
corflag.pro out=corflag,m,boardnum,pol,
[val=val,zero=zero,mask=mask,
applymask=applymask]
More of a 'search and replace' than flag.
Use to replace suspect data in m
(i.e. interference) for a specified value, or a mean
value calculated around the suspect region.
Fiddled data is returned to out
cor_rms.pro cor_rms,m,[x1=x1,x2=x2] Return rms for whole band,
or between values channels x1:x2. of set m

No-specific Scripts:

curs.pro curs Activate cursor mode for current display.
Left click returns x,y, right click to quit
rotate_surf.pro rotate_surf,a Display a 3-d rotating-interactive surface of set a
skycube.pro skycube,cra,cdec,dra,ddec,nx,ny Create blank fits image (except with centre pixel=1!)
, centred on cra,cdec with dec and ra range of ddec and
ra with number of pixels in x and y direction of nx and ny
cursplot.pro cursplot,a Plot a as an interactive display, zoom, scroll etc.