Home
Manual
Packages
Global Index
Keywords
Quick Reference
|
all functions - k
kepler
|
xyz = kepler(orbit, time)
or xyz = kepler(orbit, time, ma, ta, norb)
return 3-dimsof(orbit(1,..))-by-dimsof(time) XYZ coordinates
corresponding to the orbit(s) ORBIT and time(s) TIME. Optionally
return mean anomaly MA, true anomaly TA, and integer number of
orbits, each a dimsof(orbit(1,..))-by-dimsof(time) array. The
MA and TA are in radians. The x-axis is along the line of the
vernal equinox, the z-axis is ecliptic north.
ORBIT has leading dimension 12: [angle from perihelion, mean daily
motion, semi-major axis, d/dt(semi-major axis), eccentricity,
d/dt(eccentricity), longitude of ascending node, d/dt(ascending
node), angle from ascending node to perihelion, d/dt(perihelion),
inclination, d/dt(inclination)]
(Six pairs of a quantity and its time derivative.)
The angles are in degrees; d/dt units must match TIME units.
Mean anomaly is not an angle in real space; it is the quantity
proportional to time in Kepler's equation. True anomaly is the
angle from perihelion to planet.
With a non-nil, non-zero full= keyword, return XYZUVW -- that is,
six coordinates including velocities as well as positions.
interpreted function, defined at i/kepler.i line 6
|
SEE ALSO:
|
sch_planets,
jpl_planets,
sch_moon,
moon,
solar_system
|
kepler2
|
xyz = kepler2(orbit, xyz0)
or xyz = kepler2(orbit, xyz0, time, ma, ta)
return dimsof(xyz0) XYZ coordinates corresponding to the orbit(s)
ORBIT and direction(s) XYZ0. The dimensions of ORBIT beyond the
first, if any, must match those of XYZ0, although XYZ0 may have
any number of trailing dimensions.
Optionally return TIME, mean anomaly MA, and true anomaly TA,
each a dimsof(orbit(1,..))-by-dimsof(time) array. The MA and TA
are in radians. The x-axis is along the line of the vernal
equinox, the z-axis is ecliptic north. The XYZ0 direction is first
projected into the plane of the orbit; then XYZ will be proportional
to XYZ0. The time derivatives of the ORBIT elements are ignored.
ORBIT has leading dimension 12: [angle from perihelion, mean daily
motion, semi-major axis, d/dt(semi-major axis), eccentricity,
d/dt(eccentricity), longitude of ascending node, d/dt(ascending
node), angle from ascending node to perihelion, d/dt(perihelion),
inclination, d/dt(inclination)]
(Six pairs of a quantity and its time derivative.)
The angles are in degrees; d/dt units must match TIME units.
Mean anomaly is not an angle in real space; it is the quantity
proportional to time in Kepler's equation. True anomaly is the
angle from perihelion to planet.
interpreted function, defined at i/kepler.i line 89
|
SEE ALSO:
|
sch_planets,
jpl_planets,
sch_moon,
moon,
solar_system
|
keybd_focus
|
keybd_focus, on_off
By default, graphics windows set a window manager hint which
allows them to accept keyboard focus. With ON_OFF zero, that
hint will not be set when a new graphics window is created.
This causes the window manager to refuse to offer keyboard
focus to the graphics window -- very desirable, since it can't
accept keyboard input anyway. With fvwm, for example, this
means keyboard focus can stay in the terminal window even when
you are mouse zooming the graphics window. However, many
window managers confuse colormap focus with keyboard focus, so
if you set the private=1 colormap in the window function, you
may not be able to convince the window manager to give the
graphics window colormap focus since it won't give it keyboard
focus. Weird.
builtin function, documented at i0/graph.i line 1393
|
|