seisnn.plot.ProjectionConverter

class seisnn.plot.ProjectionConverter(source_proj, target_proj)[source]

Bases: object

Cartopy projection converter.

__init__(source_proj, target_proj)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(source_proj, target_proj)

Initialize self.

convert(x, y)

Returns converted project location.

convert(x, y)[source]

Returns converted project location.

Parameters
  • x (float) – X location.

  • y (float) – Y location.

Return type

float

Returns

(x, y)