Data reduction:

After login, execute: . chummel/bashrc
export DISPLAY=
	Tip: <ctrl-r>exp brings the last occurrence of this
	command onto the command line.
cd /data/raw/2003-11-21
oyster
f=vincifilegui()
	This will display a GUI to select files in groups
	of 4 (off, a, b, on). Select n*4 files in the left
	column, and click SELECT to exit. The file
	selection in this GUI can be sped up but in a
	somewhat complicated way, based on logical 
	operations. For example, to select all non-
	autotest files, click any 'STARINTF' field and 
	then OR. This will select all files of type 
	STARINTF. Then to deselect certain stars,
	change from '=' to '!=', then click any field
	labeled with that star's name, and then AND.
	This will remove them from the selection.
vndrs,f
	This will spawn a process running the reduction
	by Kervella & Segransan on the selected files.
	After finishing, you will still be in OYSTER;
	if only 4 files were selected, the output will
	be displayed in a scrolling text widget.
get_vincidata,findfile('*.log')
	This command reads and converts all 
	*.log files produced by vndrs and ouputs
	them in a file VINCI.YYYY-MM-DD.xdr,
	where the date is the UT date of the obs.
[
get_vincidata,'VINCI.YYYY-MM-DD.xdr'
	After the .xdr file has been created, we
	would use this filename to read the data.
]
oyster
	To start the GUI
Calibrate|Visibility|PLOT
	Select Y=VisSq C
	Select option Lines
	Pl/E to plot squared visibility vs. time
	Select Y=NATCounts to plot PA
	(InputBeam=1) and PB (Inputbeam=2)
	(These labels are not quite correct since
	OYSTER was obviously not written for VINCI.) 
Quit
	To exit OYSTER

Observation planning:

Startup OYSTER
print,cri('alf hya','bsc')
	OYSTER accesses catalogs for stars with
	HR, HD, HIP, etc. identifiers, but not by name,
	less VLTI names. Therefore, though a little 
	cumbersome, we use the crossindex (cri)
	function to let OYSTER "guess" which star
	we are talking about. Here it returns 3748.
get_startable,'BSC3748'
systemid='VLTI/VINCI'
	To set the interferometer name and instrument
plotuptime,/polar,stations=['VE0','VG0'] 
	This will show current position and track of the star(s)
	on the sky. The thick dot intervals correspond to 1 hr.
	(Station names have to conform to OYSTER 3-char
	standard, therefore the "V" in the name.)
addstar,'BSC3845'
	We add zethya. "removestar" removes.
rename_bsc
	This tells plotuptime to use the common Bayer name.
