home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume11 / ephem4.12 / part06 < prev    next >
Text File  |  1990-03-10  |  36KB  |  840 lines

  1. Newsgroups: comp.sources.misc
  2. subject: v11i007: ephem, 6 of 7 (part 1 of manual)
  3. From: ecd@cs.umn.edu@ncs-med.UUCP (Elwood C. Downey)
  4. Sender: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
  5.  
  6. Posting-number: Volume 11, Issue 7
  7. Submitted-by: ecd@cs.umn.edu@ncs-med.UUCP (Elwood C. Downey)
  8. Archive-name: ephem4.12/part06
  9.  
  10. # This is the first line of a "shell archive" file.
  11. # This means it contains several files that can be extracted into
  12. # the current directory when run with the sh shell, as follows:
  13. #    sh < this_file_name
  14.  
  15. # This is file 1 of a two-part manual, Man.txt
  16. if test -r Man.txt
  17. then
  18.     echo Man.txt has already been built.
  19.     exit
  20. fi
  21.  
  22. echo x Man.txt.1
  23. sed -e 's/^X//' << 'EOFxEOF' > Man.txt.1
  24. X
  25. X
  26. X
  27. X
  28. X
  29. X
  30. X                          Ephem V4.12 - February 20, 1990
  31. X
  32. X                    Copyright (c) 1990 by Elwood Charles Downey
  33. X                               Chaska, Minnesota, USA
  34. X
  35. X
  36. X                                 Table of Contents
  37. X      1.  Introduction ...................................................  3
  38. X      2.  Running Ephem ..................................................  3
  39. X      2.1.  Command Line Format ..........................................  3
  40. X      2.2.  Program Operation ............................................  4
  41. X      3.  Screen Fields ..................................................  5
  42. X      3.1.  Top Screen Fields ............................................  5
  43. X      3.2.  Data format columns ..........................................  6
  44. X      3.3.  RiseSet format columns .......................................  7
  45. X      3.4.  Separation format fields .....................................  7
  46. X      4.  Date and Time Formats ..........................................  7
  47. X      5.  Configuration File .............................................  8
  48. X      5.1.  Configuration File fields ....................................  8
  49. X      5.2.  Example ephem.cfg ............................................ 10
  50. X      6.  Menu options ................................................... 10
  51. X      6.1.  Adaptive vs. Standard hzn .................................... 11
  52. X      6.2.  Geocentric vs. Topocentric ................................... 11
  53. X      7.  Object X ....................................................... 11
  54. X      7.1.  Controlling Object-X Operation ............................... 12
  55. X      7.1.1.  Fixed coordinates .......................................... 12
  56. X      7.1.2.  Elliptical elements ........................................ 12
  57. X      7.1.3.  Parabolic elements ......................................... 12
  58. X      7.1.4.  On or Off .................................................. 13
  59. X      8.  Plotting ....................................................... 13
  60. X      8.1.  Defining plot fields ......................................... 13
  61. X      8.2.  Displaying a plot file ....................................... 14
  62. X      8.3.  Cartesian or Polar coords .................................... 14
  63. X      8.4.  Begin Plotting ............................................... 14
  64. X      8.5.  Stopping Plotting ............................................ 14
  65. X      9.  Watching ....................................................... 14
  66. X      9.1.  Trails ....................................................... 15
  67. X      9.2.  Night sky .................................................... 15
  68. X      9.3.  Solar System ................................................. 15
  69. X      10.  Searching ..................................................... 15
  70. X      10.1.  Find extreme ................................................ 16
  71. X      10.2.  Find 0 ...................................................... 16
  72. X      10.3.  Binary ...................................................... 16
  73. X      10.4.  Define a New function ....................................... 16
  74. X      10.4.1.  Intrinsic functions ....................................... 17
  75. X      10.4.2.  Field Specifiers .......................................... 17
  76. X      10.4.3.  Constants ................................................. 17
  77. X      10.4.4.  Operators ................................................. 18
  78. X      10.5.  Specifying Search Accuracy .................................. 18
  79. X      10.6.  Stop ........................................................ 18
  80. X      10.7.  Example Searches ............................................ 18
  81. X      10.8.  Another Example ............................................. 19
  82. X      10.9.  Caution ..................................................... 19
  83. X      11.  Implementation Notes .......................................... 20
  84. X
  85. X
  86. X
  87. X
  88. X
  89. X
  90. X
  91. X
  92. X
  93. X                                       - 2 -
  94. X
  95. X
  96. X      11.1.  Program limits .............................................. 20
  97. X      12.  DOS Installation Procedure .................................... 21
  98. X      12.1.  Setting TZ .................................................. 21
  99. X      13.  Wish List ..................................................... 21
  100. X      14.  Sample Screens ................................................ 23
  101. X
  102. X
  103. X
  104. X
  105. X
  106. X
  107. X
  108. X
  109. X
  110. X
  111. X
  112. X
  113. X
  114. X
  115. X
  116. X
  117. X
  118. X
  119. X
  120. X
  121. X
  122. X
  123. X
  124. X
  125. X
  126. X
  127. X
  128. X
  129. X
  130. X
  131. X
  132. X
  133. X
  134. X
  135. X
  136. X
  137. X
  138. X
  139. X
  140. X
  141. X
  142. X
  143. X
  144. X
  145. X
  146. X
  147. X
  148. X
  149. X
  150. X
  151. X
  152. X
  153. X
  154. X
  155. X
  156. X
  157. X
  158. X
  159. X                                       - 3 -
  160. X
  161. X
  162. X     1.  Introduction
  163. X
  164. X     Ephem is a program that displays observing circumstances for all the
  165. X     planets plus any one additional object. The additional object may be fixed
  166. X     or specified via heliocentric elliptical or parabolic orbital elements to
  167. X     accommodate solar system objects such as comets or asteroids.
  168. X
  169. X     Information displayed about each object includes RA and Dec precessed to
  170. X     any epoch, heliocentric coordinates, local azimuth and altitude, distance
  171. X     from sun and earth, solar elongation, angular size, visual magnitude,
  172. X     illumination phase, local rise, transit and set times, length of time up,
  173. X     and topocentric or geocentric angular separations between all combinations
  174. X     of objects.
  175. X
  176. X     Observing circumstance information includes UTC and local date and time,
  177. X     local sidereal time, times of astronomical twilight, length of day and
  178. X     night, local temperature, pressure and height above sea level for the
  179. X     refraction model and a monthly calendar.
  180. X
  181. X     RA/Dec calculations are geocentric and include the effects of light travel
  182. X     time, nutation, aberration and precession.  Alt/az and rise/set/transit
  183. X     and, optionally, angular separation calculations are topocentric and
  184. X     include the additional effects of parallax and refraction.
  185. X
  186. X     A running plot file of selected field values may be generated as the
  187. X     program runs.  Ephem includes a very crude quick-look facility to view
  188. X     these plot files or they may be plotted by other programs.
  189. X
  190. X     One may watch the night sky or the solar system with a simple screen-
  191. X     oriented display.
  192. X
  193. X     Ephem may be asked to search for interesting conditions automatically,
  194. X     using several algorithms. Most fields displayed on the screen may be used
  195. X     as terms in an arbitrary arithmetic expression that can be solved for zero
  196. X     or minimized or maximized, or the time of state change of any boolean
  197. X     expression can be found.
  198. X
  199. X     The program is written in C for unix or DOS. It uses only a very simple
  200. X     set of io routines and should be easily ported to any ASCII display.
  201. X
  202. X     The planetary data and correction algorithms are taken, with permission,
  203. X     from "Astronomy With Your Personal Computer", by Peter Duffett-Smith,
  204. X     Cambridge University Press, 1985.
  205. X
  206. X     2.  Running Ephem
  207. X
  208. X
  209. X     2.1.  Command Line Format
  210. X
  211. X     To run ephem, just type "ephem".  You may also optionally specify an
  212. X     alternate configuration file, and optionally specify values for several
  213. X     screen fields.  The command line syntax can be summarized as follows:
  214. X
  215. X         ephem [-c <configfile>] [field=value  ...]
  216. X
  217. X
  218. X
  219. X
  220. X
  221. X
  222. X
  223. X
  224. X
  225. X                                       - 4 -
  226. X
  227. X
  228. X     2.2.  Program Operation
  229. X
  230. X     When ephem starts, it first displays a disclaimer banner.  Then, after any
  231. X     key is pressed, it reads a configuration file to set the initial values of
  232. X     several fields.  The default file name is ephem.cfg or .ephemrc in the
  233. X     HOME environment variable directory if available.  The exact format of the
  234. X     file is described below.  Then it processes any additional command line
  235. X     arguments exactly as it would if they too came from the configuration
  236. X     file.  (See the later section on this manual for a description of the
  237. X     possible entries.) It then draws all fields on the screen with their
  238. X     initial values.  The program then loops advancing time each step, by some
  239. X     amount you may control, and updating all fields each loop.
  240. X
  241. X     There are two fields that control this looping behavior: NStep and StpSz.
  242. X     These control the number of steps and the amount of time to add each step,
  243. X     respectively. When the number of steps, NStep, goes to 0 or any key is
  244. X     pressed, the looping stops and you enter a command mode.
  245. X
  246. X     Command mode allows you to modify most of the fields.  The idea is that
  247. X     you move to each field on the screen you wish to change and change it.
  248. X     When you have changed everything you want to, type "q" to resume screen
  249. X     updates.
  250. X
  251. X     To change a field:
  252. X
  253. X         1) move the cursor to the field (see below);
  254. X         2) type RETURN;
  255. X         3) type in the new value along the command line at the top according
  256. X            to the format indicated in the prompt. To accept the new value
  257. X            type RETURN, or to leave it unchanged after all type "q".
  258. X
  259. X
  260. X     A few fields don't require you to type anything; just typing RETURN does
  261. X     all the work.  If you can't move to it, you can't change it.
  262. X
  263. X     The arrow keys on most systems move the cursor around.  If these do not
  264. X     function or function incorrectly, the h/j/k/l keys also move the cursor
  265. X     left/down/up/right, respectively.  Motions off any edge of the screen will
  266. X     wrap around.  You may also move the cursor immediately to a planet row by
  267. X     typing one of the characters SMevmjsunpx.  (To avoid conflict with j,
  268. X     jupiter's row must actually be typed as control-j.) "x" is for the user-
  269. X     defined object X on the bottom row.  Also, the characters d, o and z move
  270. X     you to the UT Date, Epoch and StpSz fields immediately, if appropriate.
  271. X
  272. X     When you have changed a field that would invalidate any of the other
  273. X     fields the message NEW CIRCUMSTANCES appears in the top center of the
  274. X     screen.  This will remain until you type "q" to allow at least one screen
  275. X     update loop to occur.  If you change any field that causes new
  276. X     circumstances, the StpSz value is not added to the first loop.  Note also
  277. X     that after a series of loops, NStep is automatically reset to 1 so "q"
  278. X     will do exactly one loop and return you to command mode.
  279. X
  280. X     To quit the program, type control-d from command mode.  For a little more
  281. X     help, type ?.  The entire screen may be erased and redrawn with control-l.
  282. X
  283. X
  284. X
  285. X
  286. X
  287. X
  288. X
  289. X
  290. X
  291. X                                       - 5 -
  292. X
  293. X
  294. X     3.  Screen Fields
  295. X
  296. X     The screen is divided into two halves, top and bottom.  The top fields are
  297. X     always present. They define the general observing circumstances and
  298. X     control features.
  299. X
  300. X     The planets and one additional object are displayed in a table in the
  301. X     bottom portion of the screen.  There is one object per row, and several
  302. X     columns.  There are three forms of this portion selected by picking the
  303. X     Menu selection.
  304. X
  305. X     Some things may be turned off to reduce compute times.  Calculations for
  306. X     each planet may be turned on and off by selecting the planet name field.
  307. X     Calculations for Dawn/Dusk/NiteLn may be turned off by selecting any of
  308. X     these fields.  Planet positions are only updated as often as necessary to
  309. X     match the display precision of the screen unless plotting or searching is
  310. X     on.  In these cases full precision is desired at all times and so
  311. X     positions are always fully recalculated at each iteration.
  312. X
  313. X     Follows is a list and description of each of the fields in each section.
  314. X     Following each name a parenthetical "p" indicates the field may be
  315. X     selected for plotting (see later). All fields may be selected for
  316. X     changing.
  317. X
  318. X
  319. X     3.1.  Top Screen Fields
  320. X
  321. X     LTZ           the local timezone name.  The name field may be changed to
  322. X                   any three-character mnemonic.
  323. X     LT(p)
  324. X     LD(p)         The local time and date are not labeled as such but are to
  325. X                   the right of the local timezone name.  They are individually
  326. X                   selectable.  Time and date fields may be changed as
  327. X                   described in a later section.  Set to "n" to set to "now"
  328. X                   from computer clock.
  329. X     UT(p)
  330. X     UD(p)         The universally coordinated time and date are not labeled as
  331. X                   such but are to the right of the UTC label.  They are
  332. X                   individually selectable.  Time and date fields may be
  333. X                   changed as described in a later section.  Set to "n" to set
  334. X                   to "now" from computer clock.
  335. X     JulianDat(p)  the current Julian date, to about 1-second accuracy.
  336. X     Watch         selects the sky or solar system displays; see complete
  337. X                   discussion below.
  338. X     Search        controls the automatic search feature of ephem. See the
  339. X                   complete discussion below.
  340. X     Plot          controls plotting; see complete discussion below.
  341. X     Menu          controls which menu is in the bottom half of the screen.
  342. X                   See their complete discussion below.
  343. X     LST(p)        the current local sidereal time.  set to "n" to set from
  344. X                   computer clock.
  345. X     Dawn(p)       local time when the sun is approximately 18 degrees below
  346. X                   the horizon before sunrise.
  347. X
  348. X
  349. X
  350. X
  351. X
  352. X
  353. X
  354. X
  355. X
  356. X
  357. X                                       - 6 -
  358. X
  359. X
  360. X     Dusk(p)       local time when the sun is approximately 18 degrees below
  361. X                   the horizon after sunset.
  362. X     NiteLn(p)     length of astronomical night, ie, Dawn - Dusk.  If this line
  363. X                   is shown as "-----", it means the sun is either always below
  364. X                   or always above approximately -18 degrees altitude on this
  365. X                   particular day.  This and the Dawn and Dusk lines are blank
  366. X                   when their computation has been turned off.
  367. X     NStep         The number of times the display with be updated (time
  368. X                   advanced by StpSz each step) before entering command mode.
  369. X     StpSz         the amount of time UTC (and its derivatives) is incremented
  370. X                   each loop.  set this to "r" to use real-time based on the
  371. X                   computer clock.  you may also set it in terms of days by
  372. X                   appending a "d" after the number when you set it.
  373. X     Lat(p)        location latitude, positive degrees north of equator.
  374. X     Long(p)       location longitude, positive degrees west of Greenwich
  375. X                   meridian.  set to "N" to set from computer clock.
  376. X     Elev(p)       local elevation of the ground above sea level, in feet. (see
  377. X                   implementation notes).
  378. X     Temp(p)       local surface air temperature, in degrees F.
  379. X     AtmPr(p)      local surface air pressure, in inches of mercury.
  380. X     TZ(p)         hours local time is behind utc, ie, positive west or
  381. X                   negative east of Greenwich.
  382. X     Epoch         the epoch, to the nearest 0.1 years, to which the ra/dec
  383. X                   fields are precessed.  This says (OfDate) when coordinates
  384. X                   are not precessed, ie, are in the epoch of date. Set to "e"
  385. X                   to set to epoch of date.  The coordinates for the extra
  386. X                   object are assumed to be in the epoch given by this field
  387. X                   when they are entered.
  388. X     Also in the upper right of the screen is a calendar for the current local
  389. X     month.  Dates of new and full moons are marked NM and FM, respectively.
  390. X
  391. X     3.2.  Data format columns
  392. X     Ob            name of object.  Select this to toggle the display and
  393. X                   calculations on and off.
  394. X     R.A.(p)       apparent geocentric right ascension of object, precessed to
  395. X                   given epoch, in hours, minutes and decimal minutes.
  396. X     Dec(p)        apparent geocentric declination of object, precessed to
  397. X                   given epoch, in degrees and minutes.
  398. X     Az(p)         degrees eastward of true north for object.
  399. X     Alt(p)        degrees up from a horizontal plane Elev feet above sea
  400. X                   level.
  401. X     Helio Long(p) true heliocentric longitude, in degrees.  Earth's is
  402. X                   displayed on the sun's line.
  403. X     Helio Lat(p)  true heliocentric latitude, in degrees.
  404. X     Ea Dst(p)     true distance from earth center to object center, in AU,
  405. X                   except distance to the moon is in miles.
  406. X     Sn Dst(p)     true distance from sun center to object center, in AU.
  407. X     Elong(p)      spherical angular separation between sun and given object,
  408. X                   calculated from the their geocentric ecliptic coordinates.
  409. X                   Note this is not just difference in ecliptic longitude. The
  410. X                   sign, however, is simply sign(obj's longitude - sun's
  411. X                   longitude), ie, degrees east.  thus, a positive elongation
  412. X                   means the object rises after the sun.
  413. X
  414. X
  415. X
  416. X
  417. X
  418. X
  419. X
  420. X
  421. X
  422. X
  423. X                                       - 7 -
  424. X
  425. X
  426. X     Size(p)       angular size of object, in arc seconds.
  427. X     VMag(p)       visual magnitude of object.
  428. X     Phs(p)        percent of visible surface in sunlight. Note the moon phase
  429. X                   is calculated simplistically as just abs(elongation)/180*100
  430. X                   which can be a few degrees off... this means that because of
  431. X                   how elongation is defined it doesn't say 0 during new moon
  432. X                   (or 100 during full) except during close eclipses (maybe
  433. X                   that's a "feature"?).
  434. X     Also, some terminals scroll when a character is written to the lower right
  435. X     character position. To avoid this, Object X's phase is left shifted by one
  436. X     column. This can look particularly ugly when the phase is 100% because the
  437. X     "100" is right next to visual magnitude number.
  438. X
  439. X     3.3.  RiseSet format columns
  440. X     Rise        The local time and azimuth when the upper limb of the object
  441. X                 rises.
  442. X     Transit     The local time and altitude when the object crosses the
  443. X                 meridian, ie, when its azimuth is true south or, if no
  444. X                 precession, when the local sidereal time equals the object's
  445. X                 right ascension.
  446. X     Set         The local time and azimuth when the upper limb of the object
  447. X                 sets.
  448. X     Hrs Up      The number of hours the object is up on the local date.
  449. X
  450. X     Horizon displacement may be calculated in either of two ways; see the
  451. X     horizon discussion in the Menu selection section.
  452. X
  453. X     Various oddball conditions are accounted for, including an object that is
  454. X     up sometime during the day but that doesn't rise, transit or set as such
  455. X     on that day, an object that is circumpolar or that is never up or one that
  456. X     rises twice on the same day.  These are marked as "Never rises", "Never
  457. X     transits", "Never sets", "Circumpolar", "Never up" or appended with a plus
  458. X     "+" sign, respectively.
  459. X
  460. X     3.4.  Separation format fields
  461. X     This format is a table of angular separations between each pair of
  462. X     objects.  These angles are based on the local altitude/azimuth, and so in
  463. X     general differ somewhat from the elongations reported for the sun in the
  464. X     Data menu.
  465. X
  466. X     4.  Date and Time Formats
  467. X     Times are displayed and entered in h:m:s format.  If you pick a time field
  468. X     to change it any of the h, m, and s components that are not specified are
  469. X     left unchanged from their current value.  For example, 0:5:0 set hours to
  470. X     0, minutes to 5, seconds to 0, whereas :5 sets minutes to 5 but leaves
  471. X     hours and seconds unchanged.  A negative time is indicated by a minus sign
  472. X     (-) anywhere before the first digit.
  473. X
  474. X     Dates are displayed and entered in American month:day:year format.  As
  475. X     with time, components omitted when entering a new value retain the current
  476. X     value.  For example, if the current date is 10/20/1988 and you type 20/20
  477. X     the new date will become 20/20/1988. Note you must type the full year
  478. X     since the program is accurate over several centuries either side of 1900.
  479. X     If you change the date, the time (ie, partial day) will not change.
  480. X
  481. X
  482. X
  483. X
  484. X
  485. X
  486. X
  487. X
  488. X
  489. X                                       - 8 -
  490. X
  491. X
  492. X     Two other ways to set the date are supported for compatibility with some
  493. X     published comet ephemerides.  You may enter the day portion as a real
  494. X     number.  When you set the day this way, the time will also change to
  495. X     correspond to the fractional portion of the day.
  496. X
  497. X     You may also enter a date as a decimal year, as in 1990.12345.  This is
  498. X     also useful in interpreting plot files that include a date field, since
  499. X     date fields are stored in plot files as decimal years.  If no decimal
  500. X     point is included, the number is assumed to be a year unless it is in the
  501. X     range 1-12, in which case it will be taken to mean that you are just
  502. X     changing the month of the current date.  To actually specify the years 1 -
  503. X     12, you must append a decimal point to distinguish them from months.
  504. X
  505. X     As a matter of typing convenience, the program accepts most any character
  506. X     as the separator; you don't have to type a perfect ":" or "/".
  507. X
  508. X     5.  Configuration File
  509. X     The ephem.cfg configuration file allows you to set the initial values of
  510. X     many of the screen fields. You can still change any field while the
  511. X     program is running too; this file just sets the initial conditions.  Note
  512. X     that the order of entries in this file is important because they each take
  513. X     effect immediately.  You should put them in the same order you wish them
  514. X     to be processed, just as though you were changing the fields interactively
  515. X     within ephem.
  516. X
  517. X     You can have several different configuration files if you wish. By
  518. X     default, ephem looks for one named ephem.cfg. You can tell it to use an
  519. X     alternate file by using the -c switch as follows:
  520. X
  521. X         ephem -c <filespec>
  522. X
  523. X
  524. X     If your system supports the HOME environment variable then ephem also
  525. X     looks for a configuration file there with the name
  526. X
  527. X     The format of the file uses the form KEYWORD=VALUE, where the possible
  528. X     KEYWORDS and the types of VALUES for each are described below. Any
  529. X     KEYWORDS not in the file will take on some sort of default. The separator
  530. X     need not be an actual equals sign; any char will do because the VALUE is
  531. X     assumed to start one character after the KEYWORD, regardless.
  532. X
  533. X     Blank lines and lines that begin with an asterisk (*), pound (#), or
  534. X     whitespace (space or tab) are ignored and may be used for comments.
  535. X
  536. X     Note:  because of the way unspecified time and date components are left
  537. X     unchanged (see section on Date and Time Formats) always specify the
  538. X     complete time and date for all entries in the configuration file. For
  539. X     example, to initialize the longitude to zero degrees, say 0:0:0, not just
  540. X     0.
  541. X
  542. X     5.1.  Configuration File fields
  543. X     UD        initial UTC date, such as 10/20/1988, or "NOW" to use the
  544. X               computer clock.
  545. X
  546. X
  547. X
  548. X
  549. X
  550. X
  551. X
  552. X
  553. X
  554. X
  555. X                                       - 9 -
  556. X
  557. X
  558. X     UT        initial UTC time, such as 12:0:0, or "NOW" to use the computer
  559. X               clock.
  560. X     TZONE     hours the local time is behind utc, such as 5:0:0.  you need not
  561. X               set this if you use "NOW" for UT or UD.
  562. X     TZNAME    name of the local time zone, such as CDT. 3 chars max.  you need
  563. X               not set this if you use "NOW" for UT or UD.
  564. X     LONG      longitude, in degrees west of Greenwich, in the form d:m:s.
  565. X     LAT       latitude, in degrees north of the equator, in the form d:m:s.
  566. X     HEIGHT    height above sea level, in feet, such as 800
  567. X     TEMP      air temperature, in degrees F, such as 50
  568. X     PRES      air pressure, in inches of Mercury, such as 29
  569. X     STPSZ     the time increment between screen updates, such as "1" to give
  570. X               one hour updates. this can be a specific amount or RTC to use
  571. X               the system clock as a real-time source. You may also specify a
  572. X               time in days, by appending a D (or d) after the number.
  573. X     PROPTS    this selects what you want included initially in the display.
  574. X               since IBM-PC math is not very fast, you can reduce the time to
  575. X               update the screen by only printing those fields of interest. the
  576. X               VALUE is a collection of letters to turn on each item from the
  577. X               following set:
  578. X
  579. X                       T       twilight (dawn-dusk)
  580. X                       S       circumstances for the sun
  581. X                       M       circumstances for the moon
  582. X                       e       circumstances for mercury
  583. X                       v       circumstances for venus
  584. X                       m       circumstances for mars
  585. X                       j       circumstances for jupiter
  586. X                       s       circumstances for saturn
  587. X                       u       circumstances for uranus
  588. X                       n       circumstances for neptune
  589. X                       p       circumstances for pluto
  590. X                       x       circumstances for object X
  591. X
  592. X               For example, to just track the sun and saturn, say PROPTS=Ss
  593. X
  594. X               If the delimiter between PROPTS and the selection is a plus (+)
  595. X               sign then the given planets are included IN ADDITION TO ones
  596. X               already specified. Any other delimiter sets the selection to
  597. X               exactly the set specified. This feature was added so that the
  598. X               command line version of using PROPTS could add to the set of
  599. X               planets giving in the configuration file.
  600. X     NSTEP     number of times program will loop before entering command mode.
  601. X               see the discussion under Program Operation.
  602. X     EPOCH     this sets the desired ra/dec precession epoch. you can put any
  603. X               date here or EOD to use the current instant ("Epoch of Date").
  604. X     OBJX      This field specifies the optional object "x".  The field
  605. X               contains several items, each separated by a comma.  The first
  606. X               field is the type of the object, that is, one of the strings
  607. X               "fixed", "elliptical", or "parabolic"; only enough of the string
  608. X               to be unique is required so you may use just the first character
  609. X               if desired.  The remaining fields depend on the type of object.
  610. X               They are exactly the same parameters, and in the same order, as
  611. X               ephem asks for when defining the object from the menu.  These
  612. X
  613. X
  614. X
  615. X
  616. X
  617. X
  618. X
  619. X
  620. X
  621. X                                       - 10 -
  622. X
  623. X
  624. X               are described in more detail in the section on "Object X".  You
  625. X               may define one object of each type in the configuration file;
  626. X               the last one defined will be the "current" one when ephem gets
  627. X               going.
  628. X
  629. X     5.2.  Example ephem.cfg
  630. X
  631. X     This is the ephem.cfg file that was in effect when the sample screens (in
  632. X     another section) were generated. You might run ephem with this
  633. X     configuration file and compare with the samples as a check.
  634. X
  635. X     * time is the evening of comet austin's maximum solar separation angle.
  636. X     UT=1:45:0
  637. X     UD=4/5/1990
  638. X     TZNAME=CST
  639. X     TZONE=6:0;0
  640. X     LONG=93:42:8
  641. X     LAT=44:50:37
  642. X     HEIGHT=800
  643. X     TEMP=40
  644. X     PRES=29.5
  645. X     STPSZ=RTC
  646. X     PROPTS=TSMevmjsunpx
  647. X     EPOCH=Eod
  648. X     NSTEP=1
  649. X
  650. X     * comet halley. elements from Duffett-Smith book; mag from 12/86 S&T pg 666
  651. X     OBJX=e,1986.109,76.0081,170.011,0.9673,162.2384,58.1540,17.9435,3.66,7.05
  652. X
  653. X     * orion, roughly
  654. X     OBJX=fixed,6:0:0,0:0:0,1950
  655. X
  656. X     * comet austin, 1989c1, as per IAU Circular 4941, and magnitude rumors.
  657. X     OBJX=parabolic,4/9.847/1990,58.911,61.504,.34963,75.409,1950,3.8,13.7
  658. X
  659. X     As another common example, this ephem.cfg creates an essentially free-
  660. X     running real-time screen based on the computer clock:
  661. X
  662. X     UT=Now
  663. X     LONG=90:10:8
  664. X     LAT=40:50:20
  665. X     HEIGHT=800
  666. X     TEMP=50
  667. X     PRES=29
  668. X     STPSZ=RTC
  669. X     PROPTS=TSMevmjsunp
  670. X     NSTEP=9999999
  671. X     EPOCH=Eod
  672. X
  673. X
  674. X     6.  Menu options
  675. X
  676. X     When you select "Menu" you can change among the three styles of bottom
  677. X     screens. There are also two options that can be set from the Menu quick-
  678. X
  679. X
  680. X
  681. X
  682. X
  683. X
  684. X
  685. X
  686. X
  687. X                                       - 11 -
  688. X
  689. X
  690. X     choice menu. These options toggle when picked and retain their values so
  691. X     they need only be changed when desired.
  692. X
  693. X     6.1.  Adaptive vs. Standard hzn
  694. X
  695. X     This selects the horizon refraction displacement algorithm used by the
  696. X     Rise/Set menu.  "Adaptive" uses the local atmospheric conditions known to
  697. X     ephem and matches the Planet Info times nicely. "Standard" uses the
  698. X     "accepted nominal" horizon refraction value of 32 arc minutes and usually
  699. X     agrees, to a minute or so, with published tables.
  700. X
  701. X     6.2.  Geocentric vs. Topocentric
  702. X
  703. X     This selects the vantage point for the Separation menu. "Geocentric"
  704. X     ignores local conditions and gives the separation as seen from Earth
  705. X     center. "Topocentric" uses the local conditions known to ephem.  They are
  706. X     particularly critical for lunar occultations, but the effect can be
  707. X     significant for the planets.
  708. X
  709. X     Note that searching over a period that will include the rise or set times
  710. X     of either object is generally better performed from the geocentric
  711. X     viewpoint.  The refraction effect of the topocentric viewpoint causes many
  712. X     arcminutes of rapid whiplash displacement as the objects rise and set that
  713. X     overlays the smooth celestial motion of the objects.  This rapid position
  714. X     variation can confuse the solver algorithms that expect fairly smooth
  715. X     functions.
  716. X
  717. X     7.  Object X
  718. X
  719. X     You may specify an extra object for ephem to use. This object may be
  720. X     defined in three ways:  fixed celestial sphere coordinates, or
  721. X     heliocentric elliptical or parabolic orbital elements.  Elliptical
  722. X     elements are typically useful for periodic comets or asteroids, and
  723. X     parabolic elements are for nonrecurring solar system interlopers such as
  724. X     aperiodic comets.
  725. X
  726. X     A simple magnitude model is used to estimate the brightness of comets.
  727. X     This model requires two parameters to be specified.  One, the absolute
  728. X     magnitude, is the visual magnitude of the comet if it were one AU from
  729. X     both the sun and the earth.  The other, the luminosity index,
  730. X     characterizes the brightness change of the comet as a function of its
  731. X     distance from the sun.  The model may be expressed as:
  732. X
  733. X         m = A + 5*log10(Re) + S*log10(Rs)
  734. X       where:
  735. X         m  is the resulting visual magnitude;
  736. X         A  is the absolute visual magnitude;
  737. X         Re is the comet-earth distance, in AU;
  738. X         S  is the luminosity index; and
  739. X         Rs is the comet-sun distance.
  740. X
  741. X     Note that this model does not take into account the phase angle of
  742. X     sunlight on the comet.
  743. X
  744. X
  745. X
  746. X
  747. X
  748. X
  749. X
  750. X
  751. X
  752. X
  753. X                                       - 12 -
  754. X
  755. X
  756. X     The parameters for each type of object are stored separately, so you may
  757. X     switch between types of objects without losing parameters.
  758. X
  759. X     7.1.  Controlling Object-X Operation
  760. X
  761. X     To control the type and the corresponding details for object X, select the
  762. X     left column of the bottom row, that is, the X.  (Remember that typing the
  763. X     character "x" is a shorthand way to move to the bottom row.) It will bring
  764. X     up a quick-choice menu as follows:
  765. X
  766. X     Select: Fixed coordinates, Elliptical elements, Parabolic elements, On
  767. X
  768. X
  769. X     When you first enter the quick-choice menu the cursor will start out
  770. X     positioned at the field for the current type of object.  The first three
  771. X     selections allow you to enter or review the various parameters required to
  772. X     define an object's position of such type, one parameter at a time.  You
  773. X     set the current object type and begin to view its parameters by
  774. X     positioning the cursor over the type and pressing RETURN.  The prompt for
  775. X     each item includes a short description, the units to use, and its current
  776. X     setting is shown in parentheses. To leave the item unchanged and go to the
  777. X     next item, type RETURN.  If you do not wish to change or see any more
  778. X     items about the object then type "q" and you will return immediately to
  779. X     the object-X quick-choice menu.
  780. X
  781. X     You exit the quick-choice menu by typing "q" while over any field or
  782. X     RETURN while over On or Off, as described in a later section.
  783. X
  784. X     As with all dates throughout ephem, the dates for the epochs of perihelion
  785. X     and reference epochs may be entered in month/day/year or decimal year
  786. X     formats, and the day may be entered as a real number (see the section on
  787. X     Date and Time Formats).  All dates given for comet parameters are always
  788. X     in UT.
  789. X
  790. X     7.1.1.  Fixed coordinates
  791. X
  792. X     This selection will present a series of three prompts, one each for the
  793. X     RA, Dec, and the reference epoch for the coordinates of a fixed object.
  794. X
  795. X     7.1.2.  Elliptical elements
  796. X
  797. X     This will begin a series of nine prompts asking for the parameters that
  798. X     define a heliocentric elliptic orbit and the magnitude model coefficients.
  799. X     These orbital parameters are, in order, the epoch of perihelion, orbital
  800. X     period, longitude of perihelion, eccentricity, inclination, longitude of
  801. X     the ascending node, and the semi-major axis of the ellipse.  Then follows
  802. X     the absolute magnitude and luminosity index coefficients.
  803. X
  804. X     7.1.3.  Parabolic elements
  805. X
  806. X     This will begin a series of eight prompts asking for the parameters that
  807. X     define a heliocentric elliptic orbit and the magnitude model coefficients.
  808. X     These orbital parameters are, in order, the epoch of perihelion,
  809. X     inclination, argument of perihelion (same as the longitude of perihelion
  810. X
  811. X
  812. X
  813. X
  814. X
  815. X
  816. X
  817. X
  818. X
  819. X                                       - 13 -
  820. X
  821. X
  822. X     minus the longitude of the ascending node), perihelion distance, longitude
  823. X     of the ascending node, and the reference epoch of the parameters.  Then
  824. EOFxEOF
  825. len=`wc -c < Man.txt.1`
  826. if expr $len != 33834 > /dev/null
  827. then echo Length of Man.txt.1 is $len but it should be 33834.
  828. fi
  829.  
  830. # if Man.txt.2 exists, then the second half of the manual has already been
  831. # created from its shar file so we stick it after this one to make Man.txt.
  832. if test -w Man.txt.2
  833. then
  834.     echo catting Man.txt.2 to Man.txt.1 to form Man.txt
  835.     cat Man.txt.2 >> Man.txt.1
  836.     rm Man.txt.2
  837.     mv Man.txt.1 Man.txt
  838. fi
  839.  
  840.