Package org.orekit.models.earth
Class PythonGeoMagneticFields
- java.lang.Object
-
- org.orekit.models.earth.PythonGeoMagneticFields
-
- All Implemented Interfaces:
GeoMagneticFields
public class PythonGeoMagneticFields extends Object implements GeoMagneticFields
-
-
Constructor Summary
Constructors Constructor Description PythonGeoMagneticFields()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Part of JCC Python interface to objectGeoMagneticField
getField(GeoMagneticFieldFactory.FieldModel type, double year)
Get theGeoMagneticField
for the given model type and year.GeoMagneticField
getIGRF(double year)
Get the IGRF model for the given year.GeoMagneticField
getWMM(double year)
Get the WMM model for the given year.void
pythonDecRef()
Part of JCC Python interface to objectlong
pythonExtension()
Part of JCC Python interface to objectvoid
pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
-
-
Method Detail
-
pythonExtension
public void pythonExtension(long pythonObject)
Part of JCC Python interface to object
-
pythonExtension
public long pythonExtension()
Part of JCC Python interface to object
-
finalize
public void finalize() throws Throwable
Part of JCC Python interface to object
-
pythonDecRef
public void pythonDecRef()
Part of JCC Python interface to object
-
getField
public GeoMagneticField getField(GeoMagneticFieldFactory.FieldModel type, double year)
Get theGeoMagneticField
for the given model type and year.- Specified by:
getField
in interfaceGeoMagneticFields
- Parameters:
type
- the field model typeyear
- the decimal year- Returns:
- a
GeoMagneticField
for the given year and model - See Also:
GeoMagneticField.getDecimalYear(int, int, int)
-
getIGRF
public GeoMagneticField getIGRF(double year)
Get the IGRF model for the given year.- Specified by:
getIGRF
in interfaceGeoMagneticFields
- Parameters:
year
- the decimal year- Returns:
- a
GeoMagneticField
for the given year - See Also:
GeoMagneticField.getDecimalYear(int, int, int)
-
getWMM
public GeoMagneticField getWMM(double year)
Get the WMM model for the given year.- Specified by:
getWMM
in interfaceGeoMagneticFields
- Parameters:
year
- the decimal year- Returns:
- a
GeoMagneticField
for the given year - See Also:
GeoMagneticField.getDecimalYear(int, int, int)
-
-