This directory contains the mymidigui installation.
Please refer to www.eso.org/~chummel/midi/mymidigui/mymidigui.html
for further information.

Installation
------------

IDL code: only edit file oyster/oyster.pro according to instructions
found there in order to have OYSTER compile the code on startup.

C code: with MIA+EWS-1.5, modified versions of the following files
are included; modifications are labeled "CAH" in the code.

Issue these command to copy to the EWS source code directory:
cp oirGroupDelay.c MIA+EWS-1.5/c/src/exec
cp oirFormFringes.c MIA+EWS-1.5/c/src/exec

Then run "make" in MIA+EWS-1.5/c/src

The following is obsolete:
To install mio
cp -r mio MIA+EWS-1.5


Leiden software tips
--------------------

files=midiguis()	; new midiguis, will save directory listing
tag='test'
midipipe,tag,files
delay=oirgetdelay(tag+'.groupdelay.fits')
plot,delay.delay
opd=oirgetopd(tag+'.groupdelay.fits')
oplot,opd
group=oirgetdata(tag+'.groupdelay.fits')
group=pseudocomplex(group.data1)
tvscl,abs(group(2000+indgen(1000),*))
g=group
for i=0,511 do g(*,i)=csmooth1(g(*,i),5)
tvscl,abs(g(2000+indgen(1000),*))
plot,g(3000,*)
oplot,group(3000,*)
for i=3000,4000 do begin plot,abs(group(i,*)),yr=[0,2.e6]&wait,.1&endfor

help,/files	; to check open logical units
midiprinterrmsg	; print error message from stack
close,/all	; close all logical units
heap_gc,/verbose	; heap variable garbage collector
