From cb9e33194ac1e46254b34fb771aad72654190fd5 Mon Sep 17 00:00:00 2001 From: William Joye Date: Wed, 22 Mar 2017 11:13:43 -0400 Subject: update doc --- ds9/doc/ref/region.html | 59 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 45 insertions(+), 14 deletions(-) diff --git a/ds9/doc/ref/region.html b/ds9/doc/ref/region.html index fcd8601..72b22f3 100644 --- a/ds9/doc/ref/region.html +++ b/ds9/doc/ref/region.html @@ -11,10 +11,10 @@ - -

Regions

+ +

Regions

Regions provide a means for marking particular areas of an image for further analysis. Regions may also be used for @@ -29,17 +29,14 @@ External Region Files

Region Descriptions

Circle
- Usage: circle x y radius
+ Usage: circle x y radius # fill=[0|1]

Ellipse
- Usage: ellipse x y radius radius angle
-

+ Usage: ellipse x y radius radius angle # fill=[0|1]

Box
- Usage: box x y width height angle
-

+ Usage: box x y width height angle # fill=[0|1]

Polygon
- Usage: polygon x1 y1 x2 y2 x3 y3 ...
-

+ Usage: polygon x1 y1 x2 y2 x3 y3 ... # fill=[0|1]

Point
Usage: point x y # point=[circle|box|diamond|cross|x|arrow|boxcircle] [size]
@@ -175,7 +172,14 @@ which may be used for grouping and searching.

Example:  circle(100,100,20) # tag={Group 1} tag={Group 2} -

Line

+

Circle | Ellipse | Box | Polygon
+

+

Circle, ellipse, box, and polygon regions may be rendered + with outline or solid color fill. To indicate fill, use the + fill property. A '1' indicates fill, '0' indicates no outline. +

+ Example: circle(100,100,20) # fill=1 +

Line

The line region may be rendered with arrows, one at each end. To indicate arrows, use the line property. A '1' indicates an arrow, '0' indicates no arrow.

@@ -254,6 +258,7 @@ + pixel coords of original file using LTM/LTV

IMAGE                   @@ -266,10 +271,11 @@ + pixel coords of current file
FK4,B1950             -   - # sky coordinate systems
+ +   # sky coordinate systems

FK5,J2000               # @@ -280,10 +286,12 @@ + sky coordinate systems

ICRS                    # + sky coordinate systems
GALACTIC                @@ -296,6 +304,7 @@ + sky coordinate systems

ECLIPTIC                @@ -308,6 +317,7 @@ + sky coordinate systems
WCS                @@ -326,6 +336,7 @@ + linear primary WCS
@@ -342,6 +353,7 @@ + 1.

Example: tile 2;fk5;point(100,100)

Multiple WCS

@@ -366,6 +378,7 @@ + context-dependent (see below)
[num]d                  @@ -378,6 +391,7 @@ + degrees
[num]r                  @@ -390,6 +404,7 @@ + radians
[num]p                  @@ -402,6 +417,7 @@ + physical pixels
[num]i                  @@ -414,6 +430,7 @@ + image pixels
[num]:[num]:[num]       # hms for 'odd' position arguments
@@ -435,6 +452,7 @@ + context-dependent (see below)
[num]"                  @@ -447,6 +465,7 @@ + arc sec
[num]'                  @@ -459,6 +478,7 @@ + arc min
[num]d                  @@ -471,6 +491,7 @@ + degrees
[num]r                  @@ -483,6 +504,7 @@ + radians
[num]p                  @@ -495,6 +517,7 @@ + physical pixels
[num]i                  @@ -507,6 +530,7 @@ + image pixels

@@ -536,6 +560,7 @@ + pixel coords of current file

LINEAR                  @@ -549,6 +574,7 @@ + linear wcs as defined in file

FK4, B1950              @@ -562,6 +588,7 @@ + sky coordinate systems
FK5, J2000
GALACTIC
@@ -578,6 +605,7 @@ + pixel coords of original file using LTM/LTV
AMPLIFIER               @@ -590,6 +618,7 @@ + mosaic coords of original file using ATM/ATV
DETECTOR                @@ -602,6 +631,7 @@ + mosaic coords of original file using DTM/DTV

WCS,WCSA-WCSZ      @@ -779,6 +809,7 @@ SECTOR is ignored
FIELD + is ignored
DIAMOND is ignored
RHOMBUS
is ignored
-- cgit v0.12