sec_interp.exporters.interpretation_exporters module

class sec_interp.exporters.interpretation_exporters.Interpretation2DExporter(settings: dict[str, Any])[source]

Bases: BaseExporter

Exports interpretations in 2D profile coordinates.

__init__(settings: dict[str, Any])[source]

Initialize with settings.

Parameters:

settings – Dictionary of configuration settings.

export(output_path: Path, data: dict[str, Any]) bool[source]

Export interpretations to Shapefile.

Parameters:
  • output_path – Path to the output Shapefile (.shp)

  • data – Dictionary containing: - interpretations: List of InterpretationPolygon objects

Returns:

True if export successful, False otherwise

Return type:

bool

get_supported_extensions() list[str][source]

Get list of supported file extensions.

Returns:

List of supported extensions.