Mondaic
This API reference is not for the latest stable Salvus version.

salvus.toolbox.detail

Private functions for toolbox components.

Classes

SegyEvent

class SegyEvent(builtins.object):
    def __init__(self): ...

A class encapsulating a subset of data extracted from a SEGY file.

Methods
add_source_and_receiver()
def add_source_and_receiver(
    self, sx: float, sy: float, rx: float, ry: float, rid: int, off: int
) -> None: ...

Add a source an receiver to the set of those contained.

Parameters
  • sx float — Source x location.
  • sy float — Source y location.
  • rx float — Receiver x location.
  • ry float — Receiver y location.
  • rid int — Receiver ID.
  • off int — Receiver offset.
Returns None