Exporter module#

class gfinder.exporter.AbstractExporter(path='', overwrite=False)[source]#

Bases: object

export(object, path='', overwrite=False, measurements=False, agm_validation=False)[source]#
is_exportable(object)[source]#

Returns whether or not input object is exportable.

Exportable objects must have get_observations method.

list_exported()[source]#
set_output_dir(path, overwrite=False)[source]#
class gfinder.exporter.CK_Exporter(path='', overwrite=False)[source]#

Bases: gfinder.exporter.AbstractExporter

export(object, path='', overwrite=False, measurements=False)[source]#
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)

export(object, path='', overwrite=False, measurements=False, agm_validation=False)[source]#
gfinder.exporter.Exporter(format, path='', overwrite=False)[source]#

Function serving as Exporter object factory.

class gfinder.exporter.GeoJSON_Exporter(path='', overwrite=False)[source]#

Bases: gfinder.exporter.AbstractExporter

export(object, path='', overwrite=False, measurements=False, agm_validation=False)[source]#
class gfinder.exporter.ITL_Exporter(path='', overwrite=False)[source]#

Bases: gfinder.exporter.AbstractExporter

export(object, measurements=None, path='', overwrite=False)[source]#
class gfinder.exporter.PTR_Exporter(path='', overwrite=False)[source]#

Bases: gfinder.exporter.AbstractExporter

export(object, measurements=None, path='', overwrite=False, agm_validation=False)[source]#
class gfinder.exporter.QuaternionCSV_Exporter(path='', overwrite=False)[source]#

Bases: gfinder.exporter.AbstractExporter

export(object, path='', overwrite=False, measurements=False)[source]#