1 Description
-------------------------------------------------------------------------------
Calibration package for reducing holographies           R. Lucas 13-May-1997
-------------------------------------------------------------------------------
This is the X-window procedure to reduce holographies of Plateau de
Bure antennas.  The DEVICE is switched to IMAGE.WHITE.



Active Buttons:
---------------
GO	Perform in sequence: SELECT, RF, PHASE, AMPLI, SOLVE.

CREATE	Create a header file to store the calibration. It will be 
	named "jj-mmm-yyy-holo-ani.hpb" and will contain correlations
    	and holography scans. The procedure will refuse to mix holography 
	scans on different antennas. The file name is updated.

SELECT	Select observations; Must be done after FILE is changed (or created by
	pressing CREATE). The RF bandpass calibration source is selected as
	the strongest source of type PHASE with correlation observations,
	inside the scan_range parameters. The useful band (LSB, USB, or DSB)
	is selected according to the sideband gain ratio. Note all scans with
	quality worse than MIN_QUAL are ignored. Use STORE QUALITY to change
	the quality on scans.

RF	RF Passband calibration, with the USB and/or LSB.
	 
PHASE   Phase calibration (baseline based).

AMPL	Amplitude calibration (baseline based).

SOLVE 	Solve the holography and plot.

PANELS	Solve for panel screw settings. Additional input parameters
	are available. 

Inputs:
-------
2 HDATE	
"Observing date"
	The date of observation (optional). It is needed to create the 
	header file, when more than one raw data file (with project HOLO) is 
	available on line (in that case the last one to have been written 
	is used by default).
2 HREC
"Receiver number ?" 
	The receiver number to be used (by default 1).

2 HBASES
"Baselines to be used ?"
	This character variable contains either ALL" or a list of baselines 
	to be used (they are actually used only if they connect to  
	the scanned antenna).

2 HMODE
"Mode"
	Continuum or Line. It is used to select the subbands: all continuum
	subbands or only the narrow ones (e.g. 20 MHz).

2 HFILE_NAME
"File name ?"   
	The name of the file (.hpb) containing the headers, created by CREATE.
	CREATE also provides the default. Press FILE for browser.

2 HSCAN
"Scan range ?"
	First and Last scan to be used. Set FIRST = 0 and LAST = 10000 
	for all scans (the default). This is used for selection of the 
	scans to be copied in the header file, and also later 
	to select scans for reduction.
	
2 MIN_QUAL
"Minimum quality ?"
	Minimum data quality required for data selection. 

2 HAMPREL
"Use calibrated amplitudes ?"
	Decide whether the amplitudes should be calibrated. YES is the default.

2 HSIZE  
"Map size in pixels"
	Size of the plotted map in pixels: 64 (default) or 128.

1 END
