|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidasv.data.adde.sgp4.SGP4utils
public class SGP4utils
19 June 2009
Nested Class Summary | |
---|---|
static class |
SGP4utils.MDHMS
|
Field Summary | |
---|---|
static char |
OPSMODE_AFSPC
|
static char |
OPSMODE_IMPROVED
|
static double |
pi
|
Constructor Summary | |
---|---|
SGP4utils()
|
Method Summary | |
---|---|
static double |
angle(double[] vec1,
double[] vec2)
|
static double |
asinh(double xval)
|
static void |
cross(double[] vec1,
double[] vec2,
double[] outvec)
|
static SGP4utils.MDHMS |
days2mdhms(int year,
double days)
|
static double |
dot(double[] x,
double[] y)
|
static double[] |
invjday(double jd)
----------------------------------------------------------------------------- procedure invjday this procedure finds the year, month, day, hour, minute and second given the julian date. tu can be ut1, tdt, tdb, etc. |
static double |
jday(int year,
int mon,
int day,
int hr,
int minute,
double sec)
----------------------------------------------------------------------------- procedure jday this procedure finds the julian date given the year, month, day, and time. |
static double |
mag(double[] x)
|
static double[] |
newtonnu(double ecc,
double nu)
----------------------------------------------------------------------------- function newtonnu this function solves keplers equation when the true anomaly is known. |
protected static double |
readFloatFromString(String inStr)
Read float data from a string |
private static boolean |
readLine1(String line1,
SGP4SatData satrec)
|
private static boolean |
readLine2(String line2,
SGP4SatData satrec)
|
static boolean |
readTLEandIniSGP4(String satName,
String line1,
String line2,
char opsmode,
SGP4unit.Gravconsttype whichconst,
SGP4SatData satrec)
Reads the data from the TLE and initializes the SGP4 propogator variables and stores them in the SGP4unit.Gravconsttype object DOES NOT PERFORM ANY INTERNAL CHECK BEYOND BASICS OF THE TLE DATA use other methods to do that if desired. |
static double[] |
rv2coe(double[] r,
double[] v,
double mu)
----------------------------------------------------------------------------- function rv2coe this function finds the classical orbital elements given the geocentric equatorial position and velocity vectors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static double pi
public static char OPSMODE_AFSPC
public static char OPSMODE_IMPROVED
Constructor Detail |
---|
public SGP4utils()
Method Detail |
---|
public static boolean readTLEandIniSGP4(String satName, String line1, String line2, char opsmode, SGP4unit.Gravconsttype whichconst, SGP4SatData satrec)
satName
- line1
- TLE line 1line2
- TLE line 2opsmode
- whichconst
- which constants to use in propogationsatrec
- object to store the SGP4 data
private static boolean readLine1(String line1, SGP4SatData satrec) throws Exception
Exception
private static boolean readLine2(String line2, SGP4SatData satrec) throws Exception
Exception
protected static double readFloatFromString(String inStr) throws Exception
inStr
-
Exception
public static double jday(int year, int mon, int day, int hr, int minute, double sec)
year
- mon
- day
- hr
- minute
- sec
-
public static SGP4utils.MDHMS days2mdhms(int year, double days)
public static double[] invjday(double jd)
jd
-
public static double[] rv2coe(double[] r, double[] v, double mu)
r
- v
- mu
-
public static double[] newtonnu(double ecc, double nu)
ecc
- nu
-
public static double asinh(double xval)
public static double mag(double[] x)
public static void cross(double[] vec1, double[] vec2, double[] outvec)
public static double dot(double[] x, double[] y)
public static double angle(double[] vec1, double[] vec2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |