dug_seis.project.project module#
Central DUGSeis project class.
- class dug_seis.project.project.DUGSeisProject(config: Union[Path, str, Dict])#
Bases:
object
- property cartesian_coordinates: Dict[str, ndarray]#
Cartesian coordinates for all channels in the project.
- global_to_local_coordinates(latitude: float, longitude: float, depth: float) ndarray #
Convert WGS84 coordinates to the project’s local coordinate system.
- Parameters:
latitude – The WGS84 latitude in degrees.
longitude – The WGS84 longitude in degrees.
depth – The depth beneath the WGS84 ellipsoid in meters Positive is down.
- local_to_global_coordinates(point: Union[Tuple[float, float, float], List[float], ndarray]) ndarray #
Convert a point in the project’s local Cartesian reference frame to WGS84. Will return latitude, longitude, depth beneath the ellipsoid.
- Parameters:
point – x, y, z of the point in the project’s local reference frame. z points up.
- property waveforms: WaveformHandler#
Access the project’s waveform handler.