public class StelaVariableSolarActivity extends AbstractStelaSolarActivity
| Modifier and Type | Field and Description |
|---|---|
protected static double |
CONST_ONE_ON_EIGHT
Constant.
|
protected TreeMap<AbsoluteDate,Double[]> |
entireApKPMap
Entire AP Map
|
protected TreeMap<AbsoluteDate,Double> |
entireFluxMap
Entire Flux Map
|
protected static double |
INTERPOLATION_INTERVAL
Interpolation interval (in days).
|
protected SolarActivityDataProvider |
reader
Solar activity coefficients reader
|
protected TimeScale |
timeScale
TimeScale
|
| Modifier | Constructor and Description |
|---|---|
|
StelaVariableSolarActivity(SolarActivityDataProvider reader)
Constructor of a variable solar activity model.
|
protected |
StelaVariableSolarActivity(SolarActivityDataProvider reader,
StelaSolarActivityType solarActivityType)
Constructor of a solar activity model.
|
| Modifier and Type | Method and Description |
|---|---|
StelaVariableSolarActivity |
copy()
Copy the solar activity model.
|
double |
getAp(AbsoluteDate date)
Get Geomagnetic activity at a specified date.
|
protected AbsoluteDate |
getEndDate()
Get end date.
|
NavigableMap<AbsoluteDate,Double> |
getEntireAPMap()
Get Geomagnetic activity (AP map).
|
double |
getInstantFluxValue(AbsoluteDate date)
Get Solar activity flux at a specified date.
|
protected static StelaPastCyclesSolarActivityReader |
getLoadedPastCyclesSolarActivityReader()
Get the loaded past cycles solar activity reader
|
double |
getMeanFlux(AbsoluteDate date,
double[] weights)
Compute weighted mean flux, given a weights array.
|
double[] |
getSolarActivity(AbsoluteDate date)
Get Solar activity coefficients at a specified date, in the following order: daily flux, mean flux, Ap1, Ap2,
Ap3, Ap4, Ap5, Ap6, Ap7.
|
protected AbsoluteDate |
getStartDate()
Get start date.
|
protected void |
retrieveCurrentMaps()
Get AP and F10.7 maps from the solar activity reader with current dates
|
protected void |
setAPMap(NavigableMap<AbsoluteDate,Double> newMap)
Set the AP map.
|
protected void |
setSolarFluxMap(NavigableMap<AbsoluteDate,Double> newMap)
Set the solar flux map.
|
String |
toString()
Get information of Solar Activity.
|
getSolActType, getStelaDoubleFormatclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetConstantAP, setConstantF107protected static final double INTERPOLATION_INTERVAL
protected static final double CONST_ONE_ON_EIGHT
protected final TimeScale timeScale
protected final SolarActivityDataProvider reader
protected final TreeMap<AbsoluteDate,Double> entireFluxMap
protected final TreeMap<AbsoluteDate,Double[]> entireApKPMap
public StelaVariableSolarActivity(SolarActivityDataProvider reader) throws PatriusException
reader - the solar activity readerPatriusException - for an initialization errorprotected StelaVariableSolarActivity(SolarActivityDataProvider reader, StelaSolarActivityType solarActivityType) throws PatriusException
reader - the solar activity readersolarActivityType - the solar activity typePatriusException - for an initialization errorpublic double getMeanFlux(AbsoluteDate date, double[] weights) throws PatriusException
date - dateweights - weights arrayPatriusException - throw if computation failedpublic double getInstantFluxValue(AbsoluteDate date) throws PatriusException
date - a datePatriusException - thrown if a problem occurs while reading the solar activity filepublic double getAp(AbsoluteDate date) throws PatriusException
date - a datePatriusException - thrown if a problem occurs while reading the solar activity filepublic double[] getSolarActivity(AbsoluteDate date) throws PatriusException
date - a datePatriusException - thrown if a problem occurs while reading the solar activity filepublic String toString()
toString in interface IStelaSolarActivitytoString in class Objectpublic StelaVariableSolarActivity copy() throws PatriusException, IOException, ParseException
PatriusExceptionIOExceptionParseExceptionprotected void retrieveCurrentMaps()
throws PatriusException
PatriusExceptionprotected void setSolarFluxMap(NavigableMap<AbsoluteDate,Double> newMap)
newMap - the new solar flux mapprotected void setAPMap(NavigableMap<AbsoluteDate,Double> newMap)
newMap - the new AP mapprotected AbsoluteDate getStartDate()
protected AbsoluteDate getEndDate()
public NavigableMap<AbsoluteDate,Double> getEntireAPMap()
protected static StelaPastCyclesSolarActivityReader getLoadedPastCyclesSolarActivityReader() throws IOException, ParseException, PatriusException
IOException - if an error occur while the creation of InputStreamsParseException - if data can't be parsedPatriusException - if some data is missing or if some loader specific error occursCopyright © 2025 CNES. All rights reserved.