#  AIPS HELP file for CODECIML in 31DEC22

#### As of Sat Sep 23 12:48:42 2023

CODECIML: Converts between decimal and sexagesimal coordinates

### INPUTS

```          Input adverbs
DECIMAL          -1.0          1.0 > 0 -> decimal > sexagesimal
COORDINA \$                         Sexagesimal coordinate
X        \$                         Right ascension in degrees
Y        \$                         Declination in degrees
```

### HELP SECTION

```CODECIML
Type:  verb
Use:   To convert between sexagesimal and decimal coordinates.
DECIMAL....> 0 => go from decimal (X, Y) to sexagesimal (COORDINA)
COORDINA...The X and Y coordinates are found as:
Xpos = abs(CO(1)) + abs(CO(2))/60 + abs(CO(3))/3600
if any of CO(1), CO(2), CO(3) < 0: Xpos = -Xpos
Ypos = abs(CO(4)) + abs(CO(5))/60 + abs(CO(6))/3600
if any of CO(4), CO(5), CO(6) < 0: Ypos = -Ypos
Note that, although these are most suited to RA, Dec in
sexagesimal notation, they can be used for any type of
coordinate.  The units are standard FITS units (e.g
degrees, m/sec, Hz, sec, etc.) except that right
ascensions are in hours of time.
X..........Right ascension in degrees
Y..........Declination in degrees
```

AIPS