|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.forces.atmospheres.solarActivity.SolarActivityToolbox
public final class SolarActivityToolbox
Solar activity toolbox. Has methods to compute mean flux values, to convert from ap to kp.
Method Summary | |
---|---|
static double |
apToKp(double ap)
Convert a single ap coefficient to a kp coefficient |
static double[] |
apToKp(double[] ap)
Convert an array |
static void |
checkApSanity(double ap)
Check that the specified ap coefficient is within bounds |
static void |
checkKpSanity(double kp)
Check that the specified kp coefficient is within bounds |
static double |
getAverageFlux(AbsoluteDate date1,
AbsoluteDate date2,
SolarActivityDataProvider data)
Compute mean flux between given dates. |
static double |
getMeanAp(AbsoluteDate minDate,
AbsoluteDate maxDate,
SolarActivityDataProvider data)
Compute mean flux between given dates (rectangular rule) |
static double |
getMeanFlux(AbsoluteDate date1,
AbsoluteDate date2,
SolarActivityDataProvider data)
Compute mean flux between given dates using trapezoidal rule |
static double |
kpToAp(double kp)
Convert a single kp coefficient to a ap coefficient |
static double[] |
kpToAp(double[] kp)
Convert an array |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static double apToKp(double ap)
ap
- coefficient to convert
public static double kpToAp(double kp)
kp
- coefficient to convert
public static double[] apToKp(double[] ap)
ap
- array to convert
public static double[] kpToAp(double[] kp)
kp
- array to convert
public static double getMeanAp(AbsoluteDate minDate, AbsoluteDate maxDate, SolarActivityDataProvider data) throws OrekitException
minDate
- first date for mean flux computationmaxDate
- last date for mean flux computationdata
- solar data
OrekitException
- if not enough data to cover timespan or if date2 is set before date1public static double getMeanFlux(AbsoluteDate date1, AbsoluteDate date2, SolarActivityDataProvider data) throws OrekitException
date1
- first date for mean flux computationdate2
- last date for mean flux computationdata
- solar data
OrekitException
- if not enough data to cover timespan or if date2 is set before date1public static double getAverageFlux(AbsoluteDate date1, AbsoluteDate date2, SolarActivityDataProvider data) throws OrekitException
date1
- first date for mean flux computationdate2
- last date for mean flux computationdata
- solar data
OrekitException
- if not enough data to cover timespan or if date2 is set before date1public static void checkApSanity(double ap)
ap
- ap coefficientpublic static void checkKpSanity(double kp)
kp
- kp coefficient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |