next up previous
Next: Examples Up: "Scan intent'' Based Selection Previous: "Scan intent'' Based Selection

Syntax

The scan-intent selection expression is a comma-separated list of specifications. Each specification can be a string, an integer or an integer range. As in other such expressions, a range $ [N0,N1]$ can be specified as N0$ \sim$ N1 (see Section 1.2). Strings can be regular expressions or patterns or quoted-strings for as-is matching (see Section 1.4).

A single scan can have multiple scan-intents represented by a comma-separated list of strings like "CALIBRATE_BANDPASS.UNSPECIFIED,CALIBRATE_AMPLI.UNSPECIFIED". Each of these comma-separated components are referred to as the scan-intent components. All string specifications in scan-intent expression are matched against each of these comma-separated components. Scans with any of the scan-intent components matching the string(s) in the scan-intent expression are selected. E.g. scanintent=*CAL*, *BAND* will select all scans which have the strings "CAL" or "BAND".

To allow selection based on scan-intent components, scan-intent selection specifications can also be ampersand-separated ('&') list strings. Only those scans, at least one scan-intent components of which match all the ampersand-separated components are selected. E.g. scanintent=*CAL* & *BAND* will select only those scans the intent strings of which contain the strings "CAL" and "BAND". See Section 8.2 for more examples.

Table 3: Example scan-intent table
Scan No. Scan-intent strings
0 CALIBRATE_BANDPASS, CALIBRATE_PHASE
1 CALIBRATE_BANDPASS, CALIBRATE_AMPLI
2 CALIBRATE_BANDPASS, CALIBRATE_AMPLI, CALIBRATE_PHASE
3 AMPLI_UNSPECIFIED, PHASE_UNSPECIFIED


next up previous
Next: Examples Up: "Scan intent'' Based Selection Previous: "Scan intent'' Based Selection
Sanjay Bhatnagar 2012-11-26