|
|||
NRAO Home > CASA > CASA Cookbook and User Reference Manual |
|
D.4 Global definitions
Definitions to be used throughout the region file are placed on a line beginning with ’global’, usually at the top of the file. These definitions may also be used on any individual region or annotation line; in this case, the value defined on that line will override the predefined global (but only for that line). If a ’global’ line occurs later in the file, subsequent lines will obey those definitions.
- Coordinate reference frame:
- Possible values: J2000, JMEAN, JTRUE, APP, B1950, B1950_VLA, BMEAN, BTRUE, GALACTIC, HADEC, AZEL, AZELSW, AZELNE, AZELGEO, AZELSWGEO, AZELNEGEO, JNAT, ECLIPTIC, MECLIPTIC, TECLIPTIC, SUPERGAL, ITRF, TOPO, ICRS
- Default: image value
coord = J2000
- Frequency/velocity axis:
- Possible values: REST, LSRK, LSRD, BARY, GEO, TOPO, GALACTO, LGROUP, CMB
- Default: image value
frame=TOPO
- Frequency/velocity range:
- Possible units: GHz, MHz, kHz, km/s, Hz, channel
- Default: image range
range=[min, max]
- Correlation axis:
- Possible values: I, Q, U, V, RR, RL, LR, LL, XX, XY, YX, YY, RX, RY, LX, LY, XR, XL, YR, YL, PP, PQ, QP, QQ, RCircular, LCircular, Linear, Ptotal, Plinear, PFtotal, PFlinear, Pangle
- Default: all planes present in image
corr=[X, Y]
- Velocity calculation:
- Possible values: RADIO, OPTICAL, Z, BETA, GAMMA
- Default: image value
veltype=RADIO
- Rest frequency:
- Default: image value
restfreq=1.42GHz
- Default: image value
- Line characteristics:
- Possible values: any line style recognized by matplotlib: ’-’=solid, ’--’=dashed, ’:’=dotted
- Default: linewidth=1, linestyle=’-’
linewidth=1
linestyle=’-’
- Symbol characteristics:
- Symbol syze and thickness:
symsize = 1
symthick = 1
- Symbol syze and thickness:
- Region, symbol, and text color:
- Possible values: any color recognized by matplotlib, including hex values
- Default: color=green
color=red
- Text font characteristics:
- Possible values: see Sect. D.7.2.
- ’usetex’ is a boolean parameter that determines whether or not the text line should
be interpreted as LaTeX, and would require working LaTeX, dvipng, and Ghostscript
installations (equivalent to the text.usetex parameter in matplotlib).
font=Helvetica
fontsize=10pt
fontstyle=bold
usetex=True/False
- Label position:
- Possible values: ’left’, ’right’, ’top’, ’bottom’
- Default: ’top’
labelpos=’right’
- Label color:
- Default: color of associated region.
- Allowed values: same as values for region colors.
labelcolor=’green’
- Label offset:
- Default: [0,0].
- Allowed values: any positive or negative number, in units of pixels.
labeloff=[1, 1]
More information about CASA may be found at the
CASA web page
Copyright © 2010 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search