From decwrl!uunet!allbery Sun Mar 25 18:42:09 PST 1990
Article 1434 of comp.sources.misc:
Path: decwrl!uunet!allbery
From: ccount@ATHENA.MIT.EDU
Newsgroups: comp.sources.misc
Subject: v11i059: starchart 3.2 Part 31/32
Message-ID: <82351@uunet.UU.NET>
Date: 26 Mar 90 00:01:58 GMT
Sender: allbery@uunet.UU.NET
Lines: 1161
Approved: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)

Posting-number: Volume 11, Issue 59
Submitted-by: ccount@ATHENA.MIT.EDU
Archive-name: starchart/part31

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of archive 31 (of 32)."
# Contents:  doc/as.texi.aa
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'doc/as.texi.aa' -a "${1}" != "-c" ; then 
  echo shar: Will not clobber existing file \"'doc/as.texi.aa'\"
else
echo shar: Extracting \"'doc/as.texi.aa'\" \(43721 characters\)
sed "s/^X//" >'doc/as.texi.aa' <<'END_OF_FILE'
X\input texinfo    @c -*-texinfo-*-
X@comment %**start of header (This is for running Texinfo on a region.)
X@setfilename astro
X@settitle Astronomy Tools
X@setchapternewpage odd
X@comment %**end of header (This is for running Texinfo on a region.)
X
X@iftex
X@finalout
X@end iftex
X
X@ifinfo
XThis file documents the astronomy tools I have developed.
X
XCopyright @copyright{} 1990 Craig Counterman.  All rights reserved.
X
XThis software may be redistributed freely, not sold.
XThis copyright notice and disclaimer of warranty must remain unchanged. 
X
XNo representation is made about the suitability of this
Xsoftware for any purpose.  It is provided "as is" without express or
Ximplied warranty, to the extent permitted by applicable law.
X
XDISCLAIMER OF WARRANTY
X----------------------
XThe author  disclaims all warranties  with regard to  this software to
Xthe   extent  permitted  by applicable   law,  including all   implied
Xwarranties  of merchantability  and  fitness. In  no event shall   the
Xauthor be liable for any special, indirect or consequential damages or
Xany  damages whatsoever resulting from  loss of use, data or  profits,
Xwhether in an action of contract, negligence or other tortious action,
Xarising  out of  or in connection with the  use or performance of this
Xsoftware.
X
X@end ifinfo
X
X@titlepage
X@sp 10
X@center @titlefont{Astronomy Tools}
X@sp 2
X@center Craig Counterman
X
X@page
X@vskip 0pt plus 1filll
XCopyright @copyright{} 1990 Craig Counterman.  All rights reserved.
X@end titlepage
X
X@node Top, Introduction, (dir), (dir)    
X@comment  node-name,  next,  previous,  up
X
X@ifinfo
XSeveral observational astronomy tools are documented here.
X@end ifinfo
X
X@menu
X* Introduction::		Introduction to astronomy and the
X				programs, why and how to use them.
X* Observing::			How to plan for an evening of observing:
X				the ``observe'' program.
X* Charts::			Charts and the starchart programs.
X* Data files::			Data files available, file formats.
X* Support programs::		Additional programs to support observe
X				and starchart.
X* Acknowledgments::		Some of the people who contributed to
X				these programs
X
XSub subjects:
X* File formats::		Data file formats.
X* Observing session::		Elements of an observing session.
X* Planetary positions::		Finding the locations of the major
X				planets, Sun and Moon.
X* Comets and asteroids::	Finding the locations of the comets
X				and minor planets.
X
XPrograms:
X* observe::
X* starX11::
X* starXaw::
X* starpost::
X* startool::
X* dataconv::
X* sif-to-text::
X* tosize::
X@end menu
X
X@node Introduction,	Observing,	Top,		Top
X@comment  node-name,  next,  previous,  up
X@chapter Introduction
X@cindex Introduction
X
XThese programs are intended to assist observational astronomers.
X
XStarchart produces astronomical charts from a variety of databases,
Xproducing output for, in rough order of quality, PostScript, X11,
Xsunview, Atari St, IBM PC, X10, tektronix, unix plot, HP laserjet, and
Xtty displays, on Unix, vms and other systems.  It is straightforward to
Xwrite drivers for other output devices.  Observe is a multifunction
Xprogram for use in planning an observing session.  It calculates the
Xpositions of planets and their satellites, asteroids and comets,
Xcalculates rising and setting times, and much more.
X
X@menu
X* Programs::			What the programs do.
X* The Sky::			What's up.
X* Coordinates::			The celestial coordinate system.
X* Epoch and Equinox::		Epoch, Equinox, Proper motion and Precession.
X* Corrections::			Minor corrections to object coordinates.
X* Magnitudes::			The brightness of objects.
X* Time and Date::		Time and date systems.
X* Atmospheric effects::		What the atmosphere does to your
X				observations.
X* Observing Session::		Elements of an observing session.
X* Hints::			Hints for using these programs
X				in a unix environment.
X@end menu
X
XThis software may be redistributed freely, not sold.
X
XNo representation is made about the suitability of this
Xsoftware for any purpose.  It is provided "as is" without express or
Ximplied warranty, to the extent permitted by applicable law.
X
X@iftex
X@heading DISCLAIMER OF WARRANTY
X@end iftex
X@ifinfo
X@center DISCLAIMER OF WARRANTY
X@end ifinfo
X
XThe author  disclaims all warranties  with regard to  this software to
Xthe   extent  permitted  by applicable   law,  including all   implied
Xwarranties  of merchantability  and  fitness. In  no event shall   the
Xauthor be liable for any special, indirect or consequential damages or
Xany  damages whatsoever resulting from  loss of use, data or  profits,
Xwhether in an action of contract, negligence or other tortious action,
Xarising  out of  or in connection with the  use or performance of this
Xsoftware.
X
X
X
X@node Programs, The Sky, Introduction,  Introduction    
X@comment  node-name,  next,  previous,  up
X@section What the Programs Do
X@cindex program introduction
X
XSeveral programs are included in this package, all intended to aid
Xobservational astronomers.  The @code{observe} program calculates positions
Xof moving objects and helps in planning an observing session.  There are
Xseveral starchart programs for preparing astronomical charts; there is a
Xseparate program for each output device.  There are also several support
Xprograms which operate on data files for these programs.
X
XStarchart programs are quite general star map drawing programs and
Xhave many potential uses, but their unique utility is in preparing
Xcustom charts for particular observing projects, finding charts, and a
Xpages that can be put in observing notebook and annotated at will.
X
XThe @code{observe} program provides many facilities of use in planning
Xan observing session.  It can generate ephemerides of planets, minor
Xplanets, and comets, and puts the coordinates in files to be used with
Xstarchart programs.  It calculates the approximate altitude and azimuth
Xof obects at sun rise and set and morning and evening twilights.  It can
Xcalculate positions of the major satellites of Jupiter and Saturn.  Of
Ximportance to observers is the generation of the timetable of events for
Xa night.
X
XOther programs are provided to facilitate the use of these programs.
X
X@node The Sky, Coordinates, Programs, Introduction
X@comment  node-name,  next,  previous,  up
X@section The Sky
X
XThere is a sky.  There are things in the sky.  The starchart programs
Xdraw maps of things in the sky.  The @code{observe} program helps you plan
Xto look at things in the sky.
X
XThe things in the sky include stars, planets, nebulae, clusters of
Xstars, and galaxies. For thousands of years, people have grouped the
Xstars in the sky into patterns, and constellations.  More recently, the
Xsky has been divided into areas based on these constellations.  For
Xhundreds of years, astronomers have used a latitude-longitude grid for
Xdefining the locations of celestial objects.  The longitude is usually
Xreferred to as right ascension or RA, the latitude is the declination or
XDEC.  Through the year, the sun follows a path in the sky, called the
XEcliptic, which is the plane of the earth's orbit.  Other planets in the
Xsolar system are roughly in this plane.
X
XThe locations of stars, nebulae, clusters, and galaxies have been
Xtabulated for hundreds of years.  These programs use computerized forms
Xof such databases.
X
X@node Coordinates, Epoch and Equinox, The Sky, Introduction
X@comment  node-name,  next,  previous,  up
X@section Coordinates
X@cindex coordinate systems
X
XYou should be familiar with the method of specifying a location on the
Xsurface of the earth: two coordinates are used: latitude north of the
Xequator and meridian of longitude east of Greenwich.  A similar system
Xis used to specify the locations of points in the sky.  the meridians
Xare called right ascension, and the latitude is called declination.
XRA is measured from the point at which the sun crosses the equator in
XMarch.  It is measured in hours, with 15 degrees = 1 hour.
X
XThere are two other coordinate systems commonly used in addition to
XRA--dec.  These apply only to a particular observation location and
Xtime.  The first of these is Hour angle -- declination.  It is similar
Xto R.A.--declination, but instead of R.A., the angle is measured west
Xfrom the line from north to south passing directly overhead.  The second
Xis altitude -- azimuth (alt--az): altitude in degrees above the horizon
Xand azimuth in degrees east from north.
X
X@node Epoch and Equinox, Corrections, Coordinates, Introduction
X@comment  node-name,  next,  previous,  up
X@section Epoch and Equinox
X@cindex epoch
X@cindex equinox
X@cindex precession
X@cindex proper motion
X
XThe coordinates of a ``fixed'' object are actually only approximately
Xconstant.  Two factors change the coordinates in R.A. and declination.
X
X@subsection Proper Motion and Epoch
X
XFirst, stars (and other galactic objects) are not fixed in space.  The
Xsun and stars all move.  Only the closer stars move significantly, but
Xcloser stars are also brighter, so this is an important effect.  The
X@dfn{epoch} is the time for which the coordinates are valid including
Xthe effects of this @dfn{proper motion}. 
X
X@subsection Precession and Equinox
X
XThe second and more important factor is that the R.A.  and dec. 
Xcoordinate system changes: the north pole and thus the equator change
Xdue to @dfn{precession}.  R.A.  changes as the equator moves and changes
Xthe point at which the sun crosses the equator.  The @dfn{equinox} date,
Xor @dfn{equator and equinox} is the time at which the coordinate system
Xis valid.  Equinox 2000.0 and 1950.0 are commonly used coordinate
Xsystems.  The equator and equinox of the date is also occasionally
Ximportant. 
X
XThe starchart programs use data in equinox 2000.0 coordinates.
X
X@node Corrections, Magnitudes, Epoch and Equinox, Introduction
X@comment  node-name,  next,  previous,  up
X@section Additional Corrections to Positions
X@cindex minor corrections to positions
X
XPrecession and epoch were discussed above.  In addition there are
Xsmaller effects which must be considered for precise astrometry.  These
Xinclude effects of motion about the earth-moon barycenter, light travel
Xtime, nutation, and aberration of starlight.
X
X@node Magnitudes, Time and Date, Corrections, Introduction
X@comment  node-name,  next,  previous,  up
X@section Magnitudes
X@cindex magnitude
X
XMagnitudes are defined with respect to standards.
X
XObjects emit photons.  The number of photons per second observed from an
Xobject under given conditions and equipment is the intensity of light. 
XA brighter object emits more photons.  The difference in magnitudes
Xbetween two objects is -2.5 times the log (base 10) of the ratio of
Xintensities, i.e. 
X@tex
X$m = m_{std} - 2.5$\ log$_{10} ({{s} \over {s_{std}}})$
X@end tex
X@ifinfo
Xm = m_std - 2.5 log(s/s_std)
X@end ifinfo
X
XMagnitudes are measured in different ways.  The most important are
Xvisual, photographic, and photometric.  Visual and photographic
Xmagnitudes are measured using those methods to estimate relative
Xmagnitudes.  Photometry is the counting of photons received from
Xobjects.  Standard filters are generally used.  The most common set is
XUBVRI, Ultraviolet to Infrared.  The V filter approximates the response
Xof the eye, while the B filter is approximately the response of
Xphotographic film. 
X
XFor a magnitude number to be truely meaningful, the system used must be
Xspecified.  Generally V or visual may be assumed.
X
XFor many objects (V-B), that is the magnitude measured photometrically
Xwith the V filter minus the B magnitude, indicates the color of the object.
X
X@node Time and Date, Atmospheric effects, Magnitudes, Introduction
X@comment  node-name,  next,  previous,  up
X@section Time and Date
X@cindex time
X@cindex date
X
XTime is a very complex subject.
X
X@subsection Time
X
XTime systems include UT (= UT1), UT0, TA1, and UTC.  These times may
Xdiffer by a second or so.  They are based on the rotation of the earth. 
XAs the earth slows, and since the day is not @i{exactly} 86400 seconds
Xlong, leap seconds are occasionally inserted.  They are all
Xapproximately the time at 0 degrees longitude.  Most astronomical times
Xare quoted in UT (universal time).  The differences are rarely critical
Xfor amateurs. 
X
XAnother significant time system TDT (formerly ET), and TBT.  TDT or
XTerrestrial Dynamical Time is based on the orbits of the planets, as is
XTBT or Terrestrial Barycentric Time (based on the center of motion of
Xthe earth-moon system).  These times currently differ from UT by about a
Xminute.  TDT is the time which should be used for planetary calculations.
X
XTime zones relate local time to the time at 0 longitude.  Be aware that
Xthere are some fractional time zones in the world.  Daylight savings
Xtime (or ``summer'' time) is an additional complication.  You should
Xlearn how your time zone is related to the time at 0 longitude (UT or
XGMT).  EST is 5 hours behind, EDT is 4 hours behind.
X
XThese times are all related to the position of the sun: the sun should
Xbe overhead at about noon local standard time.  A different time is
X@dfn{sidereal} time, based on the positions of the stars overhead.  Two
Ximportant sidereal times are GST or Greenwich Sidereal time, and LST or
Xlocal sidereal time.
X
X@subsection Date
X
XCalendars are confused and confusing.  To avoid confusion between the
Xmany calendars in use historically, JD @dfn{Julian date} is used.  The
XJD 0 is a day more than 4000 years BC (BCE).
X
X@node     Atmospheric effects, Observing session, Time and Date, Introduction
X@comment  node-name,  next,  previous,  up
X@section Atmospheric Effects
X
XRefraction affects alt-az  coordinates: light from objects are bent
Xby the atmosphere, making them appear higher in the sky than they would
Xif there were no atmosphere.  The error can reach 34 minutes of arc at the
Xhorizon.  Extinction, absorption and scattering make objects fainter the
Xmore atmosphere the light from them must pass through (that is, the
Xcloser to the horizon they are).  Other effects of the atmosphere are
Xseeing (the effect which produces twinkling of stars), scintillation,
Xairglow, and of course light pollution.
X
X@node Observing session, Hints, Atmospheric effects, Introduction
X@comment  node-name,  next,  previous,  up
X@section Elements of an Observing Session
X
XTo avoid frustration and ensure meeting goals you should plan your
Xobserving session in advance.  More serious the goal the more carefully
Xyou should plan.  At least, having a plan may help you avoid wondering
Xwhat to do next on a clear night. 
X
XA timeline of events ensures that an object will be observable, and
Xhelps schedule a night to observe all objects when they are well placed. 
XThe events are sun and moon rise and set, astronomical twilight, and the
Xrising, setting and transit times of objects.  In addition, objects
Xshould be observed when possible when they are above 30 degrees above
Xthe horizon, or at least above 20 degrees.  These times should also be
Xnoted in the time line.
X
XCharts are used in identifying planets, asteroids, and comets, and
Xfinding objects.  For very faint objects, a photographic atlas of the
Xarea should be xeroxed.
X
XA notebook is an important part of observing.  It can be of scientific
Xnotebook quality, or a simple note of what objects you observed and how
Xthey looked.  Starchart programs may be used to produce finder charts
Xwhich you can annotate and keep in a notebook.
X
X@node Hints, Observing, Observing session, Introduction
X@comment  node-name,  next,  previous,  up
X@section Hints
X
XUse grep, awk and shell scripts.  Unix tools can be very helpful in many
Xsituations.
X
X
X
X@node Observing, Charts,  Introduction, Top
X@comment  node-name,  next,  previous,  up
X@chapter Observing
X@cindex observe
X@pindex observe
X@section The @code{observe} Program
X
XThis program is used to prepare for astronomical observations and for
Xephemeris calculation.  It can calculate the position of the major
Xplanets, the satellites of Jupiter and Saturn, and minor planets and
Xcomets given either orbital elements or a tabulated ephemeris.
XCoordinates of stationary objects may also be input.  It calculates
X(approximate) rise and set times, and transit times, of all objects to
Xbe observed.  It calculates the (approximate) altitude and azimuth of
Xobjects at sun rise and set, and morning and evening twilight.
X
XThe information (coordinates, rise and set times) may be prepared for
Xeither a single time or a sequence of times.
X
XOutput includes a file containing the timetable of events for the
Xevening or evenings.  The coordinates of the sun and moon, plus any
Xplanets, minor planets, and comets are placed in a readable text file,
Xwith other calculated values for solar system objects (e.g. distance to
Xearth).  The coordinates of all objects to be observed are placed in
Xfiles in formats to be read by the other programs in this family, namely
X@code{dataconv} and the starchart charting programs.  A file listing the
X(approximate) altitude and azimuth of objects at sun rise and set, and
Xmorning and evening twilight is output.  If satellite positions are to
Xbe computed, these coordinates are placed in one file, and a separate
XPostScript file graphically showing their positions relative to the
Xprimary is also produced.
X
XThese output files are optional: any subset of the possible output files
Xmay be produced.
X
XParameters set the location of the observer, control what objects are to
Xbe observed, and designate the time or times of interest.
X
XCurrently, there are some limitations to the program:
X@itemize @bullet
X
X@item
XMinor corrections such as parallax and nutation are not made.
X
X@item
XPositions are accurate enough for most applications other than
Xoccultations.
X
X@item
XRise and set times may be off by several minutes.
X
X@item
XPositions of Saturn's satellites are approximate, good enough for
Xidentification of satellites.
X@end itemize
X
X@ifinfo
XHowever, it already does a lot.  For more information:
X@end ifinfo
X
X@menu
X* Input::			Input data and controls
X* Output::			The output files produced
X* Planetary positions::		Finding the locations of the major
X				planets, Sun and Moon.
X* Comets and asteroids::	Finding the locations of the comets
X				and minor planets.
X* Time line::			Schedule of events for the night.
X* Satellite positions::		for the moons of Jupiter and Saturn.
X@end menu
X
X@node Input, Output, Observing, Observing
X@comment  node-name,  next,  previous,  up
X@section Controls and Input for the @code{observe} program
X@cindex observe input
X@cindex observe controls
X
XCommand line options set the location of the observer, control what
Xobjects are to be observed, control the output files produced, and
Xdesignate the time or times of interest.  The default location of the
Xobserver is set when the program is compiled.
X
X@table @samp
X@itemx -m
XMeridian of longitude, measured East of Greenwich.  The USA is West of
XGreenwich, and the longitude is negative for all USA locations.  One to
Xthree numbers can be used: degrees, degrees and minutes, or degrees
Xminutes and seconds. @refill
X
X@itemx -l
XLatitude.  One to three numbers can be used: degrees, degrees and
Xminutes, or degrees minutes and seconds. @refill
X
X@itemx -a
XAltitude in meters. @refill
X
X@itemx -z
XTime zone in hours East of Greenwich, again, this number is negative
Xfor USA locations.  This does not include any effects of daylight
Xsavings. @refill
X
X@itemx -d
XThe date or dates of observation in UT are specified with this flag.
XThe dates for the @samp{-d} option are each specified as a string
Xconsisting of month, day, and optional year (use if different from the
Xcurrent year).  The month may be encoded as above, e.g. @samp{Aug} for
Xaugust.  Using the first three letters of the English name for the month
Xalways works, as does the Roman numeral form.  Some other common
Xabbreviations also work.  The year may also be specified, the default is
Xthe current year.  The day may be fractional, e.g. 1.25 is 6 am UT on
Xthe first.  An optional third parameter is the increment of time to be
Xused in stepping between the two dates. @refill
X
X@itemx -o
XThis sets names used for the output files and controls which output
Xfiles are produced.  The output file names all have the form
X@file{@var{outfile_root}.XXX}, where @var{outfile_root} is set at
Xcompile time (usually to @samp{planet}), or is set to the argument for
Xthis option. The @samp{-o} may be followed with a letter or letters from
Xthe set "aeios" to select the altaz, eph, sif, obs, and star files,
Xrespectively.  e.g. @samp{-oae austin} would produce only the output files
X"austin.altaz" and "austin.eph".
X@refill
X
X@itemx -p
XThe positions of any or all of the major planets at the time(s) may be
Xcalculated.  This is specified either as @samp{-p} which causes the
Xpositions of all planets to be calculated, or individual planets may be
Xspecified by following the @samp{-p} with a letter or letters from the
Xsequence "MVmJsUN".  The positions of the sun and moon are always
Xcalculated, since they always have some effect on observing conditions.
X@refill
X
X@itemx -s
XThe -s option causes the @file{.sat} and @file{.sat_PS} files to be
Xproduced for the satellites of Jupiter and Saturn.  @samp{-s} implies
X@samp{-p}.  With the @samp{-si} option the drawings in the PS file are
Xflipped north to south (if for one time) or east to west (if for
Xmultiple times) to produce an inverted view. @refill
X
X@itemx -f
XInput object data is contained in files in several formats.  The
X@samp{-f @var{filename} @var{format}} option sets this input file.
X@refill
X
X@itemx -n
XFor some input file formats, the name of the object must be specified
Xusing the @samp{-n} option. @refill
X
X@end table
X
XSample data files should be used for the file formats used for input
Xfiles.  The format names are @samp{obj} for fixed objects, @samp{ell_e}
Xand @samp{par_e} for parabolic orbital elements, and @samp{emp},
X@samp{empb}, @samp{aa}, @samp{st}, and @samp{iau} for tabulated
Xephemerides.  The fixed object format contains the coordinates, name,
Xmagnitude, type and size of objects to be observed.  The other file
Xformats are used for comets and minor planets, and are discussed below.
X
X@node Output, Planetary positions, Input, Observing
X@comment  node-name,  next,  previous,  up
X
XThe output files are named @file{@var{outfile_root}.XXX} where XXX is:
X@table @samp
X@itemx altaz
Xaltitude and azimuth of objects at sun rise and set, and morning and
Xevening twilight. @refill
X
X@itemx eph
Xephemeris of sun, moon and objects specified. @refill
X
X@itemx obs
Xobservability of objects: rise and set times of objects, twilight times,
Xetc. @refill
X
X@itemx star
X@samp{lineread} format file containing coordinates (equinox 2000) of the
Xobject(s), sun, moon. @refill
X
X@itemx sif
X@samp{sif} format file containing the same information as the .star file.
XThe separation character is @samp{;}. @refill
X
X@itemx sat
XLocations of the major satellites of Jupiter and Saturn with respect to
Xthe primary. @refill
X
X@itemx sat_PS
XPostScript file drawing either: one page showing appearance of Jupiter
Xand Saturn with satellites, and relative sizes and orientations of
XMercury, Venus, Mars, Jupiter, and Saturn, and the Moon; or several
Xpages showing Jupiter and Saturn with moons on a sequence of times if a
Xrange of dates was specified. @refill
X
X@end table
X
X@node Planetary positions,  Comets and asteroids, Observing, Observing
X@comment  node-name,  next,  previous,  up
X@section Planetary Positions
X@cindex planetary positions
X
XPlanetary positions are calculated with moderate precision.  Formulae
Xare largely from @cite{Astronomical Formulae for Calculators} by Jean
XMeesus.  Minor corrections are currently ignored.
X
X@node Comets and asteroids,  Time line, Planetary positions, Observing
X@comment  node-name,  next,  previous,  up
X@section Comets and Minor Planets
X@cindex comets
X@cindex asteroids
X@cindex minor planets
X
XComets and minor planet positions may be calculated either directly from
Xthe orbital elements or by interpolating a tabulated ephemeris.  The
Xcalculation from orbital elements is most convenient, but the tabulated
Xephemeris is likely to be slightly more accurate.
X
X@menu
X* From orbits::			Parabolic or elliptical.
X* From tables::			in several formats.
X@end menu
X
X@node From orbits, From tables, Comets and asteroids, Comets and asteroids
X@comment  node-name,  next,  previous,  up
X@subsection Orbits
X
XThe coordinates of objects in elliptical or parabolic orbits may be
Xcalculated from orbital elements given in files of format @samp{ell_e}
Xand @samp{par_e} respectively.
X
XOrbital elements are:
X@table @samp
X@itemx a
Xsemimajor axis, A.U.
X
X@itemx q
Xperihelion distance, A.U.
X
X@itemx e
Xeccentricity
X
X@itemx i
Xinclination (degrees)
X
X@itemx omega
Xargument of perihelion
X
X@itemx Omega
Xlongitude of ascending node
X
X@itemx n
Xmean motion (degrees/day)
X
X@itemx M
XMean anomaly at epoch
X
X@itemx T
XTime of perihelion.
X
X@end table
X
XFor elliptical orbits, @samp{q} and @samp{T} are not needed; for
Xparabolic orbits, only @samp{q}, @samp{i}, @samp{omega} and @samp{Omega}
Xare needed. @refill
X
X@tex
XIn the above, @samp{omega} means $\omega$ and @samp{Omega} means $\Omega$.
X@end tex
X
XOrbital elements are referred to a certain equinox, and apply on a
Xcertain epoch date.
X
XIf @samp{a} is not given, it may be calculated from @samp{a} =
X@samp{q}/(1-@samp{e}). @refill
X
XIf @samp{n} is not given, it may be calculated from @samp{n} =
X0.985609/(@samp{a}*sqrt(@samp{a})). @refill
X
XIf @samp{M} is not given, use @samp{M} = (@samp{Epoch_date} - @samp{T})
X* @samp{n}. @refill
X
XThe magnitude of an asteroid may be calculated from two parameters:
X@samp{G} and @samp{H}.  The magnitude of a comet may be calculated from
Xthe parameters @samp{g} and @samp{kappa}. @refill
X
X@node From tables, Time line, From orbits, Comets and asteroids
X@comment  node-name,  next,  previous,  up
X@subsection Interpolation of Ephemerides
X
XAll ephemeris formats have date, RA, DEC, then other info.  Date is the
Xmonth in characters, then the day of the month.  How the month is
Xencoded is format dependent, examples include @samp{IX} @samp{Sept.}
X@samp{Sep} @samp{Sep.} @samp{September}.  Year is current year unless
Xspecified in command line, and is the year of the first date.  Dates
Xmust be in increasing order: 3 followed by 4, December followed by
XJanuary.
X
XThe formats are:
X@table @samp
X@itemx emp
XFormat used in the Russian @cite{Ephemerides of minor planets}.
X
X@itemx empb
XFormat used in the Russian @cite{Ephemerides of minor planets} for
Xbright and unusual asteroids.
X
X@itemx aa
XFormat used by the @cite{Astronomical Almanac}.
X
X@itemx st
XFormat commonly used by @cite{Sky and Telescope} magazine.
X
X@itemx iau
XFormat commonly used by IAU Circulars.
X@end table
X
X@node Time line, Satellite positions, Comets and asteroids, Observing
X@comment  node-name,  next,  previous,  up
X@section Time Line of Events
X
XThe @file{.obs} file contains a timeline of events for the night or nights
Xof observation.  Events include sun and moon rise and set, morning and
Xevening twilight, and for each object to be observed: the rise and set
Xtimes,  the times when they are 20 degrees and 30 degrees above the
Xhorizon, and the time of their transit (when they cross the line from
Xnorth to south passing directly overhead, and are at their maximum
Xaltitude above the horizon).
X
XThe times, especially sun and moon rise and set are approximate.
X
XThe timeline should help you plan your evening, so you know when to
Xbegin and end (twilight), and when the moon will interfere.  It helps
Xyou plan to observe the objects when they are well placed, and ensure
Xthat you can observe an object before it has fallen too low in the sky.
X
X@node Satellite positions, Charts, Time line, Observing
X@comment  node-name,  next,  previous,  up
X@section Satellites of Jupiter and Saturn
X
XThe positions of the major satellites of Jupiter and Saturn are
Xcalculated for the time or times of interest.  The Saturn satellite
Xpositions in particular are approximate, but are certainly good enough
Xfor identification purposes.
X
XThe positions are output in the @file{.sat} file, and also illustrated in
XPostScript in the @file{.sat_PS} file.
X
XIf more than one time is specified, the PostScript program draws many
XJupiters and Saturns with their moons on a page (with separate pages for
XJupiter and Saturn).  If one time is specified, a single page is
Xproduced containing large drawings of Jupiter and Saturn with their
Xmoons.  As a bonus, this single page also illustrates the phases and
Xorientations of Mercury, Venus, Mars, Jupiter and Saturn (with rings),
Xand the moon.
X
X@node Charts, Data files, Observing, Top
X@comment  node-name,  next,  previous,  up
X@chapter Charts
X@cindex starchart
X@cindex charts
X@pindex stardsp
X@pindex starlaser
X@pindex starpost
X@pindex starsunv
X@pindex startek
X@pindex staruplot
X@pindex starX11
X@pindex starXaw
X@section The Starchart Programs 
X
XThe starchart programs are variations of a single program, producing
Xoutput for different output devices.  All the programs produce
Xastronomical star charts from available databases.
X
X@menu
X* Purpose::			The purpose and motivation for starchart.
X* Features::			Some of what it does.
X* Non- and Mis- Features::	Things it doesn't do or doesn't do well.
X* Objects Drawn::		What astronomical objects it draws, and
X				how it draws them.
X* Projection modes::		The supported map projection transformations.
X* The Chart::			What it contains, how it looks.
X* User controls::		Controls over the chart contents and
X				appearance.
X* Standard data files::		The data files containing various map
X				elements.
X* Particular versions::		Each device has its own version.
X* Writing a new version::	for a new device.
X
XUser control methods:
X* Command line::
X* Control and specification files::
X* Interaction::
X@end menu
X
X@node Purpose, Features, Charts, Charts
X@comment  node-name,  next,  previous,  up
X@section Purpose of Starchart
X@cindex purpose of starchart
X
XThe starchart programs have many potential uses: in education, preparing
Xillustrations, becoming familiar with the constellations and the sky;
Xbut it is primarily useful for preparing for observing.  It can prepare
Xlarge scale maps, finder charts, variable star charts, and illustrations
Xfor inclusion in an observing notebook.
X
XA variety of map projections are available for various needs.
X
X@node Features, Non- and Mis- Features, Purpose, Charts
X@comment  node-name,  next,  previous,  up
X@section Features
X
XThere are many many features of potential use.  The programs can:
X@itemize @bullet
X
X@item
XAllow for the creation of star charts of medium quality, comparable to
Xpublished works in data content.
X
X@item
XAllow for the creation of custom star charts for use as finder maps for
Xspecific objects, including the labeling of stars with their magnitudes.
XInverted maps may also be produced.
X
X@item
XAllow for the creation of figures of the sky overhead at any location
Xand time, as in the Sky and Telescope centerfold, or planispheres.
X
X@item
XOptionally include in the above: planets (including the sun, moon,
Xasteroids, comets), fixed stars, nebulae, clusters, etc., lines for
Xconstellation shapes, constellation boundaries, paths of planets, the
Xecliptic, galactic equator, milky way isophots, etc.
X
X@item
XUse color for objects, and stars by spectral type, when available for
Xthe given device.
X
X@item
XLabel stars with their name, number or letter, and/or magnitude.
X
X@item
XLabel other objects by name.
X
X@item
XAllow custom star databases to be used to produce maps of the sky in,
Xfor example, 10,000 B.C.
X
X@item
XInteract on the display to allow for interactive sky exploration, if the
Xdevice supports such interaction.
X@end itemize
X
XStarchart is intended to produce useful displays on any available
Xdevice, and to produce best results on high quality graphics printers,
Xespecially those using PostScript.  Output may be captured in files to
Xbe edited for especially customized maps.  Comments are included in the
Xoutput whenever possible to facilitate this editing.  Given a good
Xobject-oriented editor, professional quality maps may be easily
Xproduced.
X
XThe program has a set of core routines for user interface and data
Xinput, while a set of specialized driver routines is provided for each
Xoutput device.
X
X@node Non- and Mis- Features, Objects Drawn, Features, Charts
X@comment  node-name,  next,  previous,  up
X@section Non- and Mis- Features
X
XThere are some limitations remaining.
X
XThe output is limited by the capabilities of the device.  However, even
Xthe best of the drivers has the following problems: it cannot detect and
Xavoid overlapping labels and stars, and it cannot allow the user to
Xinteract with the display and move the labels.  These limitations are
Xwhat distinguish the output from these programs from a professionally
Xprepared map.
X
XThe current programs do not have user configurable Legend areas.
X
X@node Objects Drawn, Projection modes, Non- and Mis- Features, Charts
X@comment  node-name,  next,  previous,  up
X@section Objects Drawn
X
XThe objects drawn currently include:
X
X@table @samp
X@itemx Stars
XSize represents the magnitude.  For most devices, this is done by
Xrounding to the nearest integer magnitude, and drawing the star based on
Xthis; however, some versions, e.g. @code{starpost} for PostScript, allow
Xfor continuous scaling of the size.  Color is determined from the star's
Xspectral class. @refill
X
X@itemx Planets
XOn some devices, separate symbols are drawn for each planet, on others
Xthey are all represented by the same symbol.  Major planets should be
Xdistinguished from comets and asteroids.  Color may be assigned in the
Xdatabase file. @refill
X
X@itemx Nebulae
XDiffuse, planetary and unspecified nebulae may be
Xdistinguished.  If the device can support it, size may represent the
Xdiameter of the nebulae (if provided in the database).  Color may be
Xassigned in the database file. @refill
X
X@itemx Galaxies
XSpiral, elliptical and unspecified galaxies may be
Xdistinguished.  If the device can support it, size may represent the
Xdiameter of the galaxy (if provided in the database).  Color may be
Xassigned in the database file. @refill
X
X@itemx Clusters
XOpen, globular and unspecified clusters may be
Xdistinguished.  If the device can support it, size may represent the
Xdiameter of the cluster (if provided in the database).  Color may be
Xassigned in the database file. @refill
X
X@itemx Other
XOther identified objects.  If the device can support it,
Xsize may represent the diameter of the object (if provided in the
Xdatabase).  Color may be assigned in the database file. @refill
X
X@itemx Unknown
XFor objects which haven't been identified.  If the
Xdevice can support it, size may represent the diameter of the object
X(if provided in the database).  Color may be assigned in the database
Xfile. @refill
X
X@itemx Vectors
XSolid, dashed, or dotted lines may be drawn using commands in a
Xdatabase.  Lines are drawn as projected segments of great circles, or by
Xlinear interpolation in latitude and longitude between endpoints.  Not
Xall line styles may be supported on some devices.  Color may be assigned
Xin the database file. @refill
X
X@itemx Text
XInvisible objects in a database are used to place text
Xlabels in the chart. @refill
X
X@itemx Comments
XLines for comments are allowed in database files.  They have no effect
Xon displayed output. @refill
X
X@itemx Filled areas
XImplemented as filled areas when possible for the device, otherwise as
Xoutlines.  Area boundaries may be segments of great circles or defined
Xby linear interpolation in latitude and longitude between endpoints.
X@refill
X@end table
X
X@node Projection modes, The Chart, Objects Drawn, Charts
X@comment  node-name,  next,  previous,  up
X@section Projection Modes
X@cindex projection modes
X
XThere are currently five projection modes available for a map.  The
Xdefault is Sanson's sinusoidal projection, which is area-preserving, but
Xfails near the poles.  This projection preserves both area and linearity
Xin Declination (y axis).  It gives good conformality (angle correctness)
Xnear the equator, so it is useful along the Ecliptic.  Lines of RA
Xconverge at the poles (unlike cylindrical projections), though
XCassiopeia and the Dipper reproduce well.
X
XStereographic projection keeps circles circles, and can be used near the
Xpoles.
X
XOrthographic projection is simple but very distorting; it is as if the
Xsphere of the sky were finite in size and viewed from infinity.
X
XGnomonic projection projects great circles as straight lines, and is
Xtherefore very useful for charts to be used to plot meteor paths.  See
Xfor example the October 1988 @cite{Sky and Telescope}.
X
XRectangular projection is the simplest: latitude and longitude are
Xtranslated directly to x and y of the map.  Note that this is neither
Xcylindrical nor Mercator projection.
X
XOnly the main map projection mode may be changed through the command
Xline and @samp{.starrc} format control files; @samp{mapwin} control may change
Xthe projection mode of the thumbnail map.
X
X@node The Chart, User controls, Projection modes, Charts
X@comment  node-name,  next,  previous,  up
X@section The Chart
X
XA @dfn{chart} is a single page or display region.  Within that region are
Xone or more @dfn{map windows}, each of which may have an associated
X@dfn{legend} region.  Each map window is independent of others.  Its
Xattributes are defined in a structure which contains its location and
Xsize, and parameters and flags used in determining what is placed in the
Xwindow.  The detailed appearance of each graphic element to be displayed
Xin the window is up to the driver.  The starchart main routines only
Xdefine the location of the element, and report which routine is calling
Xthe display function.  For each line in every star, planet, vector, or
Xother file, the main routines determine only @emph{what} is to be
Xdrawn, and @emph{where} on the entire device page it appears.  The
Xdevice specific drivers determine exactly how it appears on the
Xdevice. @refill
X
XThe page may have a title region, which is drawn once per page.  This
Xregion is entirely left to the driver.
X
XThe initial values of map window structures are set in the device
Xdriver.  User input from the @samp{.starrc} file and the command line may
Xchange these values, and then the driver has an opportunity to override
Xall settings, possibly through additional user input.  The structure may
Xbe read and written to @samp{mapwin} files, which may be used for input to
Xdifferent drivers and (carefully) editted by the user.
X
X@subsection Layers
X
XA map window consists of several @dfn{layers}.  All layers are optional.
XThe order of layers is determined independently for each map window.
X
XA map window has an @samp{outline}, which is determined by the projection
Xmode.  For the Sanson's projection, RA and DEC tick axes are drawn.
X
XA grid of arbitrary origin and spacing in RA and DEC may be drawn.
XThe RA and DEC lines are in two separate layers, called @samp{ra_grid}
Xand @samp{dec_grid}.
X
XThe @samp{ecliptic} is a separate layer.
X
XA file defining constellation @samp{boundaries} is provided, in
X@samp{lineread} format.  The file contains vectors which are drawn in a
Xseparate layer.  Similarly, a @samp{patterns} file contains figures
Xfor the constellations.  A third file and layer provides names for the
Xconstellations (@samp{constlnames}).
X
XFinally the set of files defined by the user is plotted.  These
Xcurrently include by default and in order a star file @file{yale.star},
Xa file which is an index to files separated by region of sky called
X@file{index.indx}, a nebula database @file{neb.star}, and a planet
Xlocation file @file{planet.star}.  Additional files may be furnished by
Xthe user.
X
XThe default is to treat these as one layer, @samp{allfiles}, and draw
Xthe objects in each file in order.  Alternatively, for each map window,
Xthe order may be changed to draw all the symbols in all the files
Xfollowed by all the names in all the files, etc.  The supported elements
Xwhich are controlled by the data files are: glyph (symbol of object),
Xname (text to the right of object), magnitude label (text below and to
Xthe right of object), vectors, and filled areas.  These are layers
X@file{allfiles}, @file{allglyphs}, @file{allnames}, @file{allmaglbls},
X@file{allvectors}, and @file{allareas}.
X
XEach file has its own cutoff magnitudes for visibility of objects symbol
X(@dfn{maglim}) name label (@dfn{lbllim}) and Bayer/Flamsteed label
X(@dfn{gklim}).
X
XFinally, a @samp{legends} layer displays the legends area, if any, for a
Xwindow.
X
XTo stress: any layer in any window may be skipped, and they may be drawn
Xin any order, independently.
X
X@node User controls, Standard data files, The Chart, Charts
X@comment  node-name,  next,  previous,  up
X@section User Controls
X
XAs many chart controls as feasible may be set by various methods of
Xuser interaction.
X
X@menu
X* Command line::
X* Control and specification files::
X* Interaction::
X@end menu
X
X@node Command line, Control and specification files, User controls, User controls
X@comment  node-name,  next,  previous,  up
X@subsection Command Line Controls
X@cindex starchart command line 
X
XCurrently defined command line arguments are described below.
XAdditional flag interpretation may be done by the device driver:
Xunidentified flags are passed to a driver-specific function which
Xattempts to interpret the flag. All others are undefined, and produce a
Xusage message and error exit.
X
X@tex
X{
X\settabs 8 \columns
X\+Flag & Additional argument type(s) &&& Mnemonic	 \cr
X\+-r &	float &&& {\bf R}ight ascension \cr
X\+-d &	float &&& {\bf D}eclination \cr
X\+-s &	float &&& {\bf S}cale \cr
X\+-m &	float &&& {\bf M}agnitude limit \cr
X\+-l &	float &&& name {\bf L}abel magnitude limit \cr
X\+-g &	float &&& {\bf G}reek label magnitude limit \cr
X\+-p &	[string] &&& {\bf P}olar, or {\bf P}rojection = string.\cr
X\+&&&&		Possible values ``sansons'', ``stereographic'', \cr
X\+&&&&		``orthographic'', ``gnomonic'', ``rectangular''. \cr
X\+-b &	--none-- &&& 	{\bf B}ig map: full page map\cr
X\+-i &	--none-- &&& 	{\bf I}nvert: flip map top to bottom\cr
X\+-t &	string &&& {\bf T}itle \cr
X\+-y &	string &&& {\bf Y}ale.star: star data file \cr
X\+-h &	string &&& {\bf H}arvard index.indx index file \cr
X\+-n &	string &&& {\bf N}eb.star: nebula data file\cr
X\+-w &	string &&& {\bf W}anderers: planet.star planet data file \cr
X\+-f &	string &&& {\bf F}ile: user file \cr
X\+-c &	string [string]	&&& {\bf C}onstellation: a three or four \cr
X\+&&&&			character mnemonic followed by an optional file name;\cr
X\+&&&&			the file is searched for an entry \cr
X\+&&&&			corresponding to that mnemonic: the entry \cr
X\+&&&&			specifies the RA DEC Scale and Title.\cr
X\+-v &	float float &&&	{\bf V}ariable finder: labels stars with their \cr
X\+&&&&			magnitudes if they are within arg2 mags. of arg1 \cr
X\+-x &	float float [float float] &&&	{\bf X} grid: grid in RA and DEC, \cr
X\+&&&&			spacing arg1 and arg2, origin at arg3 arg4\cr
X\+-e &	string &&& {\bf E}xtra: chart control file.\cr
X\+-u &	--none-- &&&	{\bf U}ser input.  Allow keyboard-based user input\cr
X\+-a &	string &&& {\bf A}dditional {\bf A}rgument string:\cr
X\+&&&&		 passed to driver for additional control.\cr
X}
X@end tex
X@ifinfo
X@comment .nf .br  , .fi
XFlag	Additional argument type(s)   Mnemonic
X-r	float			   Right ascension
X-d	float			   Declination
X-s	float			   Scale
X-m	float			   Magnitude limit
X-l	float			   name Label magnitude limit
X-g	float			   Greek label magnitude limit
X-p	[string]		   Polar,
X				   or Projection = string
X				   Possible values ``sansons'',
X				   ``stereographic'',
X				   ``orthographic'', ``gnomonic'',
X				   ``rectangular''.
X-b	--none--		   Big map: full page map
X-i	--none--		   Invert: flip map top to bottom
X-t	string			   Title
X-y	string			   Yale.star: star data file
X-h	string			   Harvard index.indx index file
X-n	string			   Neb.star: nebula data file
X-w	string			   Wanderers: planet.star planet data file
X-f	string			   File: user file
X-c	string [string]		   Constellation: a three or four character
X				   mnemonic followed by an optional file name;
END_OF_FILE
if test 43721 -ne `wc -c <'doc/as.texi.aa'`; then
    echo shar: \"'doc/as.texi.aa'\" unpacked with wrong size!
fi
# end of 'doc/as.texi.aa'
fi
echo shar: End of archive 31 \(of 32\).
cp /dev/null ark31isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ; do
    if test ! -f ark${I}isdone ; then
	MISSING="${MISSING} ${I}"
    fi
done
if test "${MISSING}" = "" ; then
    echo You have unpacked all 32 archives.
    rm -f ark[1-9]isdone ark[1-9][0-9]isdone
else
    echo You still need to unpack the following archives:
    echo "        " ${MISSING}
fi
##  End of shell archive.
exit 0


