pyRTX.classes.Planet
Classes
|
|
|
|
|
|
|
- class pyRTX.classes.Planet.PlanetGrid[source]
-
- property attrs
Returns the xarray attributes.
- property axes
Returns the xarray axes values.
- property frame
Returns the name of the grid-fixed frame.
- property dims
Returns the dimension axes of the xarray.
- property periodicity
Returns the property of the grid (temperature / albedo / emissivity).
- class pyRTX.classes.Planet.Planet(fromFile=None, radius=0, name='', bodyFrame='', sunFixedFrame='', units='km', subdivs=4)[source]
- __init__(fromFile=None, radius=0, name='', bodyFrame='', sunFixedFrame='', units='km', subdivs=4)[source]
A class to represent a planet/moon
Input: fromFile : put here an obj file if requested to build the model. If None (default) a sphere with radius defined in “radius” will be built radius : (float) the radius of the planet. Not used if “fromFile” is not None name : (str) the name of the planet bodyFrame: (str) the planet body fixed frame sunFixedFrame: (str) the body centered - sun fixed frame units: (str) [Default: km] the measurement units defining the body (can be km or m) subdivs: (int) [Default: 4] the number of subdivision for the creation of the spherical planet. Note that the number of faces will grow as function of 4 ** subdivisions, so you probably want to keep this under ~5.
- albedoFaces(epoch, spacecraft_name)[source]
Public method: Return the idxs of the mesh faces that are needed for albedo computation at time:epoch for the spacecraft:spacectaft name
- emissivityFaces(epoch, spacecraft_name)[source]
Public method: Return the idxs of the mesh faces and the temperature of each face that are needed for emissivity computation at time:epoch for the spacecraft:spacectaft name
- VFNC(epoch, sunFixedFrame=True)[source]
Public method: Returns V F N C rotating the planet in the sunFixedFrame at epoch epoch V: Vertices F: Faces N: Normals C: Centroids
- property dayside_temperature
- property nightside_temperature
- property gridded_temperature
- property albedo
- property albedo_map
- property emissivity