public class ConstantSolarActivity extends Object implements SolarActivityDataProvider
Constructor and Description |
---|
ConstantSolarActivity(double f107,
double ap)
Constructor for constant solar activity
|
ConstantSolarActivity(double f107,
double ap,
double kp)
Constructor for constant solar activity
|
Modifier and Type | Method and Description |
---|---|
double |
getAp(AbsoluteDate date)
Get Ap value at given user date
|
AbsoluteDate |
getApKpMaxDate()
Get maximum date of ap / kp values
|
AbsoluteDate |
getApKpMinDate()
Get minimum date of ap / kp values
|
SortedMap<AbsoluteDate,Double[]> |
getApKpValues(AbsoluteDate date1,
AbsoluteDate date2)
Get ap / kp values between the given dates
|
AbsoluteDate |
getFluxMaxDate()
Get maximum date of flux values
|
AbsoluteDate |
getFluxMinDate()
Get minimum date of flux values
|
double |
getInstantFlux(AbsoluteDate date)
Get the value of the instantaneous solar flux.
|
double |
getInstantFluxValue(AbsoluteDate date)
Get instant flux values at the given dates (possibly interpolated)
|
SortedMap<AbsoluteDate,Double> |
getInstantFluxValues(AbsoluteDate date1,
AbsoluteDate date2)
Get raw instant flux values between the given dates
|
double |
getKp(AbsoluteDate date)
Get Kp value at given user date
|
AbsoluteDate |
getMaxDate()
Get maximum date at which both flux and ap values are available
|
AbsoluteDate |
getMinDate()
Get minimum date at which both flux and ap values are available
|
public ConstantSolarActivity(double f107, double ap)
f107
- instant fluxap
- ap valuepublic ConstantSolarActivity(double f107, double ap, double kp)
f107
- instant fluxap
- ap valuekp
- kp valuepublic double getInstantFlux(AbsoluteDate date)
date
- the current datepublic double getAp(AbsoluteDate date)
getAp
in interface SolarActivityDataProvider
date
- user datepublic double getKp(AbsoluteDate date)
getKp
in interface SolarActivityDataProvider
date
- user datepublic AbsoluteDate getFluxMinDate()
getFluxMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getFluxMaxDate()
getFluxMaxDate
in interface SolarActivityDataProvider
public AbsoluteDate getApKpMinDate()
getApKpMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getApKpMaxDate()
getApKpMaxDate
in interface SolarActivityDataProvider
public SortedMap<AbsoluteDate,Double> getInstantFluxValues(AbsoluteDate date1, AbsoluteDate date2)
getInstantFluxValues
in interface SolarActivityDataProvider
date1
- first datedate2
- second datepublic double getInstantFluxValue(AbsoluteDate date) throws PatriusException
getInstantFluxValue
in interface SolarActivityDataProvider
date
- user datePatriusException
- if no solar activity at datepublic AbsoluteDate getMinDate()
getMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getMaxDate()
getMaxDate
in interface SolarActivityDataProvider
public SortedMap<AbsoluteDate,Double[]> getApKpValues(AbsoluteDate date1, AbsoluteDate date2)
getApKpValues
in interface SolarActivityDataProvider
date1
- first datedate2
- second dateCopyright © 2019 CNES. All Rights Reserved.