public class LightingRatio extends Object implements Serializable
EclipseDetector
and
SolarRadiationPressure
:
The lighting ratio is the percentage of occulted body visible from spacecraft.
Signal propagation can be taken into account.
Computation hypothesis:
Constructor and Description |
---|
LightingRatio(BodyShape occultingBody,
PVCoordinatesProvider occultedBody,
double occultedRadius)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
compute(PVCoordinatesProvider pv,
AbsoluteDate date)
Compute lighting ratio.
|
double |
computeExtended(PVCoordinatesProvider pv,
AbsoluteDate date)
Compute extended lighting ratio.
|
double |
getEpsilonSignalPropagation()
Getter for the epsilon for signal propagation when signal propagation is taken into account.
|
Frame |
getInertialFrame()
Getter for the inertial frame used for signal propagation computation.
|
int |
getMaxIterSignalPropagation()
Getter for the maximum number of iterations for signal propagation when signal propagation is taken into account.
|
AbstractSignalPropagationDetector.PropagationDelayType |
getPropagationDelayType()
Getter for the propagation delay type.
|
void |
setEpsilonSignalPropagation(double epsilon)
Setter for the epsilon for signal propagation when signal propagation is taken into account.
This epsilon (in s) directly reflect the accuracy of signal propagation (1s of accuracy = 3E8m of accuracy on distance between emitter and receiver) |
void |
setMaxIterSignalPropagation(int maxIterSignalPropagationIn)
Setter for the maximum number of iterations for signal propagation when signal propagation is taken into account.
|
void |
setPropagationDelayType(AbstractSignalPropagationDetector.PropagationDelayType propagationDelayTypeIn,
Frame frameIn)
Setter for the propagation delay computation type.
|
public LightingRatio(BodyShape occultingBody, PVCoordinatesProvider occultedBody, double occultedRadius)
occultingBody
- occulting bodyoccultedBody
- occulted body PVoccultedRadius
- occulted body radiuspublic double compute(PVCoordinatesProvider pv, AbsoluteDate date) throws PatriusException
pv
- pv of spacecraftdate
- spacecraft datePatriusException
- thrown if computation failedpublic double computeExtended(PVCoordinatesProvider pv, AbsoluteDate date) throws PatriusException
pv
- pv of spacecraftdate
- spacecraft datePatriusException
- thrown if computation failedpublic AbstractSignalPropagationDetector.PropagationDelayType getPropagationDelayType()
public void setPropagationDelayType(AbstractSignalPropagationDetector.PropagationDelayType propagationDelayTypeIn, Frame frameIn)
propagationDelayTypeIn
- Propagation delay type used in events computationframeIn
- Frame to use for signal propagation with delay (may be null if propagation delay type is
considered instantaneous). Warning: the usage of a pseudo inertial frame is tolerated, however it will
lead to some inaccuracies due to the non-invariance of the frame with respect to time. For this reason,
it is suggested to use the ICRF frame or a frame which is frozen with respect to the ICRF.IllegalArgumentException
- if the provided frame is not pseudo inertial.public Frame getInertialFrame()
public double getEpsilonSignalPropagation()
public void setEpsilonSignalPropagation(double epsilon)
epsilon
- Epsilon for the signal propagationpublic int getMaxIterSignalPropagation()
public void setMaxIterSignalPropagation(int maxIterSignalPropagationIn)
maxIterSignalPropagationIn
- Maximum number of iterations for signal propagationCopyright © 2023 CNES. All rights reserved.