public class ExtendedSolarActivityWrapper extends Object implements SolarActivityDataProvider
SolarActivityDataProvider
Constructor and Description |
---|
ExtendedSolarActivityWrapper(SolarActivityDataProvider innerProvider,
double duration)
Constructor.
|
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 |
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 ExtendedSolarActivityWrapper(SolarActivityDataProvider innerProvider, double duration)
innerProvider
- underlying solar activity providerduration
- mean duration (s) for extension computation. If this duration is larger than available data
timespan, d will be equal to timespan lengthpublic AbsoluteDate getFluxMinDate()
getFluxMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getFluxMaxDate()
getFluxMaxDate
in interface SolarActivityDataProvider
public AbsoluteDate getMinDate()
getMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getMaxDate()
getMaxDate
in interface SolarActivityDataProvider
public AbsoluteDate getApKpMinDate()
getApKpMinDate
in interface SolarActivityDataProvider
public AbsoluteDate getApKpMaxDate()
getApKpMaxDate
in interface SolarActivityDataProvider
public double getInstantFluxValue(AbsoluteDate date) throws PatriusException
getInstantFluxValue
in interface SolarActivityDataProvider
date
- user datePatriusException
- if no solar activity at datepublic double getAp(AbsoluteDate date) throws PatriusException
getAp
in interface SolarActivityDataProvider
date
- user datePatriusException
- thrown if computation failedpublic double getKp(AbsoluteDate date) throws PatriusException
getKp
in interface SolarActivityDataProvider
date
- user datePatriusException
- thrown if computation failedpublic SortedMap<AbsoluteDate,Double> getInstantFluxValues(AbsoluteDate date1, AbsoluteDate date2) throws PatriusException
getInstantFluxValues
in interface SolarActivityDataProvider
date1
- first datedate2
- second datePatriusException
- if no solar activity at datepublic SortedMap<AbsoluteDate,Double[]> getApKpValues(AbsoluteDate date1, AbsoluteDate date2) throws PatriusException
getApKpValues
in interface SolarActivityDataProvider
date1
- first datedate2
- second datePatriusException
- if no solar activity at dateCopyright © 2018 CNES. All Rights Reserved.