irfpy.ica.spice_class
¶
Description:
A wrapper class handling Rosetta SPICE ancillary data. RPC-ICA specific.
To create one object:
SPICESet = ICASPICEData(dates, additionnalPath='/<bli>/<bla>/ICAPy/') ## (Absolute) path to the ICAPy directory.
SPICESet.initTimeDt('20141128' ,'20141204' , N=1000) ## Initialize time from date 1 to date 2 with 1000 points.
OR:
SPICESet.timeDt = ICADataSet.timeDtScan ## Synchronizes the SPICE data with ICA data (here FOVs).
Arguments:
additionnalPath (default ’’) Where SPICE related files can be found (metakernel, kernels themselves, 3D nucleus shape optionally, etc) metakernelFile (default ‘ros_kernels_3dtool.txt’) The name of the metakernel file (not the path).
Dependencies:
irfpy.ica.modules irfpy.ica.tools SpiceyPy
- class irfpy.ica.spice_class.SPICEClass(additionnalPath=None, metakernelFile='ros_kernels_3dtool.txt')[source]¶
Bases:
object
- initTimeDt(t1, t2, N=100)[source]¶
Initialize ICASPICEData.timeDt with t1: ‘yyyymmdd’ , t2: ‘yyyymmdd’ , N: number of points.
- initEphemChuJ2000()[source]¶
Initialize ephemeris in J2000 centered on 67P, according to ICASPICEData.timeDt .
- initEphemSunJ2000()[source]¶
Initialize ephemeris in J2000 centered on the Sun, according to ICASPICEData.timeDt .
- initEphemCSO()[source]¶
Initialize ephemeris in CSO centered on 67P, according to ICASPICEData.timeDt .
- initEphemCSEQ()[source]¶
Initialize ephemeris in CSEQ centered on 67P, according to ICASPICEData.timeDt.
- initEphemCK()[source]¶
Initialize ephemeris in 67P/C-G_CK centered on 67P, according to ICASPICEData.timeDt.
- initRotateCSEQ()[source]¶
Initialize rotation matrices, according to ICASPICEData.timeDt: ‘ROS_RPC_ICA’ <-> ‘67P/C-G_CSEQ’ ‘ROS_SPACECRAFT’ <-> ‘67P/C-G_CSEQ’ ‘ROS_SPACECRAFT’ -> ‘ROS_SA-Y’
- initRotateCK()[source]¶
Initialize rotation matrices, according to ICASPICEData.timeDt: ‘ROS_RPC_ICA’ <-> ‘67P/C-G_CK’ ‘ROS_SPACECRAFT’ -> ‘ROS_SA-Y’