org.orekit.forces.atmospheres.solarActivity
Class ConstantSolarActivity

java.lang.Object
  extended by org.orekit.forces.atmospheres.solarActivity.ConstantSolarActivity
All Implemented Interfaces:
SolarActivityDataProvider

public class ConstantSolarActivity
extends Object
implements SolarActivityDataProvider

This class represents constant solar activity

Since:
1.1
Version:
$Id: ConstantSolarActivity.java 17582 2017-05-10 12:58:16Z bignon $
Author:
Rami Houdroge
Concurrency :
immutable

Constructor Summary
ConstantSolarActivity(double f107, double ap)
          Constructor for constant solar activity
ConstantSolarActivity(double f107, double ap, double kp)
          Constructor for constant solar activity
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantSolarActivity

public ConstantSolarActivity(double f107,
                             double ap)
Constructor for constant solar activity

Parameters:
f107 - instant flux
ap - ap value

ConstantSolarActivity

public ConstantSolarActivity(double f107,
                             double ap,
                             double kp)
Constructor for constant solar activity

Parameters:
f107 - instant flux
ap - ap value
kp - kp value
Method Detail

getInstantFlux

public double getInstantFlux(AbsoluteDate date)
Get the value of the instantaneous solar flux.

Parameters:
date - the current date
Returns:
the instantaneous solar flux

getAp

public double getAp(AbsoluteDate date)
Get Ap value at given user date

Specified by:
getAp in interface SolarActivityDataProvider
Parameters:
date - user date
Returns:
Ap value

getKp

public double getKp(AbsoluteDate date)
Get Kp value at given user date

Specified by:
getKp in interface SolarActivityDataProvider
Parameters:
date - user date
Returns:
Kp value

getFluxMinDate

public AbsoluteDate getFluxMinDate()
Get minimum date of flux values

Specified by:
getFluxMinDate in interface SolarActivityDataProvider
Returns:
a date

getFluxMaxDate

public AbsoluteDate getFluxMaxDate()
Get maximum date of flux values

Specified by:
getFluxMaxDate in interface SolarActivityDataProvider
Returns:
a date

getApKpMinDate

public AbsoluteDate getApKpMinDate()
Get minimum date of ap / kp values

Specified by:
getApKpMinDate in interface SolarActivityDataProvider
Returns:
a date

getApKpMaxDate

public AbsoluteDate getApKpMaxDate()
Get maximum date of ap / kp values

Specified by:
getApKpMaxDate in interface SolarActivityDataProvider
Returns:
a date

getInstantFluxValues

public SortedMap<AbsoluteDate,Double> getInstantFluxValues(AbsoluteDate date1,
                                                           AbsoluteDate date2)
Get raw instant flux values between the given dates

Specified by:
getInstantFluxValues in interface SolarActivityDataProvider
Parameters:
date1 - first date
date2 - second date
Returns:
submap of instant flux values sorted according to date

getInstantFluxValue

public double getInstantFluxValue(AbsoluteDate date)
                           throws OrekitException
Get instant flux values at the given dates (possibly interpolated)

Specified by:
getInstantFluxValue in interface SolarActivityDataProvider
Parameters:
date - user date
Returns:
instant flux values
Throws:
OrekitException - if no solar activity at date

getMinDate

public AbsoluteDate getMinDate()
Get minimum date at which both flux and ap values are available

Specified by:
getMinDate in interface SolarActivityDataProvider
Returns:
a date

getMaxDate

public AbsoluteDate getMaxDate()
Get maximum date at which both flux and ap values are available

Specified by:
getMaxDate in interface SolarActivityDataProvider
Returns:
a date

getApKpValues

public SortedMap<AbsoluteDate,Double[]> getApKpValues(AbsoluteDate date1,
                                                      AbsoluteDate date2)
Get ap / kp values between the given dates

Specified by:
getApKpValues in interface SolarActivityDataProvider
Parameters:
date1 - first date
date2 - second date
Returns:
submap of instant flux values sorted according to date


Copyright © 2017 CNES. All Rights Reserved.