Exporter module
Exporter
module#
- class gfinder.exporter.AbstractExporter(path='', overwrite=False)[source]#
Bases:
object
- gfinder.exporter.EXPORTABLE_CLASS_NAMES = ['Opportunity', 'Timeline']#
List of exportable class names.
- class gfinder.exporter.EventCSV_Exporter(path='', overwrite=False)[source]#
Bases:
gfinder.exporter.AbstractExporter
EventCSV_Exporter can export Opportunity or Timeline objects data to ESA Event CSV file format.
Such a file should contain a tabular list of observational opportunities, which can be time segments or observations, with the following fields: - event_name - start_time - stop_time - subgroup - source group - duration - n_lines - spatial binning - distance_to_jupiter - First CU_frame start (UT and wrt CA if CA if any) - Last CU_frame stop (UT and wrt CA if CA if any) - if mirror used: Mirror Start Pos (°), Mirror Start Speed (°/s), Mirror End Speed (°/s)
- gfinder.exporter.Exporter(format, path='', overwrite=False)[source]#
Function serving as Exporter object factory.