Class TLETheory
- java.lang.Object
-
- org.orekit.propagation.conversion.osc2mean.TLETheory
-
- All Implemented Interfaces:
MeanTheory
public class TLETheory extends Object implements MeanTheory
TLE, i.e. SGP4/SDP4, theory for osculating to mean orbit conversion.- Since:
- 13.0
- Author:
- Pascal Parraud
-
-
Constructor Summary
Constructors Constructor Description TLETheory()
Constructor with default data context and default TLE template.TLETheory(DataContext dataContext)
Constructor with default TLE template.TLETheory(FieldTLE<T> template)
Constructor with default data context.TLETheory(FieldTLE<T> template, DataContext dataContext)
Constructor.TLETheory(FieldTLE<T> template, TimeScale utc, Frame teme)
Constructor.TLETheory(TLE template)
Constructor with default data context.TLETheory(TLE template, DataContext dataContext)
Constructor.TLETheory(TLE template, TimeScale utc, Frame teme)
Constructor.TLETheory(TimeScale utc, Frame teme)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getReferenceRadius()
Gets reference radius of the central body (m).String
getTheoryName()
Gets the name of the theory used for osculating to mean conversion.<T extends CalculusFieldElement<T>>
FieldOrbit<T>meanToOsculating(FieldOrbit<T> mean)
Gets osculating orbit from mean orbit.Orbit
meanToOsculating(Orbit mean)
Gets osculating orbit from mean orbit.<T extends CalculusFieldElement<T>>
FieldOrbit<T>postprocessing(FieldOrbit<T> osculating, FieldOrbit<T> mean)
Post-treatment of the converted mean orbit.Orbit
postprocessing(Orbit osculating, Orbit mean)
Post-treatment of the converted mean orbit.<T extends CalculusFieldElement<T>>
FieldOrbit<T>preprocessing(FieldOrbit<T> osculating)
Pre-treatment of the osculating orbit to be converted.Orbit
preprocessing(Orbit osculating)
Pre-treatment of the osculating orbit to be converted.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.conversion.osc2mean.MeanTheory
initialize, initialize
-
-
-
-
Field Detail
-
TMP_L1
public static final String TMP_L1
First line of arbitrary TLE. Should not impact conversion.- See Also:
- Constant Field Values
-
TMP_L2
public static final String TMP_L2
Second line of arbitrary TLE. Should not impact conversion.- See Also:
- Constant Field Values
-
THEORY
public static final String THEORY
Theory used for converting from osculating to mean orbit.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TLETheory
@DefaultDataContext public TLETheory()
Constructor with default data context and default TLE template.
-
TLETheory
@DefaultDataContext public TLETheory(TLE template)
Constructor with default data context.- Parameters:
template
- template TLE
-
TLETheory
@DefaultDataContext public TLETheory(FieldTLE<T> template)
Constructor with default data context.- Type Parameters:
T
- type of the elements- Parameters:
template
- template TLE
-
TLETheory
public TLETheory(DataContext dataContext)
Constructor with default TLE template.- Parameters:
dataContext
- data context
-
TLETheory
public TLETheory(TimeScale utc, Frame teme)
Constructor.- Parameters:
utc
- UTC scaleteme
- TEME frame scale
-
TLETheory
public TLETheory(TLE template, DataContext dataContext)
Constructor.- Parameters:
template
- template TLEdataContext
- data context
-
TLETheory
public TLETheory(TLE template, TimeScale utc, Frame teme)
Constructor.- Parameters:
template
- template TLEutc
- UTC scaleteme
- TEME frame scale
-
TLETheory
public TLETheory(FieldTLE<T> template, DataContext dataContext)
Constructor.- Type Parameters:
T
- type of the elements- Parameters:
template
- template TLEdataContext
- data context
-
-
Method Detail
-
getTheoryName
public String getTheoryName()
Gets the name of the theory used for osculating to mean conversion.- Specified by:
getTheoryName
in interfaceMeanTheory
- Returns:
- the actual theory
-
getReferenceRadius
public double getReferenceRadius()
Gets reference radius of the central body (m).- Specified by:
getReferenceRadius
in interfaceMeanTheory
- Returns:
- reference radius of the central body
-
preprocessing
public Orbit preprocessing(Orbit osculating)
Pre-treatment of the osculating orbit to be converted.The osculating orbit is transformed to TEME frame.
- Specified by:
preprocessing
in interfaceMeanTheory
- Parameters:
osculating
- the osculating orbit to be treated- Returns:
- preprocessed osculating orbit
-
meanToOsculating
public Orbit meanToOsculating(Orbit mean)
Gets osculating orbit from mean orbit.- Specified by:
meanToOsculating
in interfaceMeanTheory
- Parameters:
mean
- mean orbit- Returns:
- osculating orbit
-
postprocessing
public Orbit postprocessing(Orbit osculating, Orbit mean)
Post-treatment of the converted mean orbit.The mean orbit returned is a Keplerian orbit in TEME frame.
- Specified by:
postprocessing
in interfaceMeanTheory
- Parameters:
osculating
- the osculating orbit to be convertedmean
- the converted mean orbit- Returns:
- postprocessed mean orbit
-
preprocessing
public <T extends CalculusFieldElement<T>> FieldOrbit<T> preprocessing(FieldOrbit<T> osculating)
Pre-treatment of the osculating orbit to be converted.The osculating orbit is transformed to TEME frame.
- Specified by:
preprocessing
in interfaceMeanTheory
- Type Parameters:
T
- type of the field elements- Parameters:
osculating
- the osculating orbit to be treated- Returns:
- preprocessed osculating orbit
-
meanToOsculating
public <T extends CalculusFieldElement<T>> FieldOrbit<T> meanToOsculating(FieldOrbit<T> mean)
Gets osculating orbit from mean orbit.- Specified by:
meanToOsculating
in interfaceMeanTheory
- Type Parameters:
T
- type of the field elements- Parameters:
mean
- mean orbit- Returns:
- osculating orbit
-
postprocessing
public <T extends CalculusFieldElement<T>> FieldOrbit<T> postprocessing(FieldOrbit<T> osculating, FieldOrbit<T> mean)
Post-treatment of the converted mean orbit.The mean orbit returned is a Keplerian orbit in TEME frame.
- Specified by:
postprocessing
in interfaceMeanTheory
- Type Parameters:
T
- type of the field elements- Parameters:
osculating
- the osculating orbit to be convertedmean
- the converted mean orbit- Returns:
- postprocessed mean orbit
-
-