home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / x / volume19 / xephem / part04 < prev    next >
Encoding:
Text File  |  1993-05-15  |  77.4 KB  |  1,712 lines

  1. Newsgroups: comp.sources.x
  2. From: ecdowney@pobox.cca.cr.rockwell.com (Elwood Downey)
  3. Subject: v19i092:  xephem - astronomical ephemeris program, Part04/21
  4. Message-ID: <1993May10.220824.7730@sparky.imd.sterling.com>
  5. X-Md4-Signature: 1e221bba11579ce080a4bad4137014a1
  6. Date: Mon, 10 May 1993 22:08:24 GMT
  7. Approved: chris@sparky.imd.sterling.com
  8.  
  9. Submitted-by: ecdowney@pobox.cca.cr.rockwell.com (Elwood Downey)
  10. Posting-number: Volume 19, Issue 92
  11. Archive-name: xephem/part04
  12. Environment: X11r4, OSF/Motif
  13. Supersedes: xephem: Volume 16, Issue 112-134
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then feed it
  17. # into a shell via "sh file" or similar.  To overwrite existing files,
  18. # type "sh file -c".
  19. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  20. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  21. # Contents:  XEphem.ad xephem.hlp
  22. # Wrapped by chris@nova on Mon May 10 16:41:42 1993
  23. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  24. echo If this archive is complete, you will see the following message:
  25. echo '          "shar: End of archive 4 (of 21)."'
  26. if test -f 'XEphem.ad' -a "${1}" != "-c" ; then 
  27.   echo shar: Will not clobber existing file \"'XEphem.ad'\"
  28. else
  29.   echo shar: Extracting \"'XEphem.ad'\" \(9517 characters\)
  30.   sed "s/^X//" >'XEphem.ad' <<'END_OF_FILE'
  31. X! initial circumstances setup
  32. X! XEphem supports the following resources related to time:
  33. X!   XEphem.JD: Julian date
  34. X!   XEphem.UD: UT date
  35. X!   XEphem.UT: UT time
  36. X!   XEphem.LD: Local date
  37. X!   XEphem.LT: Local time
  38. X!   XEphem.LST: Local sidereal time
  39. X! pick any one to set to "Now" or set enough to be complete (such as JD, or
  40. X!   UD and UT, or LD and LT).
  41. X! the date formats and units for Elevation, Temp and Pressue depend on the
  42. X!   selected preferences.
  43. XXEphem.LT: Now
  44. XXEphem.TZName: CDT
  45. XXEphem.TZone: 5
  46. XXEphem.Long: 91:40:0
  47. XXEphem.Lat: 41:51:0
  48. XXEphem.Elevation: 800
  49. XXEphem.Temp: 60
  50. XXEphem.Pressure: 29.5
  51. XXEphem.StepSize: RTC
  52. XXEphem.Epoch: 2000
  53. XXEphem.NSteps: 1
  54. XXEphem.Pause: 0
  55. XXEphem.TwilightDip: 18
  56. XXEphem.viewsFont: fixed
  57. X
  58. X! default font
  59. X! Xephem tables behave best with a mono-spaced or character-cell font,
  60. X!   ie, -spacing- either m or c.
  61. XXEphem*fontList: fixed
  62. X
  63. X! main menu colors
  64. XXEphem*foreground: blue
  65. XXEphem*background: snow
  66. X
  67. X! select one of Algorithms preferences to set to True
  68. XXEphem*Algorithms.Accurate.set: False
  69. XXEphem*Algorithms.Fast.set: True
  70. X
  71. X! select one of DateFormats preferences to set to True
  72. XXEphem*DateFormat.MDY.set: True
  73. XXEphem*DateFormat.YMD.set: False
  74. XXEphem*DateFormat.DMY.set: False
  75. X
  76. X! select one of Units preferences to set to True
  77. XXEphem*Units.English.set: True
  78. XXEphem*Units.Metric.set: False
  79. X
  80. X! default plot and listing filenames
  81. XXEphem*Plot*Filename.value: ephem.plt
  82. XXEphem*List*Filename.value: ephem.lst
  83. X
  84. X! default help file name
  85. XXEphem.HELPFILE: xephem.hlp
  86. X
  87. X! default database file name
  88. XXEphem*DBPromptD.textString: ephem.db
  89. X
  90. X! set Geocentric.set to true for geocentric separations,
  91. X! or Topocentric.set to true for topocentric separation..
  92. XXEphem*Geocentric.set: false
  93. XXEphem*Topocentric.set: true
  94. X
  95. X! set StdRefr.set to true to use constant 34 arcminute refraction, or
  96. X! set AdpRefr.set to true to use current mainmenu atmospheric conditions.
  97. XXEphem*AdpRefr.set: false
  98. XXEphem*StdRefr.set: true
  99. X
  100. X! set Limb.set to true to compute rise/set based on upper limb, or
  101. X! set Center.set to true to compute rise/set based on object's center.
  102. XXEphem*DataSelRisetCols*Center.set: false
  103. XXEphem*DataSelRisetCols*Limb.set: true
  104. X
  105. X! initial location (unless using interactive window manager placement)
  106. XXEphem*xephem_main.x: 50
  107. XXEphem*xephem_main.y: 50
  108. X
  109. X! infor for the Jupiter display
  110. XXEphem*Jupiter*Map*background: #00004a
  111. XXEphem*Jupiter*Map*foreground: snow
  112. XXEphem*Jupiter*CtlForm.verticalSpacing: 5
  113. XXEphem*Jupiter*BigDots.set: True
  114. XXEphem*Jupiter*Tags.set: True
  115. XXEphem*Jupiter*Map.height: 100
  116. XXEphem*Jupiter.x: 100
  117. XXEphem*Jupiter.y: 200
  118. X
  119. X!info for the Saturn display
  120. XXEphem*Saturn*CtlForm.verticalSpacing: 5
  121. XXEphem*Saturn*BigDots.set: True
  122. XXEphem*Saturn*Tags.set: True
  123. XXEphem*Saturn*Map.height: 100
  124. XXEphem*Saturn.x: 400
  125. XXEphem*Saturn.y: 200
  126. XXEphem*Saturn*Map*background: #00004a
  127. XXEphem*Saturn*Map*foreground: snow
  128. X
  129. X!info for the Moon display
  130. XXEphem*Moon*Earthshine.set: True
  131. XXEphem*Moon*BitmapView.set: False
  132. XXEphem*Moon.x: 200
  133. XXEphem*Moon.y: 200
  134. XXEphem*MoonDA*foreground: snow
  135. XXEphem*MoonDA*background: #00004a
  136. X
  137. X! info for the Mars map
  138. XXEphem*Mars.x: 300
  139. XXEphem*Mars.y: 300
  140. XXEphem*Mars*Map.height: 300
  141. XXEphem*Mars*Map.foreground: dark orange
  142. XXEphem*Mars*Map.background: gray14
  143. X
  144. X! info for the Earth map
  145. XXEphem*Earth.x: 200
  146. XXEphem*Earth.y: 200
  147. XXEphem*Earth*Map.height: 300
  148. XXEphem*Earth*Map.foreground: cyan3
  149. XXEphem*Earth*Map.background: gray14
  150. X
  151. X! info for the Solar system display
  152. XXEphem*SolarSystem.x: 250
  153. XXEphem*SolarSystem.y: 350
  154. XXEphem*SolarSystem.CtlForm.verticalSpacing: 5
  155. XXEphem*SolarSystem.BigDots.set: True
  156. XXEphem*SolarSystem.ConnectDots.set: True
  157. XXEphem*SolarSystem.Trails.set: False
  158. XXEphem*SolarSystem.Names.set: True
  159. XXEphem*SolarSystem.HLongScale.value: 0
  160. XXEphem*SolarSystem.DistScale.value: 50
  161. XXEphem*SolarSystem.HLatScale.value: 90
  162. XXEphem*SolarSystem*SolarDA.height: 300
  163. XXEphem*SolarSystem*SolarDA.width: 300
  164. XXEphem*SolarSystem*SolarDA.background: #00004a
  165. XXEphem*SolarSystem*SolarDA.foreground: snow
  166. XXEphem*StereoSolarSystem*StereoDA.background: #00004a
  167. XXEphem*StereoSolarSystem*StereoDA.foreground: snow
  168. X
  169. X! info for the Sky View display.
  170. X! select default Sky View coordinate display mode: 
  171. X!   set one of RADecMode.set or AltAzMode.set to true.
  172. X! then set AzRAScale.value and AltDecScale.value to desired initial settings.
  173. X!   N.B. when using AltAz mode: 
  174. X!     need to set AzRAScale.maximum to 360 since default scale max is 100.
  175. X!     AzRAScale.decimalPoints is set to 1.
  176. X! XEphem*SkyView*RADecMode.set: true
  177. XXEphem*SkyView*AltAzMode.set: true
  178. XXEphem*SkyView*FOVScale.value: 180
  179. XXEphem*SkyView*AltDecScale.value: 90
  180. XXEphem*SkyView*AzRAScale.value: 180
  181. XXEphem*SkyView*AzRAScale.maximum: 360
  182. XXEphem*SkyView*JustDots.set: True
  183. XXEphem*SkyView*Ecliptic.set: False
  184. XXEphem*SkyView*AllLabels.set: False
  185. XXEphem*SkyView.x: 200
  186. XXEphem*SkyView.y: 400
  187. XXEphem*SkyView*Map.width: 300
  188. XXEphem*SkyView*Map.height: 300
  189. XXEphem*SkyView*Map.background: #00004a
  190. XXEphem*SkyView*Map.foreground: snow
  191. X
  192. X! initial setting of the skyview faint and bright magnitude limits
  193. X! BMAGLIMIT and FMAGLIMIT in skyviewmenu.c limit the extremes to -28 and 20.
  194. XXEphem*SkyView*FaintMagScale.value: 6
  195. XXEphem*SkyView*BrightMagScale.value: -28
  196. X
  197. X! colors used to display the symbols in the Sky View filter menu
  198. XXEphem*SkyFilter*SymbolDA.foreground: snow
  199. XXEphem*SkyFilter*SymbolDA.background: #00004a
  200. X
  201. X! initial types of object to display in Sky View
  202. XXEphem*SkyFilter*Planets.set: True
  203. XXEphem*SkyFilter*Elliptical.set: True
  204. XXEphem*SkyFilter*Hyperbolic.set: True
  205. XXEphem*SkyFilter*Parabolic.set: True
  206. XXEphem*SkyFilter*Quasars.set: True
  207. XXEphem*SkyFilter*Stellar.set: True
  208. XXEphem*SkyFilter*Undefined.set: True
  209. XXEphem*SkyFilter*Stars.set: True
  210. XXEphem*SkyFilter*Binary.set: True
  211. XXEphem*SkyFilter*Double.set: True
  212. XXEphem*SkyFilter*Multiple.set: True
  213. XXEphem*SkyFilter*Variable.set: True
  214. XXEphem*SkyFilter*BrightNeb.set: True
  215. XXEphem*SkyFilter*DiffuseNeb.set: True
  216. XXEphem*SkyFilter*DarkNeb.set: True
  217. XXEphem*SkyFilter*PlanetaryNeb.set: True
  218. XXEphem*SkyFilter*SpiralGal.set: True
  219. XXEphem*SkyFilter*SphericalGal.set: True
  220. XXEphem*SkyFilter*GalClusters.set: True
  221. XXEphem*SkyFilter*GlobularCl.set: True
  222. XXEphem*SkyFilter*OpenCl.set: True
  223. XXEphem*SkyFilter*ClInNeb.set: True
  224. X
  225. X! misc display locations and colors
  226. XXEphem*Data.x: 100
  227. XXEphem*Data.y: 200
  228. XXEphem*Plot.x: 100
  229. XXEphem*Plot.y: 200
  230. XXEphem*List.x: 500
  231. XXEphem*List.y: 200
  232. XXEphem*Srch.x: 200
  233. XXEphem*Srch.y: 300
  234. XXEphem*AltAzMap*background: #00004a
  235. XXEphem*AltAzMap*foreground: snow
  236. XXEphem*PlotDA*foreground: #fce089
  237. XXEphem*PlotDA*background: #00004a
  238. XXEphem*PlotDA*height: 300
  239. XXEphem*VersionMap*foreground: snow
  240. XXEphem*VersionMap*background: #00004a
  241. X
  242. X! set which Data Table rows and columns are to be on initially
  243. XXEphem*DataSelRows.Sun.set: true
  244. XXEphem*DataSelRows.Moon.set: true
  245. XXEphem*DataSelRows.Mercury.set: false
  246. XXEphem*DataSelRows.Venus.set: false
  247. XXEphem*DataSelRows.Mars.set: false
  248. XXEphem*DataSelRows.Jupiter.set: false
  249. XXEphem*DataSelRows.Saturn.set: false
  250. XXEphem*DataSelRows.Uranus.set: false
  251. XXEphem*DataSelRows.Neptune.set: false
  252. XXEphem*DataSelRows.Pluto.set: false
  253. XXEphem*DataSelMiscCols.Cns.set: true
  254. XXEphem*DataSelMiscCols.R_A.set: true
  255. XXEphem*DataSelMiscCols.Dec.set: true
  256. XXEphem*DataSelMiscCols.Az.set: true
  257. XXEphem*DataSelMiscCols.Alt.set: true
  258. XXEphem*DataSelMiscCols.HeLong.set: false
  259. XXEphem*DataSelMiscCols.HeLat.set: false
  260. XXEphem*DataSelMiscCols.EaDst.set: false
  261. XXEphem*DataSelMiscCols.SnDst.set: false
  262. XXEphem*DataSelMiscCols.Elong.set: false
  263. XXEphem*DataSelMiscCols.Size.set: false
  264. XXEphem*DataSelMiscCols.VMag.set: false
  265. XXEphem*DataSelMiscCols.Phase.set: false
  266. XXEphem*DataSelRisetCols.RiseTm.set: true
  267. XXEphem*DataSelRisetCols.RiseAz.set: false
  268. XXEphem*DataSelRisetCols.TrnTm.set: false
  269. XXEphem*DataSelRisetCols.TrnAlt.set: false
  270. XXEphem*DataSelRisetCols.SetTm.set: true
  271. XXEphem*DataSelRisetCols.SetAz.set: false
  272. XXEphem*DataSelRisetCols.HrsUp.set: false
  273. XXEphem*DataSelSepCols.Sun.set: false
  274. XXEphem*DataSelSepCols.Moon.set: false
  275. XXEphem*DataSelSepCols.Mercury.set: false
  276. XXEphem*DataSelSepCols.Venus.set: false
  277. XXEphem*DataSelSepCols.Mars.set: false
  278. XXEphem*DataSelSepCols.Jupiter.set: false
  279. XXEphem*DataSelSepCols.Saturn.set: false
  280. XXEphem*DataSelSepCols.Uranus.set: false
  281. XXEphem*DataSelSepCols.Neptune.set: false
  282. XXEphem*DataSelSepCols.Pluto.set: false
  283. X
  284. X! colors used to plot the planets and stars
  285. XXEphem.mercuryColor: Red
  286. XXEphem.venusColor: Green
  287. XXEphem.marsColor: OrangeRed
  288. XXEphem.jupiterColor: Cyan
  289. XXEphem.saturnColor: PaleGoldenrod
  290. XXEphem.uranusColor: MediumSpringGreen
  291. XXEphem.neptuneColor: DeepSkyBlue1
  292. XXEphem.plutoColor: Orange
  293. XXEphem.sunColor: Yellow
  294. XXEphem.moonColor: Grey
  295. XXEphem.hotStarColor: LightSkyBlue1
  296. XXEphem.mediumStarColor: LemonChiffon
  297. XXEphem.coolStarColor: Coral
  298. X
  299. X! colors used in plots
  300. XXEphem.plotColor0: red
  301. XXEphem.plotColor1: green
  302. XXEphem.plotColor2: blue
  303. XXEphem.plotColor3: orange
  304. XXEphem.plotColor4: magenta
  305. XXEphem.plotColor5: cyan
  306. XXEphem.plotColor6: black
  307. XXEphem.plotColor7: wheat
  308. XXEphem.plotColor8: gray
  309. XXEphem.plotColor9: pink
  310. X
  311. X
  312. X! "systemy" sort of defaults not generally changed.
  313. XXEphem.allowShellResize: True
  314. XXEphem*spacing: 1
  315. XXEphem*marginHeight: 1
  316. XXEphem*traversalOn: false
  317. XXEphem*highlightOnEnter: false
  318. XXEphem*highlightThickness: 0
  319. XXEphem*XmText*traversalOn: true
  320. XXEphem*XmText*highlightOnEnter: false
  321. XXEphem*XmText*highlightThickness: 0
  322. X
  323. X! Help text scrolled text area dimensions
  324. XXEphem*Help*ScrolledText.rows: 24
  325. XXEphem*Help*ScrolledText.columns: 80
  326. XXEphem*Help.verticalSpacing: 20
  327. X
  328. X! scrolled Message text scrolled text area dimensions
  329. XXEphem*Message*ScrolledText.rows: 10
  330. XXEphem*Message*ScrolledText.columns: 80
  331. XXEphem*Message.verticalSpacing: 20
  332. END_OF_FILE
  333.   if test 9517 -ne `wc -c <'XEphem.ad'`; then
  334.     echo shar: \"'XEphem.ad'\" unpacked with wrong size!
  335.   fi
  336.   # end of 'XEphem.ad'
  337. fi
  338. if test -f 'xephem.hlp' -a "${1}" != "-c" ; then 
  339.   echo shar: Will not clobber existing file \"'xephem.hlp'\"
  340. else
  341.   echo shar: Extracting \"'xephem.hlp'\" \(65231 characters\)
  342.   sed "s/^X//" >'xephem.hlp' <<'END_OF_FILE'
  343. X@Intro
  344. XXephem is a program that computes ephemerides for all the planets, some of
  345. Xtheir moons, plus any two user-defined objects.
  346. X
  347. XIn addition to information in numeric form, xephem displays simple schematic
  348. Xviews of Saturn, Jupiter, Mars, Luna and Earth as well as maps of the night
  349. Xsky and the solar system. The sky and solar system maps support labeling and
  350. Xtrailing, and the solar system can be shown as a stereo pair.
  351. X
  352. XXephem can compute information on demand or time can be set to increment
  353. Xautomatically. In this way a series of computations and movies can be
  354. Xgenerated unattended.
  355. X
  356. XQuantitative information available about each object includes RA and Dec
  357. Xprecessed to any epoch, local azimuth and altitude, heliocentric
  358. Xcoordinates, distance from sun and earth, solar elongation, angular size,
  359. Xvisual magnitude, illumination percentage, local rise, transit and set
  360. Xtimes, length of time up, constellation, and angular separations between all
  361. Xcombinations of objects.
  362. X
  363. XObserving circumstance information includes UTC and local date and time,
  364. Xlocal sidereal time, times of astronomical twilight and length of night,
  365. Xlocal temperature, pressure and elevation above sea level for the refraction
  366. Xmodel and a monthly calendar.
  367. X
  368. XRA/Dec calculations are geocentric and may include the effects of light
  369. Xtravel time, nutation, aberration and precession.  Alt/Az and
  370. Xrise/set/transit and, optionally, angular separation calculations are
  371. Xtopocentric and include the additional effects of parallax and refraction.
  372. X
  373. XPlot and listing files of selected field values may be generated as the
  374. Xprogram runs.  The plot files are full precision floating point values in
  375. XASCII intended for export to other plotting programs. Xephem includes simple
  376. Xquick-look facilities to view plot files. The listing files are tables
  377. Xformatted for more general human reading.
  378. X
  379. XXephem can read databases of objects. The objects may be fixed or specified
  380. Xvia heliocentric elliptical, hyperbolic or parabolic orbital elements to
  381. Xaccommodate solar system objects such as asteroids or comets.  These are
  382. Xthen available as candidate values for the user defined objects and all of
  383. Xthem can be displayed in the sky map subject to type and magnitude filters.
  384. XThe format of the database file is described in the Help for the DB menu.
  385. X
  386. X@MainMenu
  387. XAcross the top of the Main menu is a menu bar to allow selecting the
  388. Xprinciple display menus of xephem. These may be turned on in any desired
  389. Xcombination.  Each menu will have its own Close button or it may be closed
  390. Xby reselecting it from the main menu bar.
  391. X
  392. X    The "File" pulldown is a few miscellaneous controls. The "Reset" entry will
  393. X    return xephem to its initial state. The "Messages" entry toggles whether
  394. X    the general messages menu is displayed. Note that all messages that go
  395. X    to this menu also appear on stdout regardless of whether the menu is
  396. X    up.  In order to be sure it is seen, the "messages" menu is always moved
  397. X    to the top of the window stack and placed under the pointer whenever it
  398. X    is up and new messages are added to it. The "Quit" entry exits xephem.
  399. X
  400. X    The "View" pulldown toggles any of the several xephem displays.
  401. X
  402. X    The "Control" pulldown toggles the plotting, listing and searching control
  403. X    menus.
  404. X
  405. X    The "ObjX/Y..." pushbutton toggles the menu that allows you to define
  406. X    the user defined objects, ObjX and ObjY. Said menu also allows you to
  407. X    inspect each item currently in the xephem database.
  408. X
  409. X    The "DB..." pushbutton toggles the menu that allows to add or replace
  410. X    entries in the xephem database from files of database objects.
  411. X
  412. X    The "Preferences" pulldown lists the available preferences that may be
  413. X    changed at runtime. The options currently available include whether the
  414. X    algorithms are chosen for accuracy or speed; dates are shown and entered
  415. X    in month/day/year, year/month/day or day/month/year format; and whether
  416. X    local topocentric circumstances are given in English or Metric units of
  417. X    measure. Each of these may be initialized via the XEphem resources; see
  418. X    the sample XEphem.ad resource file for details.  When the Algorithm
  419. X    setting is for Fast, a simpler precession algorithm is used and there
  420. X    is no correction for light travel time or nutation.  Whenever the
  421. X    preferences are changed at run time, all effected fields are immediately
  422. X    recalculated.
  423. X
  424. X    Finally, the "Help" pulldown provides access to several general areas of
  425. X    information.
  426. X
  427. XThe next row is a status line that contains a short description of what
  428. Xxephem is doing at the moment with regards to its looping behavior.
  429. X
  430. XBelow that is room for the NEW CIRCUMSTANCES message. When you change a
  431. Xfield that would invalidate any of the other fields the message NEW
  432. XCIRCUMSTANCES appears near the top of the menu. This will remain until at
  433. Xleast one screen update loop occurs.
  434. X
  435. XSee the Help for "Operation" for more information on changing the fields in
  436. Xthe Main menu and controlling xephem's runtime behavior. See the Help for
  437. X"Triad formats" for more information on these formats.
  438. X
  439. XFollows is a description of each of the display fields in the Main menu.
  440. X
  441. X UTC Date      The UTC date.
  442. X UTC Time      The UTC time.
  443. X Julian        The current Julian date, to about 1-second accuracy.
  444. X Sidereal      The sidereal time for the current time and location..
  445. X TZ Name       The local timezone name.  The name field may be changed to any
  446. X               three-character mnemonic.
  447. X TZ Offset     Hours local time is behind UTC, ie, positive west or negative
  448. X               east of Greenwich.
  449. X Local Date    The local date. This is UTC minus the value of TZ Offset.
  450. X Local Time    The local time. This is UTC minus the value of TZ Offset.
  451. X
  452. X Twilight Dip  The number of degrees the sun is below the horizon we wish to
  453. X               call twilight. This sets the value for the following fields.
  454. X Dawn          Local time when the sun center is "Twilight dip" degrees below
  455. X               the horizon before sunrise today.
  456. X Dusk          Local time when the sun center is "Twilight dip" degrees below
  457. X               the horizon after sunset today.
  458. X Night Length  Length of astronomical night, ie, Dawn - Dusk.  If this and the
  459. X           display for Dawn and Dusk are shown as "-----", it means the sun
  460. X           is either always below or always above "Twilight dip" degrees
  461. X           below the horizon on this particular day.
  462. X
  463. X N Steps       The number of times the display will be updated (time advanced
  464. X               by Step Size each step) automatically.
  465. X Step Size     The amount of time UTC (and its derivatives) is incremented
  466. X           each loop. 
  467. X Pause         Number of seconds to pause between screen updates. This is
  468. X           used mainly to set up for free-running unattended operation.
  469. X           Pausing is not done when plotting or searching is on.
  470. X
  471. X Latitude      Location latitude, positive degrees north of equator.
  472. X Longitude     Location longitude, positive degrees west of Greenwich meridian.
  473. X Elevation     Local elevation of the ground above sea level, in feet. (see
  474. X           implementation notes). Used in refraction correction.
  475. X Temperature   Local surface air temperature, in degrees F. Used in refraction
  476. X           correction.
  477. X Atm Pressure  Local surface air pressure, in inches of mercury. Used in
  478. X           refraction correction.
  479. X Epoch         The epoch, to the nearest 0.1 years, to which the ra/dec
  480. X           fields are precessed.  This says (OfDate) when coordinates
  481. X           are not precessed, ie, are in the epoch of date.
  482. X
  483. XThe calendar on the right of the Main menu is based on UTC. Selecting a date
  484. Xbutton will set the date. Unlabeled buttons before the first of the month
  485. Xand after the last of the month work as expected to also imply a change in
  486. Xmonth or year as necessary. The month and year buttons pop up selections
  487. Xthat allow these to be changed as well. In no case does using the calendar
  488. Xchange the current time (just the date).
  489. X
  490. X@Operation
  491. XWhen xephem starts it sets the initial values of several fields from several
  492. XX resource values. See the Help for "Initialization" for details of the
  493. Xformat of these resources. Xephem then draws all fields on the Main screen
  494. Xwith their initial values.  The program then loops advancing time each step,
  495. Xby some amount you may control, and updating all fields each loop.
  496. X
  497. XThere are three fields that control this looping behavior. "N Steps"
  498. Xcontrols the number of steps, "Step Size" the amount of time to add each
  499. Xstep, and "Pause" is the amount of real seconds to pause between steps. When
  500. Xlooping is in effect, the bottom button on the Main menu says "Stop". (Note
  501. Xthat Xephem does not pause between steps when plotting or searching is on.)
  502. XWhen the number of steps goes to 0 or the "Stop" button is selected, the
  503. Xlooping stops and the button is relabeled "Update".
  504. X
  505. XNote that when looping with Pause set to 0, most numeric field data are not
  506. Xdrawn in order to speed up the display. These values are always updated
  507. Xinternally, however. and may safely be used for plotting, searching or
  508. Xlisting. This is true even if the menu that displays the information is
  509. Xclosed.
  510. X
  511. XMost fields may be changed by selecting them. A prompt dialog with a brief
  512. Xexplanation of the field will be presented. A new value may be typed into
  513. Xthe text field provided. If "Ok" is selected the new value will be used; if
  514. X"Cancel" is selected the field will be left unchanged. In either case, the
  515. Xprompt dialog goes away. Some of the dialogs have an extra button as a handy
  516. Xway to enter frequently used values for the field.
  517. X
  518. XWhen you have changed a field that would invalidate any of the other fields
  519. Xthe message NEW CIRCUMSTANCES appears near the top of the Main menu.  This
  520. Xwill remain until at least one screen update loop occurs.  If you change any
  521. Xfield that causes new circumstances, the "Step Size" value is not added to
  522. Xthe current time after the first loop. Note also that after a series of
  523. Xloops, "N Steps" is automatically reset to 1 from 0 so "Update" will do
  524. Xexactly one loop again.
  525. X@Credits
  526. XFirst and foremost, I want to thank my lovely and loving wife, Kathy, for
  527. Xfreely accepting me as I am and for encouraging and supporting my passion for
  528. Xastronomy in general and writing xephem in particular.
  529. X
  530. XMany formulas and tables are based, with permission, on material found in:
  531. X"Astronomy with your Personal Computer" by Dr. Peter Duffett-Smith,
  532. XCambridge University Press, (c) 1985.
  533. X
  534. XConstellation algorithm is from a paper by Nancy G. Roman, "Identification
  535. Xof a constellation from a position", Publications of the Astronomical
  536. XSociety of the Pacific, Vol.  99, p.  695-699, July 1987.
  537. X
  538. XThe high-precision precession routine is from 1989 Astronomical Almanac, as
  539. Xinterpreted by Craig Counterman. Mr. Counterman also deserves the credit for
  540. Xproviding the initial encouragement to write an astronomical tool
  541. Xspecifically for X Windows.
  542. X
  543. XThe Earth map is derived from one of the demos that comes with gnuplot,
  544. XCopyright (C) 1986, 1987, 1990, 1991   Thomas Williams, Colin Kelley.
  545. X
  546. XThe moon bitmap is derived from xphoon, Copyright (C) 1988 by Jef Poskanzer
  547. Xand Craig Leres.
  548. X
  549. XJupiter's moons based on information in "Astronomical Formulae for
  550. XCalculators" by Jean Meeus. Richmond, Va., U.S.A., Willmann-Bell, (c) 1982.
  551. X
  552. XSaturn's moons based on code supplied by Doug McDonald.
  553. X
  554. XMany test cases were gleaned from the pages of Sky and Telescope, (C) Sky
  555. XPublishing Corp.
  556. X
  557. XI thank all the organizations behind the incredible Internet for its
  558. Xmaintenance and free and easy access.
  559. X
  560. XNational Space Science Data Center and the Institute for Theoretical
  561. XAstronomy of the Russian Academy of Sciences for the asteroid database and
  562. Xthe NSSDC and the Smithsonian Astrophysical Observatory for the SAO
  563. Xdatabase.
  564. X
  565. XThe members of the Saguaro Astronomy Club for the preparation and free
  566. Xdistribution of their deep-sky database.
  567. X
  568. XBright stars are from the Yale Bright Star catalog, as edited by Robert Tidd
  569. X(inp@violet.berkeley.edu) and Alan Paeth (awpaeth@watcgl.waterloo.edu). Any
  570. Xerrors in conversion to the ephem.db format are strictly mine.
  571. X
  572. XSpecial thanks to all the folks over the years who have provided innumerable
  573. Xideas, suggestions and bug reports, both for xephem and its ancestor,
  574. Xephem.  A major benefit to writing and distributing these programs has been
  575. Xthe chance to make friends from around the world.
  576. X
  577. X@Initialization
  578. XMost of the fields in the Main xephem menu can be initialized from the X
  579. Xresources for class "XEphem".  Of course, you may still change any field
  580. Xwhile the program is running too; these just set the initial conditions.
  581. X
  582. XBecause of the way unspecified triad components are left unchanged (see
  583. Xhelp on Triad Formats) always specify all three for all such entries. For
  584. Xexample, to initialize the longitude to zero degrees, say 0:0:0, not just 0.
  585. X
  586. X UD        initial UTC date, such as 10/20/1988, or "Now" to use the computer
  587. X           clock.
  588. X UT        initial UTC time, such as 12:0:0, or "Now" to use the computer clock.
  589. X JD        time specified as a Julian Date.
  590. X TZone     hours the local time is behind utc, such as 5:0:0.  You need not
  591. X           set this if you use "Now" for UT or UD.
  592. X TZName    name of the local time zone, such as CDT. 3 chars max.  You need
  593. X           not set this if you use "Now" for UT or UD. This is purely a text
  594. X           label; xephem makes no attempt to compute anything from this label,
  595. X           such as a UTC offset.
  596. X Long      longitude, in degrees west of Greenwich, in the form d:m:s.
  597. X Lat       latitude, in degrees north of the equator, in the form d:m:s.
  598. X Elevation height above sea level, in feet or meters, such as 800. Used to
  599. X       compute parallax of solar system objects.
  600. X Temp      air temperature, in degrees F or C, such as 60.
  601. X Pressure  air pressure, in inches of Mercury or mBar, such as 29.50.
  602. X       Temp and Pressure are used to compute refraction when the AdpHzrn
  603. X       option is active; see the Help for the Data setup table.
  604. X StepSize  the time increment between screen updates, such as "1" to give
  605. X           one hour updates. this can be a specific amount or RTC to use
  606. X           the system clock as a real-time source. You may also specify a
  607. X           time in days by appending a D (or d) after the number or a time
  608. X           in sidereal days by appending an s (or S) after the number.
  609. X NSteps    number of times program will loop automatically.
  610. X           see the discussion under Program Operation.
  611. X Epoch     this sets the desired ra/dec precession epoch. you can put any
  612. X           date here (use decimal form, such as 1992.5) or "EOD" to use the
  613. X       current instant ("Epoch of Date").
  614. X Pause     The number of seconds to pause between calculation steps.
  615. X TwilightDip Number of degrees the sun is below the horizon that you want to
  616. X       define as being the end of "twilight"; must be at least 0.
  617. X@Date/time
  618. XXephem uses many values that get are entered in some variation of X/Y/Z form.
  619. XWe call this a "triad" input format.
  620. X
  621. XTimes are displayed and entered in h:m:s format.  If you pick a time field
  622. Xto change it. Any of the h, m, and s components that are not specified are
  623. Xleft unchanged from their current value.  For example, 0:5:0 set hours to 0,
  624. Xminutes to 5, seconds to 0, whereas :5 sets minutes to 5 but leaves hours
  625. Xand seconds unchanged.  A negative time is indicated by a minus sign (-)
  626. Xanywhere before the first digit.
  627. X
  628. XDates are displayed and entered in any one of month/day/year, year/month/day
  629. Xor day/month/year form. A preference selection on the main menu, and controlled
  630. Xby the XEphem resource DateFormat, selects which form is currently being used.
  631. X
  632. XAs with time, components omitted when entering a new value retain the current
  633. Xvalue.  For example, if the current date is 10/20/1988 and you type 20/30
  634. Xthe new date will become 20/30/1988. If you then type //2000 the new date will
  635. Xbecome 20/30/2000. Note you must type the full year since the program is
  636. Xaccurate over several centuries either side of 1900.
  637. X
  638. XIf you change the date, the time (ie, partial day) will not change.
  639. X
  640. XNegative years indicate BC dates. For example, Jan 1, 1 BC is given as
  641. X1/1/-1.  There is no year 0.
  642. X
  643. XTwo other ways to set the date are supported for compatibility with some
  644. Xpublished comet ephemerides.  You may enter the day portion as a floating
  645. Xpoint number. When you set the day this way, the time will also change to
  646. Xcorrespond to the fractional portion of the day.
  647. X
  648. XYou may also enter a date as a decimal year, as in 1990.12345. Also, when
  649. Xthe date format preference is set to M/D/Y or D/M/Y the decimal point may be
  650. Xomitted if the value is not a reasonable month or date value, respectively.
  651. XDecimal years are useful in interpreting plot files that include a date field,
  652. Xsince date fields are stored in plot files as decimal years. Any input that
  653. Xincludes exactly one decimal point is assumed to be a decimal year.
  654. X
  655. XOther parameters such as longitude, latitude and "Step Size" also fall into
  656. Xthe general triad format. The same rules apply to these with respect to
  657. Xonly having to set the portions that are being changed.
  658. X
  659. XAs a matter of typing convenience, the program accepts most any punctuation
  660. Xcharacter as the separator in a triad; you don't have to type a perfect ":" or
  661. X"/".
  662. X@Notes
  663. X1) The program uses a horizontal plane tangent to the earth Elev feet above
  664. Xsea level as the horizon for all altitude calculations, rise/set events, etc. 
  665. XDue to Earth's curvature, this is not the same as the angle up from the local
  666. Xhorizon unless the observer is directly on the ground. The effect can be found
  667. Xfrom:
  668. X
  669. X     sin(a)**2 = (h**2 + 2Rh) / (R+h)**2
  670. X where:
  671. X     R = radius of earth
  672. X     h = height above ground (same units as R)
  673. X     a = increase in altitude
  674. X
  675. XThe effect can be significant. For example, the effect is more than two arc
  676. Xminutes at a height of 5 feet.
  677. X
  678. X2) The accuracy of xephem can not be specifically stated since the Duffett-
  679. XSmith book does not warrant its planet position polynomials to any given
  680. Xdegree. I know for sure that better accuracy could be achieved if xephem
  681. Xused TDT but I have not yet decided on a suitable algorithm.  Allowing for
  682. Xthis manually, comparisons with the Astronomical Almanac are often within a
  683. Xvery few arcseconds.
  684. X
  685. X3) The sun-moon distance is the solution for the third side of a planar
  686. Xtriangle whose two other sides are the earth-moon distance and earth-sun
  687. Xdistance separated by the angle of elongation.
  688. X
  689. X4) The calendar shows UTC, including dates of new and full moon.
  690. X
  691. X5) The visual magnitudes for the planets take into account the phase of the
  692. Xillumination; the magnitudes for other solar system objects do not.
  693. X
  694. X6) Ideas:
  695. X + add tick marks (third axis?) to plots.
  696. X + write a tool to find g/k from a set of predicted magnitudes.
  697. X + search for occultations with all fixed objects.
  698. X + add explicit searching for solar and lunar eclipses.
  699. X + do more moons.
  700. X + add a shorthand for synodic step sizes.
  701. X + add e/w flip option to all displays.
  702. X + use FileSelectionBox to choose plot, listing, and database files.
  703. X + think of a way to display decimal years in plots as m/d/y.
  704. X + incorporate Terrestrial Dynamical Time (known as Ephemeris Time prior to
  705. X   1984).  TDT is about 57 seconds ahead of UT1 in 1990.
  706. X + account for lunar augmentation.
  707. X + add undo for plot and listing selections.
  708. X + use a progress meter during long operations, not just the watch cursor.
  709. X + let xephem put things in the root window.
  710. X + add lots more stuff to the Earth display, including interactive selection
  711. X   and tracking of lat/long and allow different viewpoints.
  712. X + compute and display libration info in moon view.
  713. X
  714. XBugs:
  715. X - %0*.* in f_sexad() doesn't work on some systems (needs 0 deleted)
  716. X - should jup moon +y be S???
  717. X - the built-in elements for pluto need to be updated. the elements for pluto
  718. X   in the included ephem.db database sampler are more accurate.
  719. X - allow for decimal seconds in format converters.
  720. X@Plot
  721. XThis menu controls the plot generation and display functionality of xephem.
  722. XYou may select most numeric information displayed by xephem, in pairs, to
  723. Xform x/y coordinates of a plot. You may select up to ten such pairs. You
  724. Xthen select a file to contain the plot information. Xephem adds one line of
  725. Xinformation to the file for each x/y pair each time iteration step. Xephem
  726. Xcan also plot any such file on the screen. The file format is compatible
  727. Xwith the character version of xephem, ephem.
  728. X
  729. XSelecting data to plot:
  730. X
  731. XSelect the "Select fields" toggle button to make each field in the other
  732. Xmenus that are eligible for plotting appear as a pushbutton. Select each
  733. Xsuch button as desired to form the x or y component of a plot. As you make
  734. Xthe selections, they are listed in the menu. You may also associate a
  735. Xone-character tag with each line. These tags will be included in the plot
  736. Xdisplay for identification later. Once all the field choices have been made
  737. Xyou may return all the menus to their normal operational appearance by
  738. Xreselecting the same toggle button.
  739. X
  740. XSpecifying the plot file name:
  741. X
  742. XType the name of the file to be used to contain the plot information in the
  743. Xtext field provided. When xephem first needs to write to the file, it will
  744. Xfirst check for the existence of the file and, if it already exists, ask
  745. Xwhether you wish to append to the file or overwrite it.
  746. X
  747. XThe default plot file name may be specified as the value of the resource
  748. Xnamed "XEphem*Plot*Filename.value". If this resource is not specified then
  749. Xthe file name will be "ephem.plt".
  750. X
  751. XSpecifying a plot file title:
  752. X
  753. XEnter a short title for the plot information in the text are provided.  When
  754. Xxephem first writes to a plot file, it will place the contents of the title
  755. Xtext area, if it is not empty, into the file as a comment. All lines within
  756. Xa plot file that do not begin with an alphanumeric character are considered
  757. Xcomments and are ignored. If the first line of a file is a comment, xephem
  758. Xwill use it as the title for the plot when it displays the plot.
  759. X
  760. XGenerating the plot entires:
  761. X
  762. XOnce the fields have been specified and the plot file named and titled, you
  763. Xmay select the "Plot to file" toggle button when ready. Now each time xephem
  764. Xgoes through one iteration the values you have selected and their tags will
  765. Xbe written to the plot file. Note that when plotting is activated, xephem
  766. Xdoes not update the screen until the "N Steps" count goes to 1. This greatly
  767. Xspeeds the creation of plot files by avoiding screen updates. If you wish to
  768. Xwatch each iteration, set "N Steps" to 1 and select the "Update" button
  769. Xmanually for each iteration. Once all the desired data has been entered into
  770. Xthe plot file, toggle the plot button back off to flush all data and close
  771. Xthe file.
  772. X
  773. XThe menus that contain each of the fields used in the plot need not be
  774. Xvisible while the plot is being generated.
  775. X
  776. XViewing plot files:
  777. X
  778. XExisting plot files may be viewed by entering their name into the text field
  779. Xprovided and selecting the "Show plot file" pushbutton. As many different
  780. Xplot files may be viewed simultaneously as desired. Each plot has separate
  781. Xcontrols for flipping the X and Y axes and for turning on and off a
  782. Xreference coordinate grid.
  783. X
  784. XThe xephem distribution kit includes a sample plot file of the analemma.
  785. X@Listing
  786. XThis menu controls the list generation functionality of xephem.  The fields
  787. Xyou select define columns of a table written to a file as xephem runs.
  788. XThese columns look exactly like their corresponding fields on the xephem
  789. Xmenus and so are more familiar and readable than the entries in plot files.
  790. XThey are designed to be used in further text processing operations or
  791. Xprinted as-is. Two spaces are placed between each column.
  792. X
  793. XSelecting data to list:
  794. X
  795. XSelect the "Select fields" toggle button to make each field in the other
  796. Xmenus that are eligible for listing appear as a pushbutton. Select each such
  797. Xbutton as desired to form each column of the listing. As you make the
  798. Xselections, they are listed in the menu. Once all the column choices have
  799. Xbeen made you may return all the menus to their normal operational
  800. Xappearance by reselecting the same toggle button.
  801. X
  802. XSpecifying the listing file:
  803. X
  804. XType the name of the file to be used to contain the listing in the text
  805. Xfield provided. When xephem first needs to write to the file, it will first
  806. Xcheck for the existence of the file and, if it exists, ask whether you wish
  807. Xto append to the file or overwrite it.
  808. X
  809. XThe default listing file name may be specified as the value of the resource
  810. Xnamed "XEphem*List*Filename.value". If this resource is not specified then
  811. Xthe file name will be "ephem.lst".
  812. X
  813. XSpecifying a listing file title:
  814. X
  815. XAll lines within a listing file that do not begin with an alphanumeric
  816. Xcharacter are considered comments and are ignored.  When xephem first writes
  817. Xto a listing file, it will place the contents of the title text area, if it
  818. Xis not empty, into the file as a comment for your convenience.
  819. X
  820. XGenerating the listing entires:
  821. X
  822. XOnce the fields have been specified and the listing file named and titled,
  823. Xif desired, select the "List to file" toggle button. Now each time xephem
  824. Xgoes through one iteration the values you have selected will be written to
  825. Xthe file. Note that when listing is activated, xephem does not update the
  826. Xscreen until the "N Steps" count goes to 1. This greatly speeds the creation
  827. Xof listing files by avoiding screen updates. If you wish to watch each
  828. Xiteration, set "N Steps" to 1 and select the "Update" button manually for
  829. Xeach iteration. Once all the desired data have been entered into the listing
  830. Xfile, toggle the list button back off to flush all data and close the file.
  831. X
  832. XMenus that contain each of the fields used in the listing need not be
  833. Xvisible for the fields to be listable.
  834. X@Search
  835. XThis menu controls the automatic searching facility. You define an arithmetic
  836. Xor boolean function, using most of the fields xephem displays, then xephem
  837. Xwill automatically evaluate the function and adjust the time on each
  838. Xiteration to search for the goal.
  839. X
  840. XTo perform a search:
  841. X   enter a function,
  842. X   compile it,
  843. X   select a goal,
  844. X   set the desired accuracy,
  845. X   enable searching,
  846. X   start the search process.
  847. X
  848. XEach of these steps is described below.
  849. X
  850. XEntering the function:
  851. X
  852. XThe function may be any arithmetic expression, in C-language syntax.  All of
  853. XC's comparison, logical and arithmetic operators are supported as well as
  854. Xseveral common arithmetic functions. Here is the complete list:
  855. X
  856. X  + - * / && || > >= == != < <=
  857. X  abs sin cos tan asin acos atan degrad raddeg pi log log10 exp sqrt pow atan2
  858. X
  859. XThe function is entered into the text line provided. It may utilize most of
  860. Xthe fields from the other xephem menus. Press the "Enable field buttons"
  861. Xbutton to make each available field a button. Where ever a field is desired
  862. Xin the function, position the text insertion cursor at the desired position
  863. Xand select the field; its name will be inserted into the function text. When
  864. Xyou are finished defining the function, turn off the field button appearance
  865. Xby selecting the "Enable..." button again.  Once you get to know the names
  866. Xof the fields you may also enter them manually, if you prefer.
  867. X
  868. XCompiling the function:
  869. X
  870. XOnce the function has been entered as desired, it must be compiled by
  871. Xselecting the "Compile" button (or by pressing the Return or Enter key on
  872. Xyour keyboard).  If there are any errors, a diagnostic message will appear
  873. Xjust below the function. Whenever a search function has been successfully
  874. Xcompiled, the message will read <no compile errors>. Each time a function
  875. Xis successfully compiled, xephem updates all fields and evaluates the
  876. Xfunction. As explained below, this can be used as a sort of "astronomical
  877. Xcalculator" even when not actually searching.
  878. X
  879. XSelecting a search goal:
  880. X
  881. XYou may choose from any of three evaluation algorithms, as selected by the
  882. Xtrio of radio buttons. "Find extreme" will search for a maxima or minima of
  883. Xthe function. "Find 0" will search for a time when the function evaluates to
  884. Xzero.  "Binary" will keep incrementing time by "Step Size" (in the main
  885. Xmenu) until the state of the function changes, then do a binary search to
  886. Xfind the exact time when the function changes state. Binary search
  887. Xinterprets a function that evaluates to zero to be in one state and all
  888. Xother values to be the opposite state. Generally, binary functions are
  889. Xcomprised of logical operators at their outermost expression levels.
  890. X
  891. XSpecifying the desired accuracy:
  892. X
  893. XSearching will automatically stop when the time changes by less than the the
  894. Xaccuracy value. Note that this method of detecting convergence is not based
  895. Xon the value of the search function itself. To change the desired accuracy
  896. Xpress the pushbutton showing the current accuracy next to the "Accuracy"
  897. Xlabel and enter a new value in the dialog.
  898. X
  899. XPerforming the search:
  900. X
  901. XOnce the function is defined and it compiles without errors, you may enable
  902. Xsearching by selecting the button at the top labeled "Searching is Active".
  903. XThen, each time "Update" is selected on the main menu the search proceeds until
  904. Xeither "N Steps" iterations have occurred or until "Step Size" becomes less
  905. Xthan Accuracy. The initial search time and step size are set from the main
  906. Xmenu, and are adjusted automatically as the search proceeds. Note that by
  907. Xsetting "N Steps" to 1 and repeatedly selecting Update you can effectively
  908. Xsingle-step the search process. Search control will automatically turn off when
  909. Xconvergence is detected, the function is edited or you may turn it off manually
  910. Xat any time by toggling the button labeled "Search is Active" back off.
  911. X
  912. XAdditional notes on searching:
  913. X
  914. XWhen selecting fields for plotting or listing a button appears labeled "Use
  915. Xfor plotting". You may select this button to use the evaluated search
  916. Xfunction as an item in the plot or listing feature. Note that the search
  917. Xfunction may be used in plotting and listing whether or not searching is
  918. Xenabled.
  919. X
  920. XThe menus that contain each of the fields used in the search function need
  921. Xnot be visible for the fields to used for searching.
  922. X
  923. XThe "Close" button removes the search control menu from the screen; it does
  924. Xnot effect actual search operation in any way.
  925. X
  926. XA successfully compiled search function is evaluated each time xephem updates.
  927. XWhenever a search function is compiled it is also evaluated using freshly
  928. Xupdated values. In this way, the Search menu can actually be used as an
  929. Xarbitrary "astronomical calculator" at any time. In each of these cases you
  930. Xneed not be actually `searching' to use these feature.
  931. X
  932. XHint:
  933. X
  934. XSearching periodic functions can lead to solutions far from the intended
  935. Xrange. You will get best results if you can start the search near the
  936. Xexpected answer and with a small step size that bounds the solution. You can
  937. Xuse the plotting feature to study a function and get an idea of the
  938. Xsolution, then use the automatic searching feature to zero in.
  939. X@Data Table
  940. XThis is a table of information about each planet, Sol, Luna, and any two
  941. Xuser defined objects, ObjX and ObjY. Each data item occupies one column in
  942. Xthe table and each object occupies one row.
  943. X
  944. XSelect the "Setup" button to configure the table rows and columns as
  945. Xdesired.  The initial configuration can be set from the X resources
  946. XDataSelRows and DataSelMiscCols. See the sample XEphem.ad resource file for
  947. Xexamples.
  948. X
  949. XWhen any columns related to rising or setting are active boxes at the bottom
  950. Xwill indicate whether the Standard or Adaptive refraction model is in
  951. Xeffect and whether the times refer to the center or the upper limb of the
  952. Xobject. Similarly, when any of the separation columns are active a box will
  953. Xbe present to indicate whether the separation is from a geocentric or
  954. Xtopocentric point of view. See the help for the "Setup" menu for more
  955. Xinformation about these modes.
  956. X
  957. XVarious odd ball rising, transit and setting conditions are accounted for
  958. Xand marked as follows when they occur:
  959. X
  960. X NoRise      up some time but never rises, as such, today.
  961. X NoSet      up some time but never sets, as such, today.
  962. X NoTran      up some time but doesn't transit, as such, today.
  963. X CirPol      object is circumpolar (never goes below horizon) today.
  964. X NvrUp      object is never up today.
  965. X XX:XX+      "+" appended to rise, transit or set times means the event occurs
  966. X              twice today; the time given is the time of the first event.
  967. X      "+" appended to "Hours Up" means it is still up at midnight.
  968. X
  969. XAny of the information in this table may be plotted, listed or used in a
  970. Xsearch algorithm. See the help for these control functions for more details.
  971. X
  972. XSee the help for the "Setup" menu for a description of each field.
  973. X@DataSelection Table
  974. XThis menu lets you configure which rows and columns will be in the Data
  975. XTable.  When this menu first comes up it will be set to indicate the state
  976. Xof the Data Table. You may then manipulate the toggle buttons as desired. To
  977. Xactually change the Data Table to a new configuration select the "Apply"
  978. Xbutton.  "Ok" does the same thing but also closes this menu. "Close" just
  979. Xcloses this menu without making any permanent changes. In addition to
  980. Xmanipulating each item individually, each columns includes handy shortcut
  981. Xcontrols at the top to make changes to column as a whole.
  982. X
  983. XThe first column of this menu selects which rows will be present in the Data
  984. XTable. The planets and the sun and moon are always in this column. If user
  985. Xdefined objects ObjX or ObjY are defined then they will also be present and
  986. Xcontrollable from this column. See the help for the "ObjX/Y" menu for more
  987. Xinformation about user defined objects.
  988. X
  989. XEntries in the remaining three columns in this menu control which columns
  990. Xwill be present in the Data Table. They are grouped into three categories
  991. Xfor convenience.
  992. X
  993. XColumn two controls miscellaneous basic information. The descriptions of
  994. Xeach entry are as follows:
  995. X
  996. X Cns           name of the constellation in which the object appears.
  997. X R_A           apparent geocentric right ascension of object, precessed to
  998. X           given epoch, in hours, minutes and decimal minutes.
  999. X Dec           apparent geocentric declination of object, precessed to
  1000. X           given epoch, in degrees and minutes.
  1001. X Az            degrees eastward of true north for object.
  1002. X Alt           degrees up from a horizontal plane that is Elevation feet above
  1003. X               sea level.
  1004. X HeLong        true heliocentric longitude, in degrees.  Earth's is displayed
  1005. X               on the sun's line.  For the moon this is the geocentric
  1006. X           longitude.
  1007. X HeLat         true heliocentric latitude, in degrees.  For the moon this is
  1008. X               the geocentric latitude.
  1009. X EaDst         true distance from Earth center to object center, in AU, except
  1010. X               distance to the moon is in miles or km depending on the Units
  1011. X           preference.
  1012. X SnDst         true distance from sun center to object center, in AU.
  1013. X Elong         spherical angular separation between sun and given object,
  1014. X           calculated from the their geocentric ecliptic coordinates.
  1015. X           Note this is not just the difference in ecliptic longitude.
  1016. X           The sign, however, is simply sign(obj's longitude - sun's
  1017. X           longitude), ie, degrees east.  thus, a positive elongation
  1018. X           means the object rises after the sun.  This field is not
  1019. X           generally useful in searching for conjunctions because of
  1020. X           the discontinuous sign change that occurs at conjunction.
  1021. X Size          angular size of object, in arc seconds.
  1022. X VMag          visual magnitude of object.
  1023. X Phase         percent of visible surface in sunlight. Note the moon phase
  1024. X           is calculated simplistically as just abs(elongation)/180*100
  1025. X           which can be a few degrees off... this means that because of
  1026. X           how elongation is defined it doesn't say 0 during new moon
  1027. X           (or 100 during full) except during close eclipses (maybe
  1028. X           that's a "feature"?).
  1029. X
  1030. XColumn three controls information related to rising, transiting, and
  1031. Xsetting.  These may be computed according to two options.
  1032. X
  1033. X"StdRefr", which stands for "standard refraction", computes rising and setting
  1034. Xbased on the standard horizon refraction of 32 arc minutes. This agrees well
  1035. Xwill standard publications. "AdpRefr", which stands for "adaptive refraction",
  1036. Xcomputes rising and setting based on a refraction model that used the actual
  1037. Xatmospheric and topocentric circumstances displayed on the Main menu. This
  1038. Xgenerally leads to accuracies well within one minute if all conditions are
  1039. Xcarefully entered.
  1040. X
  1041. X"Limb" means that the rise and set circumstances are based on the location
  1042. Xof the upper limb of the object. "Center" means that the circumstances are
  1043. Xbased on the location of the center of the object. (In fact, these allowances
  1044. Xare only taken into account for the Sun and moon.)
  1045. X
  1046. XFollows is a description of the Data Table columns controlled by the third
  1047. XData Selection column:
  1048. X
  1049. X RiseTm
  1050. X RiseAz   The local time and azimuth when the upper limb (or center) of the
  1051. X          object rises today.
  1052. X TrnTm
  1053. X TrnAlt   The local time and altitude when the object crosses the meridian
  1054. X          today, ie, when its azimuth is true south or, if no precession, when
  1055. X      the local sidereal time equals the object's right ascension.
  1056. X SetTm
  1057. X SetAz    The local time and azimuth when the upper limb (or center) of the
  1058. X          object sets today.
  1059. X HrsUp    The number of hours the object is up today, that is, the difference
  1060. X      between the set and rise times.
  1061. X
  1062. XNote that these times are for the current local day. See the description of
  1063. X"odd ball" circumstances that this definition can produce and how xephem
  1064. Xreports them.
  1065. X
  1066. XThe last column in the Data Table setup menu controls for which objects
  1067. Xangular separation is computed.  Each entry in the Data Table will be the
  1068. Xangular separations between each pair of objects, in degrees.
  1069. X
  1070. XThe vantage point for the Separation values may be chosen. "Geocentric"
  1071. Xignores local conditions and gives the separation as seen from Earth
  1072. Xcenter.  "Topocentric" uses the local conditions known to xephem.  The
  1073. Xchoice is particularly critical for lunar occultations, but the effect can
  1074. Xbe significant for the planets. Geocentric separations between objects and
  1075. Xthe sun will match the magnitude of the elongation given in the Data menu.
  1076. X
  1077. XWhen ObjX or ObjY are defined, these will appear in the last column and
  1078. Xseparations between them and the other objects (in column 1) may be selected
  1079. Xfor display.
  1080. X
  1081. XNote:
  1082. X
  1083. XSearching over a period that will include the rise or set times of either
  1084. Xobject is generally better performed from the geocentric viewpoint.  The
  1085. Xrefraction effect of the topocentric viewpoint causes many arcminutes of
  1086. Xrapid whiplash displacement as the objects rise and set that overlays the
  1087. Xsmooth celestial motion of the objects.  This rapid position variation can
  1088. Xconfuse the solver algorithms that expect fairly smooth functions.
  1089. X@Mars
  1090. XThis menu displays the central meridian longitude of Mars, that is, the
  1091. XMartian meridian currently facing towards Earth.  This value may be selected
  1092. Xfor plotting, listing and searching as described in the help for these
  1093. Xfunctions.
  1094. X
  1095. XAlso included in this menu is a simple schematic display of the Martian
  1096. Xsurface at the current time. I would like to find a map with a bit more
  1097. Xdetail.
  1098. X
  1099. X@Earth
  1100. XThis menu displays a simple map of the Earth oriented so that the subsolar
  1101. Xpoint is centered. The subsolar point is the location on the Earth from which
  1102. Xthe sun appears to be directly overhead. Another way to interpret the display
  1103. Xis to think of it as displaying exactly that portion of the Earth currently in
  1104. Xsunlight. The subsolar point is marked with a cross.
  1105. X
  1106. XThe latitude and longitude of the current subsolar point are displayed and may
  1107. Xbe selected for plotting, listing or searching as described in the help for
  1108. Xthose functions.
  1109. X
  1110. XIt is interesting to set the step size to a few integral number of days and
  1111. Xwatch the change in latitude. Plotting latitude vs. longitude over the
  1112. Xcourse of a year is equivalent to plotting the analemma.
  1113. X
  1114. XRemember that the numeric information is not updated while looping with Pause
  1115. Xset to 0.
  1116. X@Sky View
  1117. XThis menu displays each object currently loaded in the xephem database with
  1118. Xseveral display options, subject to filtering by type and magnitude range.  The
  1119. Xcentral display is intended to be similar to a telescopic view.  Descriptions
  1120. Xof each function are keyed to the schematic depiction below:
  1121. X
  1122. X            _____________________________________________
  1123. X            |Alt-Az  |   | [Alt]               [Az] |   |
  1124. X            |RA-Dec  | F |                          | A |
  1125. X            |--------| O |                          | l |
  1126. X            |Grid    | V |                          | t |
  1127. X            |--------|   |                          |   |
  1128. X            |F Mag   |   |                          | / |
  1129. X            |B Mag   |   |           Sky            |   |
  1130. X            |--------|   |                          | D |
  1131. X            |Dots    |   |                          | e |
  1132. X            |Ecliptic|   |                          | c |
  1133. X            |Labels  |   |                          |   |
  1134. X            |--------|   |                          |   |
  1135. X            |Locate  |   |                          |   |
  1136. X            |--------|   | [RA]               [Dec] |   |
  1137. X            |        |___|__________________________|___|
  1138. X            |        |             Az / RA              |
  1139. X            |        |__________________________________|
  1140. X            |        |         Date/Time stamp          |
  1141. X            |________|__________________________________|
  1142. X            |   Filter          Close            Help   |
  1143. X            |___________________________________________|
  1144. X
  1145. XAlt-Az / RA-Dec
  1146. X    The radio box in the upper left corner selects whether the display
  1147. X    coordinate system is Altitude-Azimuth or Right Ascension-Declination.
  1148. X    Whenever the Alt-Az system is used, nothing is displayed that would lie
  1149. X    below the current horizon (except trails; see note under Sky).
  1150. X
  1151. X    The orientation of the display circle is always without reflections. In
  1152. X    Alt-Az mode, left, right, up and down as are they would appear to the
  1153. X    otherwise unaided eye. In RA-Dec mode, up is always celestial north, left
  1154. X    is always celestial East. The meridian named by the horizontal slider is
  1155. X    always the line between the center of the field-of-view and the nearest
  1156. X    pole.
  1157. X
  1158. XGrid
  1159. X    The toggle button labeled "Grid" controls whether a calibration grid will
  1160. X    overlay the display. When the grid is displayed, its graduation is displayed
  1161. X    below the toggle button.
  1162. X
  1163. XF Mag / B Mag
  1164. X    The two sliders on the left set the brightness range being displayed. Only
  1165. X    objects that are currently within the selected range will be shown on the
  1166. X    display. Note that sliding either scale beyond its opposite is not permitted
  1167. X    but it is permitted to do this by selecting in the slider trough should you
  1168. X    really want to do this (to turn off all objects).
  1169. X
  1170. X    Note this does not effect trails.
  1171. X
  1172. XDots
  1173. X    The toggle on the left labeled "Just Dots" selects how objects are drawn.
  1174. X
  1175. X    When the toggle is pushed in, objects of all types are displayed simply as
  1176. X    dots.  The diameter of the dots equals the difference between its magnitude
  1177. X    and the faintest magnitude. In this way the size of the dots can be changed
  1178. X    as desired.
  1179. X
  1180. X    When the toggle is released, each type of object is displayed with a unique
  1181. X    schematic symbol. These symbols may be viewed from the Filter menu. In this
  1182. X    case too the size is proportional to magnitude above the faintest limit.
  1183. X
  1184. X    In either form, the color of the object is displayed according to the value
  1185. X    established for each basic type in the X resource database.  See the sample
  1186. X    XEphem.ad resource file for examples of setting object colors.
  1187. X
  1188. XEcliptic
  1189. X    The toggle on the left labeled "Ecliptic" selects whether a dotted line is
  1190. X    drawn along the ecliptic. The ecliptic is the plane of the Earth's orbit
  1191. X    or, as seen from Earth, the path of the Sun and the approximate path
  1192. X    of the planets across the sky.
  1193. X
  1194. XLabels
  1195. X    The toggle on the left labeled "All labels" controls whether the labels
  1196. X    for all objects are forced on. This does not effect which objects have
  1197. X    their individual "Persistent label" options on.
  1198. X
  1199. XLocate
  1200. X    The button labeled "Locate..." will pop up a list of the basic objects and
  1201. X    the defined user defined objects, if any. Selecting any of these entries
  1202. X    will place a cross-hair over the object. If the object is not within the
  1203. X    field of view the object will first be centered, unless Alt-Az mode is 
  1204. X    currently active and the object is below the horizon. To locate other
  1205. X    objects use the ObjX/Y menu.
  1206. X
  1207. XFOV
  1208. X    The left vertically-oriented slider controls the field-of-view of the
  1209. X    display circle. This can be varied from 1 to 180 degrees.
  1210. X
  1211. X[Alt] [Az] [RA] [Dec]
  1212. X   The coordinates of the cursor are tracked and displayed across the bottom
  1213. X   and top of the circular display area as long as it is within the circle and
  1214. X   the left mouse button is depressed.
  1215. X
  1216. X   NOTE: The values displayed during tracking for the coordinate system
  1217. X   opposite to the one currently in effect may not agree exactly with
  1218. X   the values displayed elsewhere by xephem, particularly for close solar
  1219. X   system objects. To understand why recall that in all these other displays
  1220. X   xephem computes geocentric RA/Dec and topocentric Alt/Az. Recall further
  1221. X   that parallax contributes significantly to the difference between these
  1222. X   points of view and parallax depends on the distance to each particular
  1223. X   object. Thus, there is no single transformation between these coordinate
  1224. X   systems that is correct for all objects. During tracking, the transformation
  1225. X   to the coordinate system opposite to the one in current use by the Sky View
  1226. X   display is computed without regard to parallax; this is strictly correct
  1227. X   only for objects very far away. This has the useful result that while in
  1228. X   RA/Dec coordinate mode the tracking values for Alt/Az may be thought of as
  1229. X   being geocentric; and while in Alt/Az mode, RA/Dec will be topocentric.
  1230. X   
  1231. XSky
  1232. X    The center circular area is the sky display of objects. Follows is a
  1233. X    description of the operations that may be performed in this area using the
  1234. X    pointer.
  1235. X
  1236. X    If the pointer is placed near a visible object and the third button is
  1237. X    pushed, a popup will appear. This will present several basic data for the
  1238. X    object. This data is exactly the same as that which is available in the
  1239. X    Data Table menu; see it's Help for more information. If a trailed object is
  1240. X    selected, the data will be as it was at the time the position was created.
  1241. X    In addition, the popup offers several control operations, as follows:
  1242. X
  1243. X    Selecting "Point" from the popup will center the object in the field of
  1244. X    view (as well as can be done with the accuracy of the pointing scales
  1245. X    anyway).
  1246. X
  1247. X    Selecting "Make ObjX/Y" will assign the given object to become ObjX
  1248. X    or ObjY, depending on which one is currently being displayed in the
  1249. X    ObjX/Y menu. See the help for the ObjX/Y menu for more information on
  1250. X    that menu.
  1251. X
  1252. X    Selecting "Leave Trail" will start to accumulate all positions of the
  1253. X    given object as time is advanced. Each new location will be connected
  1254. X    with a line to its previous location. The trails remain correct if the
  1255. X    display coordinate system is changed. Trails may be turned on or off
  1256. X    without loss of trail information. However, trailing information is
  1257. X    discarded if trailing is turned off when a new time step is performed.
  1258. X    If any point in a trail is selected the information displayed is as per
  1259. X    the object at that time. The fastest way to accumulate trailing
  1260. X    information is to turn trailing on and pop the menu down while running.
  1261. X
  1262. X    Note that in Alt-Az mode, if an object goes below the horizon the line
  1263. X    segments of the trail are displayed but not the actual points.
  1264. X
  1265. X    Selecting "Persistent Label" will place the name of the object near it
  1266. X    on the display. This will remain until the label is turned off. Note
  1267. X    this option is maintained separately for trailed objects and for
  1268. X    the untrailed objects; that is, you have independent control over
  1269. X    labeling for a trailed object and its currently displayed object
  1270. X    since the latter also always appears in the trailed list.
  1271. X
  1272. X    The coordinates of the cursor are displayed in the corners of the circular
  1273. X    sky area as long as the cursor is within the central circle and the left
  1274. X    mouse button is depressed.
  1275. X
  1276. XAlt / Dec
  1277. X    The right vertically-oriented slider controls one of two axes that
  1278. X    defines the direction in which the display points. In Alt-Az mode this
  1279. X    controls altitude and can be varied from 0 to 90 degrees. In RA-Dec mode
  1280. X    this controls Declination and can be varied from -90 to +90.
  1281. X
  1282. XAz / RA
  1283. X    The bottom horizontally-oriented slider controls one of two axes that 
  1284. X    defines the direction in which the display points. In Alt-Az mode this
  1285. X    controls azimuth and can be varied from 0 to 359 degrees.  Azimuth 0 is
  1286. X    north and increases eastward. In RA-Dec mode this controls Right Ascension
  1287. X    and can be varied from 0 to 23.9 hours.
  1288. X
  1289. XDate/Time Stamp
  1290. X    This displays the date and time for which the display is valid.
  1291. X
  1292. XFilter
  1293. X    The Filter button along the bottom brings up a menu that controls
  1294. X    whether classes of objects are displayed. Using the Filter menu, one may
  1295. X    select which classes of objects are desired. Selecting "Apply" updates
  1296. X    the sky display according to the desired selection. Selecting "Ok" does
  1297. X    the same thing but also closes the filter menu.
  1298. X
  1299. X    For reference, the Filter menu also contains the schematic symbol for each
  1300. X    type of object, and its code when used in a database file.
  1301. X@Solar System View
  1302. XThis is a graphical representation of the solar system. The Sun is always at
  1303. Xthe center of the screen, marked as a plus (+).
  1304. X
  1305. XThe three sliders at the edges control the position of the observer. The
  1306. Xvertical slider on the left controls the distance from the sun -- you are
  1307. Xcloser as the slider is slid further up. The horizontal slider under the
  1308. Xview controls the heliocentric longitude -- think of it as a rotation about
  1309. Xthe central axis. The vertical slider on the right controls the heliocentric
  1310. Xlatitude -- your angle above the ecliptic plane.
  1311. X
  1312. XAny feature may be identified by pointing near it and clicking the right
  1313. Xmouse button. This will bring down a temporary popup menu with additional
  1314. Xinformation until the button is released. The RA/Dec given for the Earth is
  1315. Xthat of the sun.  All RA/Dec info displayed is for the epoch as it was set
  1316. Xon the Main menu when the dot was computed.
  1317. X
  1318. XThe "Leave trails" option can be used to retain old dots. By turning on the
  1319. X"Connect dots" option, these dots are connected by line segments. The
  1320. Xfastest way to accumulate lengthy trail operation is to turn on trailing
  1321. Xand run with the menu popped down.
  1322. X
  1323. XThe planets may be individually turned on and off, without loss of any
  1324. Xdisplay data associated with them, by using the toggle panel near the
  1325. Xbottom. If ObjX or ObjY are defined and are solar system objects then they
  1326. Xwill appear on the display and in the list.
  1327. X
  1328. XThe bottom button marked "Stereo" is used to bring up another image of the
  1329. Xsolar system from a slightly displaced vantage point. Adjusting your gaze to
  1330. Xfuse the two images together will reveal a 3D image. This effect is most
  1331. Xpronounced if trails have been turned for a significant portion of the
  1332. Xorbits of the objects of interest. This effect was designed primarily to
  1333. Xhelp visual the orbits of comets.
  1334. X
  1335. XAt the bottom of the stereo display is a slider to control the location of
  1336. Xthe second vantage point. When the slider is in the center both views are
  1337. Xidentical.  Moving the slider to the left will display the scene as though
  1338. Xthe viewer has moved such as to move the objects to the left. Objects closer
  1339. Xto the viewer move more. Moving the slider to the right does the same but in
  1340. Xthe opposite direction. In this way, you may adjust the stereo effect to be
  1341. Xmost comfortable to you, and with or without requiring crossed eyes.
  1342. X
  1343. XClosing the main Solar System menu will close both it and the Stereo menu,
  1344. XIf the Solar System menu is closed while the Stereo menu is on, it will
  1345. Xreappear when the Solar System menu is reactivated.  if it is up.
  1346. X@DataBase menu
  1347. XThis menu allows you to inspect and modify the collection of objects that
  1348. Xare currently in memory. These objects form what is referred to as the
  1349. Xxephem database.
  1350. X
  1351. XThe top portion of the menu displays a count of each major type of object in
  1352. Xthe database.
  1353. X
  1354. XXephem supports files that contain descriptions of objects. These files may
  1355. Xbe read into memory either adding to the current database or replacing it.
  1356. XEnter the name of the desired xephem database file in the text area provided
  1357. Xthen select either "Append" or "Replace", respectively.
  1358. X
  1359. XThe default database filename may be specified by setting the X resource
  1360. Xnamed "XEphem*DBPromptD.textString". The internal default name is
  1361. X"ephem.db".  The xephem distribution kit includes a sample ephem.db that
  1362. Xcontains more than 15,000 objects of all types.
  1363. X
  1364. XAlso available from the author is the entire Smithsonian Astrophysical
  1365. XObservatory star list. These have been sorted into ten sky regions. There is
  1366. Xone file per region. The entire set is some 11MB.
  1367. X
  1368. XFollows is a description of the format of these database files. This format
  1369. Xremains compatible with the "ephem" dumb-terminal version of xephem for
  1370. Xthose interested.
  1371. X
  1372. XNote that the "Filter" menu accessible from the "Sky View" menu also includes
  1373. Xa list of the type codes for each object, for easy reference.
  1374. X
  1375. X Each object occupies one line. Fields are separated with commas. Some fields
  1376. X are further subdivided into subfields with vertical bars (|). Lines
  1377. X beginning with anything other than a-z, A-Z or 0-9 are ignored and may be
  1378. X used for comets. Objects may be in any order.
  1379. X
  1380. X Where they appear, all date fields may be in either of two forms:
  1381. X
  1382. X   1) month/day/year, where day may contain a trailing decimal portion.
  1383. X     examples: 1/1/1993 and 1/1.234/1993
  1384. X     NOTE: this is always the format of dates in database files, regardless of
  1385. X     the current xephem run-time Data format preference setting.
  1386. X
  1387. X   2) a real-number, such as 1993.123.
  1388. X
  1389. X The first two fields are always Name and Type. Remaining fields depend on the
  1390. X form of the object's motion.
  1391. X
  1392. X The Name field is the object's name.
  1393. X
  1394. X The Type field always starts with a single letter designating the form of
  1395. X the object's motion:
  1396. X   f: fixed (no proper motion)
  1397. X   e: heliocentric elliptical orbit
  1398. X   h: heliocentric hyperbolic orbit
  1399. X   p: heliocentric parabolic orbit
  1400. X
  1401. X   if "Type" is fixed, an object class code may follow in the next subfield:
  1402. X       C: Cluster, globular
  1403. X       U: Cluster, with nebulosity
  1404. X       O: Cluster, open
  1405. X       G: Galaxy, spiral
  1406. X       H: Galaxy, spherical
  1407. X       A: Cluster of galaxies
  1408. X       N: Nebula, bright
  1409. X       F: Nebula, diffuse
  1410. X       K: Nebula, dark
  1411. X       P: Nebula, planetary
  1412. X       Q: Quasar
  1413. X       T: stellar object
  1414. X       B: Star, binary
  1415. X       D: Star, double
  1416. X       M: Star, multiple
  1417. X       S: Star
  1418. X       V: Star, variable
  1419. X
  1420. X   if class is one of T, B, D, S or V, the spectral class and possibly the
  1421. X   numerical subclass designation may follow in the next subfield:
  1422. X       O, B, A, F, G, K, M, N, C, S
  1423. X
  1424. X For other object types, the remaining fields are defined as follows:
  1425. X
  1426. X elliptical format (e < 1):
  1427. X    i = inclination, degrees
  1428. X    O = longitude of ascending node, degrees
  1429. X    o = argument of perihelion, degrees
  1430. X    a = mean distance (aka semi-major axis), AU
  1431. X    n = mean daily motion, degrees per day (computed from a**3/2 if omitted)
  1432. X    e = eccentricity,
  1433. X    M = mean anomaly (ie, degrees from perihelion),
  1434. X    E = epoch date (ie, time of M),
  1435. X    D = the equinox year (ie, time of i/O/o).
  1436. X    g/k or H/G = magnitude model; select which by preceding the first field
  1437. X        with either a "g" or an "H"; H/G is the default if neither is given.
  1438. X    s = angular size at 1 AU, arc seconds, optional
  1439. X
  1440. X hyperbolic format (e > 1):
  1441. X    T = epoch of perihelion
  1442. X    i = inclination, degrees
  1443. X    O = longitude of ascending node, degrees
  1444. X    o = argument of perihelion, degrees
  1445. X    e = eccentricity,
  1446. X    q = perihelion distance, AU
  1447. X    D = the equinox year (ie, time of i/O/o).
  1448. X    g/k = magnitude model
  1449. X    s = angular size at 1 AU, arc seconds, optional
  1450. X
  1451. X parabolic format (e == 1):
  1452. X    T = epoch of perihelion
  1453. X    i = inclination, degrees
  1454. X    o = argument of perihelion, degrees
  1455. X    q = perihelion distance, AU
  1456. X    O = longitude of ascending node, degrees
  1457. X    D = the equinox year (ie, time of i/O/o).
  1458. X    g/k = magnitude model
  1459. X    s = angular size at 1 AU, arc seconds, optional
  1460. X
  1461. X fixed format:
  1462. X    RA, hours
  1463. X    Declination, degrees
  1464. X    magnitude
  1465. X    reference epoch
  1466. X    s = angular size, arc minutes, optional
  1467. X@Object
  1468. XXephem supports two user-defined objects, denoted ObjX and ObjY. These may
  1469. Xbe fixed objects or objects in elliptical, hyperbolic or parabolic
  1470. Xheliocentric orbits. The ObjX/Y dialog allows you to define these objects.
  1471. X
  1472. XXephem maintains a working copy of these objects for use with the ObjX/Y
  1473. Xmenu that is separate from the real ObjX and ObjY. The ObjX/Y menu always
  1474. Xworks on these working copies. The working copies and the real ObjX/Y only
  1475. Xinteract when using the Ok, Apply and Reset control, as described shortly.
  1476. X
  1477. XThe ObjX/Y menu is always displaying information from one or the other of
  1478. Xthese working copies as indicated by the small radio box in the center of
  1479. Xthe menu at the top. This box may also be used to changed whether ObjX or
  1480. XObjY is being displayed and manipulated. We will refer to the one selected
  1481. Xas the "current working object."
  1482. X
  1483. XThe radio box in the upper left displays the basic type of the current
  1484. Xworking object. This can be changed by selecting another of the collection
  1485. Xof toggle buttons.
  1486. X
  1487. XIn the left and center of the menu is an area that lists each field for the
  1488. Xcurrent working object and its present value. The list is adjusted to
  1489. Xcorrespond to the fields that are associated with the type of the current
  1490. Xworking object. These fields may be changed by selecting the button that
  1491. Xcontains their value. This will bring up a small text entry dialog. A new
  1492. Xentry may be typed into the dialog box and applied by hitting RETURN or
  1493. Xselecting the "Ok" button. The value may be left unchanged by selecting
  1494. X"Cancel".
  1495. X
  1496. XAlong the right edge of the ObjX/Y menu is a list of each object currently
  1497. Xloaded into the xephem database. (See the Help for the "Data Base" menu for
  1498. Xmore information on manipulating this data base.) If there are more than 20
  1499. Xitems then a scroll bar may be used to browse through the list. The entries
  1500. Xare sorted in numeric and alphabetic order for easy selection.  If one of
  1501. Xthese objects is selected, then it is copied to the current working object.
  1502. XYou may then further edit the values for this working object as desired.
  1503. X
  1504. XWhen the current working object is as you want it, select "Apply" to copy it
  1505. Xthe real ObjX (or ObjY) used throughout the other functions of xephem. "Ok"
  1506. Xwill do the same thing and also close the ObjX/Y menu.
  1507. X
  1508. XSelecting "Reset" will load the current working object with a copy of the
  1509. Xreal ObjX (or ObjY).
  1510. X
  1511. XSelecting "Sky Point" will move the center of the field of view on the "Sky
  1512. XView" menu so that the current working object is centered and a cross-hair
  1513. Xis drawn over the object. This change in pointing direction and marking will
  1514. Xtake place even if the object is not in the Sky View type filter or within
  1515. Xthe magnitude range. Note that the Sky View display will _not_ be changed if
  1516. Xit is set to Alt-Az mode and the current working object is below the
  1517. Xhorizon.
  1518. X
  1519. XSelecting "Sky Mark" will draw a cross-hair on the Sky View menu at the
  1520. Xlocation of the current working object if it is within the Sky View field of
  1521. Xview. The Sky View menu is never reaimed with this command.
  1522. X
  1523. XFollows is a description of each field for the type of the current working
  1524. Xobject. To get a description of the fields for other types of objects,
  1525. Xchange the type of the current working object and reselect Help.
  1526. X
  1527. X@Fixed Object
  1528. X+Object
  1529. XFixed objects are characterized by five parameters:
  1530. X
  1531. X    RA,
  1532. X    Dec,
  1533. X    magnitude,
  1534. X    the reference epoch for the coordinates and
  1535. X    angular size in arc seconds, optional
  1536. X
  1537. XNote:
  1538. X
  1539. XIn order to conserve memory usage, xephem stores the RA and Dec for a fixed
  1540. Xobject only once with each object. These values are always precessed _in
  1541. Xplace_ to the current display epoch. Thus, you will find that the RA and Dec
  1542. Xdisplayed for a given object may change if the epoch is changed on the main
  1543. Xmenu and the object information is redisplayed here on the ObjX/Y menu.
  1544. X@Elliptical Object
  1545. X+Object
  1546. XElliptical objects are characterized by 12 parameters: the parameters that
  1547. Xdefine a heliocentric elliptic orbit and the coefficients for either of two
  1548. Xmagnitude models.  These elements are the same ones often listed in the
  1549. XAstronomical Almanac.  The elements are, in order:
  1550. X
  1551. X    i = inclination, degrees
  1552. X    O = longitude of ascending node, degrees
  1553. X    o = argument of perihelion, degrees
  1554. X    a = mean distance (aka semi-major axis), AU
  1555. X    n = mean daily motion, degrees per day
  1556. X    e = eccentricity
  1557. X    M = mean anomaly (ie, degrees from perihelion)
  1558. X    E = epoch date (ie, time of M)
  1559. X    D = the equinox year (ie, time of i/O/o)
  1560. X    g/k or H/G  = either of two magnitude models; see below
  1561. X    s = angular size at 1 AU, arc seconds, optional
  1562. X
  1563. X
  1564. XYou might have other parameters available that can be converted into these. 
  1565. XThe following relationships might be useful:
  1566. X
  1567. X    P = sqrt(a*a*a)
  1568. X    p = O + o
  1569. X    n = 0.9856076686/P
  1570. X    T = E - M/n
  1571. X    q = a*(1-e)
  1572. X    AU = 149,597,870 km = 92,955,621 U.S. statute miles
  1573. X where
  1574. X    P = the orbital period, years;
  1575. X    p = longitude of perihelion, degrees
  1576. X    T = epoch of perihelion (add multiples of P for desired range)
  1577. X    q = perihelion distance, AU
  1578. X
  1579. XNote that if you know T you can then set E = T and M = 0.
  1580. X
  1581. XXephem supports two different magnitude models for elliptical objects. One,
  1582. Xdenoted here as g/k, is generally used for comets in elliptical objects. The
  1583. Xother, denoted H/G, is generally used for asteroids in the Astronomical
  1584. XAlmanac.
  1585. X
  1586. X+OBJXY_gkMAGNITUDE
  1587. XWhen using this model for elliptical objects, the first of the two magnitude
  1588. Xfields must be preceded by a letter "g". This applies in both the ephem.db
  1589. Xdatabase file and the corresponding menu elliptical object definition prompt;
  1590. Xotherwise the default magnitude model for elliptical objects is the H/G model.
  1591. X
  1592. X+OBJXY_HGMAGNITUDE
  1593. X
  1594. XThe H/G model is the default magnitude model for elliptical objects but it can
  1595. Xalso be explicitly indicated when the first of the two magnitude fields is
  1596. Xpreceded by a letter "H". This works in both the ephem.db database file and the
  1597. Xcorresponding menu elliptical object definition prompt.
  1598. X@Hyperbolic Object
  1599. X+Object
  1600. XHyperbolic objects are characterized by 10 parameters: the parameters that
  1601. Xdefine a heliocentric hyperbolic orbit and the magnitude model coefficients. 
  1602. XThese orbital parameters are, in order:
  1603. X
  1604. X    T = epoch of perihelion
  1605. X    i = inclination, degrees
  1606. X    O = longitude of ascending node, degrees
  1607. X    o = argument of perihelion, degrees
  1608. X    e = eccentricity,
  1609. X    q = perihelion distance, AU
  1610. X    D = the equinox year (ie, time of i/O/o).
  1611. X    g/k = magnitude model
  1612. X    s = angular size at 1 AU, arc seconds, optional
  1613. X
  1614. XAs with elliptical elements, other parameters might be available.  The
  1615. Xrelationships are generally the same, except for:
  1616. X
  1617. X    q = a*(e-1)
  1618. X
  1619. X+OBJXY_gkMAGNITUDE
  1620. X@Parabolic Object
  1621. X+Object
  1622. XParabolic objects are characterized by 9 parameters: the parameters that
  1623. Xdefine a heliocentric parabolic orbit and the magnitude model coefficients.
  1624. XThese orbital parameters are, in order:
  1625. X
  1626. X    T = epoch of perihelion
  1627. X    i = inclination, degrees
  1628. X    o = argument of perihelion, degrees
  1629. X    q = perihelion distance, AU
  1630. X    O = longitude of ascending node, degrees
  1631. X    D = the equinox year (ie, time of i/O/o).
  1632. X    g/k = magnitude model
  1633. X    s = angular size at 1 AU, arc seconds, optional
  1634. X
  1635. X+OBJXY_gkMAGNITUDE
  1636. X@OBJXY_gkMAGNITUDE
  1637. XThe g/k magnitude model requires two parameters to be specified. One, the
  1638. Xabsolute magnitude, g, is the visual magnitude of the object if it were one
  1639. XAU from both the sun and the earth.  The other, the luminosity index, k,
  1640. Xcharacterizes the brightness change of the object as a function of its
  1641. Xdistance from the sun. This is generally zero, or very small, for inactive
  1642. Xobjects like asteroids.  The model may be expressed as:
  1643. X
  1644. X    m = g + 5*log10(D) + 2.5*k*log10(r)
  1645. X where:
  1646. X    m = resulting visual magnitude;
  1647. X    g = absolute visual magnitude;
  1648. X    D = comet-earth distance, in AU;
  1649. X    k = luminosity index; and
  1650. X    r = comet-sun distance.
  1651. X
  1652. XNote that this model does not take into account the phase angle of sunlight.
  1653. X
  1654. X@OBJXY_HGMAGNITUDE
  1655. XThe H/G model also requires two parameters. The first, H, is the magnitude of
  1656. Xthe object when one AU from the sun and the earth. The other, G, attempts to
  1657. Xmodel the reflection characteristics of a passive surface, such as an
  1658. Xasteroid. The model may be expressed with the following code fragment:
  1659. X
  1660. X    beta = acos((rp*rp + rho*rho - rsn*rsn)/ (2*rp*rho));
  1661. X    psi_t = exp(log(tan(beta/2.0))*0.63);
  1662. X    Psi_1 = exp(-3.33*psi_t);
  1663. X    psi_t = exp(log(tan(beta/2.0))*1.22);
  1664. X    Psi_2 = exp(-1.87*psi_t);
  1665. X    m = H + 5.0*log10(rp*rho) - 2.5*log10((1-G)*Psi_1 + G*Psi_2);
  1666. X where:
  1667. X    m   = resulting visual magnitude
  1668. X    rp  = distance from sun to object
  1669. X    rho = distance from earth to object
  1670. X    rsn = distance from sun to earth
  1671. X
  1672. XNote that this model does not take into account the phase angle of sunlight.
  1673. END_OF_FILE
  1674.   if test 65231 -ne `wc -c <'xephem.hlp'`; then
  1675.     echo shar: \"'xephem.hlp'\" unpacked with wrong size!
  1676.   fi
  1677.   # end of 'xephem.hlp'
  1678. fi
  1679. echo shar: End of archive 4 \(of 21\).
  1680. cp /dev/null ark4isdone
  1681. MISSING=""
  1682. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ; do
  1683.     if test ! -f ark${I}isdone ; then
  1684.     MISSING="${MISSING} ${I}"
  1685.     fi
  1686. done
  1687. if test "${MISSING}" = "" ; then
  1688.     echo You have unpacked all 21 archives.
  1689.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1690.     echo Building ephem.db
  1691.     cat > ephem.db.Z.uu ephem.db.Z.uu.?
  1692.     uudecode ephem.db.Z.uu
  1693.     rm ephem.db.Z.uu ephem.db.Z.uu.?
  1694.     uncompress ephem.db.Z
  1695.     echo Building skyviewmenu.c
  1696.     cat > skyviewmenu.c skyviewmenu.c.?
  1697.     rm skyviewmenu.c.?
  1698.     echo Building smallfm.xbm
  1699.     cat > smallfm.xbm smallfm.xbm.?
  1700.     rm smallfm.xbm.?
  1701. else
  1702.     echo You still must unpack the following archives:
  1703.     echo "        " ${MISSING}
  1704. fi
  1705. exit 0
  1706. exit 0 # Just in case...
  1707. -- 
  1708.   // chris@IMD.Sterling.COM            | Send comp.sources.x submissions to:
  1709. \X/  Amiga - The only way to fly!      |
  1710.  "It's intuitively obvious to the most |    sources-x@imd.sterling.com
  1711.   casual observer..."                  |
  1712.