[Previous]
[Next]
NAME:
KeplerOrbit
PURPOSE:
Calculate positions and velocities for a simple Kepler orbit
(of body m2 relative to body m1)
CATEGORY:
smei/gen/idl/ephem
CALLING SEQUENCE:
FUNCTION KeplerOrbit, T , $
elements = OrbitElements , $
plane = OrbitPlane , $
m1 = m1 , $
m2 = m2 , $
degrees = Degrees , $
velocity = velocity , $
angularvelocity=angularvelocity
INPUTS:
T array; type: standard time structure
times (UT)
elements=OrbitElements
array[4]; type: float
OrbitElement[0] Semi-major axis
OrbitElement[1] Eccentricity
OrbitElement[2] Argument of perihelion
=angle(ascending node-perihelion)
OrbitElement[3] Time of perihelion passage in days since 2000, Jan 1.5 (njd)
OPTIONAL INPUT PARAMETERS:
plane=OrbitPlane
array[2]; type: float
OrbitElement[0] Longitude ascending node
OrbitElement[1] Inclination of orbital plane
m1=m1 scalar; type: float: default: 1 (solar mass)
mass of primary body in units of the solar mass
m2=m2 scalar; type: float: default: 0 (ignored)
mass of secondary body in units of the solar mass
OUTPUTS:
R array[3,*]; type: float
longitude (deg/rad), latitude (deg/rad) and distance (AU)
the angular units depend on the setting of /degrees
OPTIONAL OUTPUT PARAMETERS:
velocity=velocity
array[3,*]; type: float
velocity, tangential velocity and radial velocity (AU/day)
in orbital plane
angularvelocity=angularvelocity
longitude (deg/rad), latitude (deg/rad) and magnitude (AU/day)
of velocity vector
INCLUDE:
@compile_opt.pro ; On error, return to caller
EXTERNAL:
EqKepler
CALLS: ***
EulerRotate, InitVar, TimeGet, ToRadians, nrZBrent
CALLED BY:
HOSOrbit, MessengerOrbit, RemoteView_BodyLoc, StereoAOrbit, StereoBOrbit
UlyssesOrbit, mpc_orbit_eph
PROCEDURE:
Standard Kepler orbit stuff
MODIFICATION HISTORY:
SEP-1998, Paul Hick (UCSD/CASS)
SEP-1999, Paul Hick (UCSD/CASS; pphick@ucsd.edu)
modified to work with time structures
[Previous]
[Next]
NAME:
krill_request_bars
CALLING SEQUENCE:
PRO krill_request_bars, cntfile, $
file = file , $
silent = silent , $
zbuffer = zbuffer , $
type = type , $
accounts = accounts , $
title_in_header = title_in_header , $
monthly = monthly , $
quarterly = quarterly , $
yearly = yearly , $
sizes = sizes , $
twodigityear = twodigityear , $
xysize = xysize , $
sort_stack = sort_stack , $
group_name = group_name , $
long_time_axis = long_time_axis , $
_extra = _extra
INCLUDE:
@compile_opt.pro
CALLS: ***
GetFileSpec, InitVar, IsType, REVERSE, TimeGet, TimeString, TimeSystem, TimeUnit
get_page, plotcolumns, set_page, txt_block_read
[Previous]
[Next]
NAME:
krill_request_stats
CALLING SEQUENCE:
PRO krill_request_stats, cntfile, $
file = file , $
queue_name = queue_name_ , $
queue_label = queue_label , $
passive = passive , $
topology = topology , $
dnsrtt = dnsrtt , $
telescope = telescope , $
rttelescope = rttelescope , $
ddos = ddos , $
spoofer = spoofer , $
dnslookups = dnslookups , $
gb = gb , $
response = response , $
cdf = cdf , $
silent = silent , $
zbuffer = zbuffer , $
charsize = charsize , $
quarterly = quarterly , $
annual = annual , $
_extra = _extra
INCLUDE:
@compile_opt.pro
CALLS: ***
GetFileSpec, InitVar, IsType, PlotBars, PlotCurves, TimeGet, TimeSet, TimeSystem
TimeUnit, get_page, set_page, txt_block_read