TUI:Tidbits:Entering Sexagesimal Offsets and Durations
TUI:Tidbits:Entering Sexagesimal Offsets and Durations
Many entry fields permit sexagesimal entry (h:m:s.s or °:':"). You can easily spot such fields because the units label for an empty field will show hms or °'". Sexagesimal entry is flexible in that you can specify one to three fields, as you desire. As you enter enter data the units display will update to show you what is going on.
Offset and duration entry widgets assume that a single field is decimal arc-seconds or seconds ('.' or s.s) and two fields are (arc) minutes and seconds (':"." or m:s.s).
Entry rules are as follows:
- You may specify one to three fields.
- The last field may include a decimal point, with as many digits after the decimal as you like.
- You may specify one to three fields:
- s.s (or '.')
- m:s.s (or ":'.')
- h:m:s.s (or °:':".")
- In all cases the units label to the right will tell you what is going on.
- Type space, colon (:), semicolon (;) or keypad / to start a new field; a colon will be displayed.
- As you enter additional fields the units label to the right will change to let you know what is going on.
- The last field may include a decimal point, with as many digits after the decimal as you like.
- All fields except the left-most must be less than 60.
- The entry widget will either be in h:m:s or °:':", the units string will show you which. Some widgets will vary, for example the first axis of position depends on the coordinate system. However, you cannot toggle this yourself.
Here are some examples:
- Type "450.201" to specify 450.201 seconds
- Type "7 30.2", "7:30.2" or "7=30.2" to specify 7:30.2, meaning 7 minutes, 30.2 seconds (i.e. 450.2 seconds)
- Type "-1:5:2.36" to specify minus 1 hour, 5 minutes, 2.36 seconds
- The following is invalid because a field other than the left-most is greater or equal to 60: "4:7:60"
Note: sexagesimal positions are entered in the same fashion, but a single field is decimal hours or degrees (h.h or °.°) and two fields are hours (or degrees) and minutes (h:m.m or °:'.').