script help - cannot display comet's orbit
Posted: 11.04.2004, 01:13
I tried to write a script to view the soon visible comet LINEAR C/2002 T7. It appears to place the comet in the right place at the right time, but I cannot view it's orbit like I can with the other comets. This is a non periodic hyperbolic orbit, is that why? Or have I got this all wrong?
(If I can get this working right, I would like to write one for the upcoming comet NEAT C/2001 Q4, also soon to be visible in our southern hemisphere sky.)
(If I can get this working right, I would like to write one for the upcoming comet NEAT C/2001 Q4, also soon to be visible in our southern hemisphere sky.)
#C/2002 T7 (LINEAR)
# "name of object" "name of primary"
"2002 T7 LINEAR" "Sol"
{
Class "comet"
Texture "asteroid.jpg"
Mesh "asteroid.cms"
Radius 20.0 # arbitrary
RotationPeriod 11.34 # arbitrary
# non periodic hyperbolic
# taken from
# http://cfa-www.harvard.edu/iau/Ephemerides/Comets/
EllipticalOrbit # non-periodic hyperbolic
{
Period 41106.25 # calculated: (q/(e-1))^1.5 (hyperbolic)
PericenterDistance 0.614594 # q
Eccentricity 1.000516 # e
Inclination 160.5833 # Incl.
AscendingNode 94.8588 # Node
ArgOfPericenter 157.7368 # Peri.
MeanAnomaly 0.0 # position at T (unknown)
Epoch 2453120.5 # T
}
InfoURL "http://www.jpl.nasa.gov/comet/"
}