Geometry module
Contents
Geometry
module#
Core classes#
Geometry#
- class gfinder.geometry.Geometry(parameters, geoevt=None, silent=None)[source]#
Bases:
object
Abstract class that represents any types of geometrical data associated to an instant acquisition (measurement), an observation, or a sequence.
- Parameters
name (str) – name of the Geometry class
geoevt (GeometryEvent) – associated GeometryEvent object (passed as optional argument to the constructor)
searchable (boolean) – whether or not this class of Geometry object is searchable
required_parameters_sets (list) – list of required parameters
parameters (dict) – parameters required to compute geometry data
dimension (int) – data array dimension (default is 0, scalar)
units (float) – data units
prefix (float) – prefix to be used for naming each data array element. For example, SubSC_Point, which is 2-element vector data, prefixes are defined to be [‘lon’, ‘lat’] (see
SubSC_Point
).data (NoneType) – data value, which can be a scalar, vector, or multidimentional array.
valid (boolean) – whether or not Geometry object is valid
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
- check_parameters_set(parameters, required_parameters_set)[source]#
Check input parameters against a set of required parameters.
- check_validity()[source]#
Check overall validity of Geometry object.
Checked when not abstract objects are created.
Condition#
GeometryFactory#
- class gfinder.geometry.GeometryFactory[source]#
Bases:
object
Class responsible for creating Geometry objects from input geometry definition.
- Parameters
Constructor method.
- get_geometries(name_filter='', class_filter='', searchable=False)[source]#
Returns Geometry class names matching input query.
- Parameters
searchable –
name_filter –
class_filter –
Returns:
Low-level Geometry classes#
Scalar#
- class gfinder.geometry.Scalar(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Geometry
Abstract Geometry class that holds scalar data.
- Parameters
type (str) – scalar type:
numerical
(default) orboolean
Scalar constructor class.
- Returns
Scalar object
- Return type
- search(condition, cnfine, step)[source]#
Search and return times when input geometric condition is met.
- Parameters
condition – input condition that relates to the scalar quantity.
cnfine (SpiceCell) – SPICE window to which the search is restricted.
step (float) – Step size used for locating extrema and roots.
- Returns
SPICE window containing result
- Return type
SpiceCell
Vector#
- class gfinder.geometry.Vector(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Geometry
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Multidimentional#
- class gfinder.geometry.Multidimentional(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Geometry
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
High-level Geometry classes#
Direction#
- class gfinder.geometry.Direction(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Direction abstract class
Any Direction children classes/objects can be used as input vector for the simulated SC attitude (when not pointing-dependent !!)
It can be used as input to the Directions_Separation_Angle class.
It can be represented in the “pointing”/”NOA” coordinates space (PointingViewer)
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Geolocation#
- class gfinder.geometry.Geolocation(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Geolocation abstract class - MapViewer
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Geometry classes#
Angular_Separation#
Boresight_Target_Angle#
Detector_Backward_Boresight#
- class gfinder.geometry.Detector_Backward_Boresight(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Detector_Boresight#
- class gfinder.geometry.Detector_Boresight(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Detector_Boresight_Altitude#
- class gfinder.geometry.Detector_Boresight_Altitude(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Altitude of the detector boresight tangent point above the target surface.
Scalar constructor class.
- Returns
Scalar object
- Return type
Detector_Boresight_Ground_Drift#
Detector_Boresight_Target_Point#
- class gfinder.geometry.Detector_Boresight_Target_Point(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Geolocation
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Detector_FOV#
- class gfinder.geometry.Detector_FOV(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Detector_FOV_Footprint#
- class gfinder.geometry.Detector_FOV_Footprint(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Geolocation
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Detector_Forward_Boresight#
- class gfinder.geometry.Detector_Forward_Boresight(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Directions_Angular_Separation#
- class gfinder.geometry.Directions_Angular_Separation(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Compute separation angle between two direction vectors.
Example of usage in ODF file:
"name": "Directions_Angular_Separation", "parameters": { "direction1": { "name": "SC_Vector", "parameters": { "vector": [0.0, 1.0, 0.0] } }, "direction2": { "name": "Observer_Target_Velocity", "parameters": { "target": "JUPITER" } }, }
Scalar constructor class.
- Returns
Scalar object
- Return type
Distance_To_Target#
Dwell_Time#
Equatorial_Coverage#
- class gfinder.geometry.Equatorial_Coverage(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Geometry class representing the maximum MAJIS scanner latitudinal coverage on a given target, as seen from its equatorial plane.
Initially implemented to enable the definition of MAJIS Jupiter Disk Nadir Scan observation opportunity.
Scalar constructor class.
- Returns
Scalar object
- Return type
Ground_Speed#
Ground_Track_Across_Direction#
- class gfinder.geometry.Ground_Track_Across_Direction(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
NOT AVAILABLE (WIP). Ground_Track_Across_Direction.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Limb#
- class gfinder.geometry.Limb(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Limb_Directions#
- class gfinder.geometry.Limb_Directions(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Limb_Distance#
Limb_Latitudes#
- class gfinder.geometry.Limb_Latitudes(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Limb_Max_Latitude#
Limb_Min_Latitude#
Limb_Point_Direction#
- class gfinder.geometry.Limb_Point_Direction(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Limb_Point_Tangent_Direction#
- class gfinder.geometry.Limb_Point_Tangent_Direction(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
MAJIS_Scan_Angle#
- class gfinder.geometry.MAJIS_Scan_Angle(parameters, geoevt=None, silent=None, scan_duration=None)[source]#
Bases:
gfinder.geometry.Scalar
MAJIS_Scan_Angle.
- Parameters
Scalar constructor class.
- Returns
Scalar object
- Return type
- get_scanner_angle(time)[source]#
Returns scanner angle corresponding to a given time since scan start.
- Parameters
time –
- get_valid_scanner_angle(angle)[source]#
Returns valid scanner angle corresponding to an input angle.
- Parameters
angle – input (mechanical) scanner angle, in degrees.
- is_valid_scanner_angle(angle)[source]#
Returns whether or not an input angle is valid.
- Parameters
angle – input (mechanical) scanner angle, in degrees.
Returns:
Motion_Compensation#
- class gfinder.geometry.Motion_Compensation(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Geometry class that computes the detector boresight rotation angle required for two consecutive detector FOV (slit) footprints to be contiguous (avoiding overlapping or drifting). Motion compensation is required when dwell time is greater or lower than the repetition time between two detector acquisitions.
It holds the coordinates of the rotated (compensated) forward- and backward-boresights surface intersect points in the target body-fixed frame. These coordinates are used to derive the required rotation angle of the next detector acquisition, and scan mirror position.
In our computation approach, we currently make the following hypothesis:
Boresight points in the “nadir” direction (vector from spacecraft to sub-spacecraft point or target center)
Slit (detector FOV) is perpendicular to orbital plane (velocity vector)
Spacecraft is in forward motion (velocity vector co-aligned with +Ysc axis)
Note for later: Direction-class-based method, by which only the SC pointing would be simulated (disabling the MAJIS Scan frame simulator). This would allow to determine the scanner motion required by any SC pointings (off-track pointing for example).
simulator.turn_off(frame=’JUICE_MAJIS_SCAN’) detector_bsight = Direction() detector_bsight.setDirection(self.detector.frame, self.detector.get_forward_bsight()) #detector_bsight.toJ2000(et) Q: why would I transform to J2000 ? forward_bsight_pvec = detector_bsight.data simulator.turn_on(frame=’JUICE_MAJIS_SCAN’)
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Motion_Compensation_Angle#
No_Compensation_Required#
North_Pole_Direction#
- class gfinder.geometry.North_Pole_Direction(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
North_Pole_Direction.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Obs_Limb_Latitudinal_Range#
- class gfinder.geometry.Obs_Limb_Latitudinal_Range(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Observable limb latitudinal range during an observation opportunity.
Constructor.
- Parameters
parameters –
geoevt –
silent –
Obs_Max_Phase_Angle#
Obs_Max_SC_Altitude#
Obs_Max_Spatial_Resolution#
Obs_Min_Phase_Angle#
Obs_Min_SC_Altitude#
Obs_Min_Spatial_Resolution#
Obs_Ref_SubSC_Position#
- class gfinder.geometry.Obs_Ref_SubSC_Position(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Obs_SC_Slew_Parameters#
- class gfinder.geometry.Obs_SC_Slew_Parameters(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Obs_SC_Slew_Parameters.
Requires Target_Angular_Size data.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Obs_Scanner_Motion_Parameters#
- class gfinder.geometry.Obs_Scanner_Motion_Parameters(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Observed_Ring_Point#
- class gfinder.geometry.Observed_Ring_Point(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Vector-type data container for detector’s boresight observed Jovian ring’s point coordinates and associated properties.
- Geometry classes that users
Observed_Ring_Point
:
- Parameters
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
- Geometry classes that users
Observed_Ring_Point_Azimuth#
- class gfinder.geometry.Observed_Ring_Point_Azimuth(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Detector boresight observed Jovian ring point azimuth (deg).
- Parameters
required_parameters_sets (list) – [‘detector’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Observed_Ring_Point_Emergence#
- class gfinder.geometry.Observed_Ring_Point_Emergence(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Detector boresight observed Jovian ring point emergence angle (deg).
- Parameters
required_parameters_sets (list) – [‘detector’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Observed_Ring_Point_Incidence#
- class gfinder.geometry.Observed_Ring_Point_Incidence(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Detector boresight observed Jovian ring point incidence angle (deg).
- Parameters
required_parameters_sets (list) – [‘detector’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Observed_Ring_Point_Phase#
- class gfinder.geometry.Observed_Ring_Point_Phase(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Detector boresight observed Jovian ring point phase angle (deg).
- Parameters
required_parameters_sets (list) – [‘detector’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Observed_Ring_Point_Radius#
- class gfinder.geometry.Observed_Ring_Point_Radius(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Detector boresight observed Jovian ring point radius (RJ).
- Parameters
required_parameters_sets (list) – [‘detector’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Observed_Ring_Point_Spatial_Resolution#
- class gfinder.geometry.Observed_Ring_Point_Spatial_Resolution(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Detector boresight observed Jovian ring point spatial resolution (km).
- Parameters
required_parameters_sets (list) – [‘detector’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Observed_Target_Points#
- class gfinder.geometry.Observed_Target_Points(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Geolocation
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Phase_Angle#
ROI_Boresight_Angle#
ROI_In_FOV#
ROI_X_Depointing_Angle#
ROI_Y_Depointing_Angle#
Ring_Ansae#
- class gfinder.geometry.Ring_Ansae(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Multidimensional-type data container for pointing-independent Jovian ring’s ansae properties.
- Geometry classes that users
Ring_Ansae
:
- Parameters
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
- Geometry classes that users
Ring_Ansae_Directions#
- class gfinder.geometry.Ring_Ansae_Directions(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Direction vector(s) in J2000 from the observer to a given Jovian ring point or set of points.
TODO: Rename Ring_Ansae_Directions into Ring_Directions and create a new Ring_Point_Direction class.
- Parameters
Example of ODF definition:
{ "name": "Ring_Ansae_Directions", "parameters": { "radius": "@ring_radius", "n_points": 100 } }
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Ring_Ansae_Phase_Angle_In_Range#
- class gfinder.geometry.Ring_Ansae_Phase_Angle_In_Range(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Whether or not at least one Jovian ring ansa phase angle is within a given range.
- Parameters
required_parameters_sets (list) – [‘radius’, ‘min_phase_angle’, ‘max_phase_angle’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Ring_East_Ansa_Best_Resolution#
- class gfinder.geometry.Ring_East_Ansa_Best_Resolution(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Jovian ring East ansa best resolution (km).
- Parameters
required_parameters_sets (list) – [‘radius’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Ring_East_Ansa_Phase_Angle#
- class gfinder.geometry.Ring_East_Ansa_Phase_Angle(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Jovian ring East ansa phase angle (deg).
- Parameters
required_parameters_sets (list) – [‘radius’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Ring_Horizontal_Angular_Size#
- class gfinder.geometry.Ring_Horizontal_Angular_Size(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Jovian ring horizontal angular size (deg).
- Parameters
required_parameters_sets (list) – [‘radius’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Ring_Illumination_Angle#
- class gfinder.geometry.Ring_Illumination_Angle(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Jovian ring solar illumination angle (deg).
- Parameters
required_parameters_sets (list) – [‘radius’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Ring_Vertical_Angular_Size#
- class gfinder.geometry.Ring_Vertical_Angular_Size(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Jovian ring vertical angular size (deg).
- Parameters
required_parameters_sets (list) – [‘radius’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Ring_West_Ansa_Best_Resolution#
- class gfinder.geometry.Ring_West_Ansa_Best_Resolution(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Jovian ring West ansa best resolution (km).
- Parameters
required_parameters_sets (list) – [‘radius’]
Scalar constructor class.
- Returns
Scalar object
- Return type
Ring_West_Ansa_Phase_Angle#
- class gfinder.geometry.Ring_West_Ansa_Phase_Angle(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Jovian ring West ansa phase angle (deg).
- Parameters
required_parameters_sets (list) – [‘radius’]
Scalar constructor class.
- Returns
Scalar object
- Return type
SC_Altitude#
SC_Elevation#
SC_In_Equatorial_Plane#
SC_Pointing_Offsets#
- class gfinder.geometry.SC_Pointing_Offsets(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
SC_Position#
- class gfinder.geometry.SC_Position(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
SC_Slew_Angles#
- class gfinder.geometry.SC_Slew_Angles(parameters, geoevt=None, silent=None, et_start=None, et_stop=None)[source]#
Bases:
gfinder.geometry.Vector
SC_Slew_Angles.
- required_parameters_sets#
[[‘x_start’,’x_stop’, ‘y_start’, ‘y_stop’], [‘x_start’, ‘x_rate’, ‘y_start’, ‘y_rate’]]
- Type
Constructs SC_Slew_Angles object.
- Parameters
parameters –
geoevt –
silent –
et_start (float, optional) – start ephemeris time.
et_stop –
SC_Solar_Array_Sun_Angle#
SC_Vector#
- class gfinder.geometry.SC_Vector(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
SC_Velocity#
- class gfinder.geometry.SC_Velocity(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Target geometric velocity vector with respect to target, expressed in J2000 frame.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
SC_X_Axis_Sun_Angle#
SC_Y_Axis_Velocity_Angle#
SC_Z_Axis_Sun_Angle#
SC_Z_Axis_Target_Angle#
Simulated_SC_Frame#
- class gfinder.geometry.Simulated_SC_Frame(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Simulated_SC_Frame.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
- apply_offset_rotations(simsc_j2000_rotmat, offset_rot_def)[source]#
Returns the SC basic pointing frame rotated around X and Y by angles derived from input “offset_rotation” geometry definition (eg: ‘SC_Slew_Angles’, which must be pre-computed.)
Simulated_Scan_Frame#
- class gfinder.geometry.Simulated_Scan_Frame(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Simulated_Scan_Frame.
Defined wrt to JUICE_MAJIS_BASE frame.
scan_zero (list): list of Euler rotation angles defining the orientation of the JUICE_MAJIS_SCAN wrt the JUICE_MAJIS_BASE when the scanner is in “zero” position (scanner rotation axis).
scan_rotation_angle:
- Parameters
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Spatial_Resolution#
SubSC_Point#
- class gfinder.geometry.SubSC_Point(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Geolocation
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
SubSC_Point_Direction#
- class gfinder.geometry.SubSC_Point_Direction(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
SubSC_Point_Direction.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Surface_Point_Direction#
- class gfinder.geometry.Surface_Point_Direction(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Direction vector from SC to a given target surface point in J2000 frame.
Example of ODF definition:
{ "name": "Surface_Point_Direction", "parameters": { "target": "JUPITER", "longitude": 0.0, "latitude": 0.0 } }
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Target_Angular_Size#
Target_Point#
- class gfinder.geometry.Target_Point(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Vector
Detector boresight target point coordinates and its associated illumination and viewing angles.
TODO: Shall become deprecated and replaced by Detector_Boresight_Target_Point.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Target_Point_Altitude#
Target_Point_Emission#
Target_Point_Incidence#
Target_Point_Latitude#
Target_Point_Longitude#
Target_Point_Phase#
Target_Point_Slant#
Target_Position#
- class gfinder.geometry.Target_Position(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Direction
Target center geometric position vector with respect to spacecraft, expressed in J2000.
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type
Target_Solar_Eclipse#
- class gfinder.geometry.Target_Solar_Eclipse(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Scalar
Target_Solar_Eclipse.
https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/occult_c.html
Scalar constructor class.
- Returns
Scalar object
- Return type
Terminator#
- class gfinder.geometry.Terminator(parameters, geoevt=None, silent=None)[source]#
Bases:
gfinder.geometry.Multidimentional
Constructor class.
- Parameters
parameters (dict) – parameters to be used for computation
geoevt (GeometryEvent) – associated GeometryEvent object (None by default)
- Returns
Geometry object
- Return type