.ec _
.ll 76
.ad b
.in 4

.ti -4
1 NOEMAONLINE_\
.ti +20
NOEMAONLINE_\ Language summary
 
.nf
BASEBANDS : Assign a correlator mode to a given baseband
LINE      : Define and plot the frequency coverage of NOEMA receivers
PROPOSAL  : Write a sequence of NEOMAOFFLINE commands to define the present receiver/correlator configuration
SHOW      : Lists information about BASEBANDS or SPW
SPW       : Configure and plot the backend units
.fi

.\"====================================================================
.ti -4
1 BASEBANDS
.ti +4
[NOEMAONLINE_\] BASEBANDS [SelectionCode] [Mode] [/RECEIVER Irec]

Assign a mode to a given baseband and switch it on.  Correlator modes
are called using their implementation number. Mode 1 offers 64 low
resolution chunks and up to 16 high resolution chunks in a baseband;
High resolution chunks are selected with the SPW command.  Mode 3
offers 64 chunks with a channel spacing of 250kHz; SPW cannot be used
on basebands using Mode 3.  Mode can also be OFF to switch the
corresponding correlator unit OFF.
Mode 2 of PolyFix is VLBI, not available in ASTRO.

The selection is done through 0 to 3 character codes
to indicate the polarization, sideband and baseband
(1 character each).

Example:
.nf
BASEBAND HUO 1 /RECEIVER 1: will set the mode 1 to the outer baseband of the upper 
			    sideband in polar H, for the Band 1 tuning. 
.fi

Option /RECEIVER can be omitted in ASTRO as long as multi band is not supported.

.\"====================================================================
.ti -4
1 LINE
.ti +4
[NOEMA_\]LINE  Name Ftune(GHz) Sideband FIF(MHz) [/RECEIVER Irec]

Defines the tuning of one of a receiver band

Tuning syntax:
.nf
Name	: Line Name
Ftune	: Frequency to tune (in GHz) 
SideBand: Sideband where to place Ftune (LSB or USB) 
FIF	: Position where Ftune will be placed in the IF band (in MHz)
.fi

Ftune must be in REST frequency

If a source has been defined, its velocity (but NO redshift) at the
current ASTRO time is taken into account to convert Ftune to RF
frequency.

Option /RECEIVER can be omitted in ASTRO as long as multi band is not supported.
.\"====================================================================
.ti -4
1 PROPOSAL

[NOEMAONLINE_\]PROPOSAL [/FILE file.ext]

Write (to screen or in a file defined with /FILE option) a sequence of
commands to come back to the current state of receiver/backend
definitions. The commands are written in the language NOEMAOFFLINE,
since the scripts are ment to be updated to the Proposal Management
System during a proposal preparation session.

This can be run in ASTRO after switching to NOEMA offline mode, using
the command OBSERVATORY NOEMA OFFLINE

PROPOSAL will return an error if the configuration is not technically
feasible (chunk selected by more than 1 spectral window, or more
chunks needed than available in a correlator unit).

In addition to the commands, the output of PROPOSAL contains all the
spectral lines of the current catalog which fall in the observed
ranges. 
.\"====================================================================
.ti -4
1 SHOW

[NOEMAONLINE_\]SHOW SPW|BASEBANDS  [/PLOT]

List information about SPW or BASEBANDS

/PLOT option can be used to get a summary plot of the receiver/correlator configuration
.\"====================================================================
.ti -4
1 SPW
.ti +4
[NOEMA_\]SPW  /CHUNK ChunkList /BASEBAND BaseCode [/RECEIVER Irec] [/LABEL Label]

Configure spectral windows in Polyfix units. SPW will work only on
basebands defined with a correlator mode in which high resolution
spectral windows can be configured (currently only Mode 1).

.nf
  SPW /CHUNK  1  5  10 TO 12 /BASEBAND HUO
.fi
will add 3 more spectral windows in baseband HUO:
.br
- one new spw with the chunk #1,
.br
- one new spw with the chunk #5,
.br
- one new spw with the chunks #10, 11, and 12.

/RECEIVER option can be omitted as long as ASTRO does not support multi band settings

.\"--------------------------------------------------------------------
.ti -4
2 /LABEL

[NOEMA_\]SPW [...] /LABEL Label

With the option /LABEL, a name can be attached to the defined spectral
windows.
.\"====================================================================
.ti -4
1 ENDOFHELP
