seidart.simulations.common_offset module

class seidart.simulations.common_offset.CommonOffset(source_file: str, channel: str, prjfile: str, receiver_file: str, receiver_indices: bool = False, single_precision: bool = True, is_complex: bool = False, status_check: bool = False)

Bases: Array

Utilize the Array class to build a common offset image from a .prj file and a source location file. If offsets are not provided then a receiver file must be provided that coincides with the source file.

The

build() None

Constructs domain and models based on project file and sets up source and receiver configurations.

co_run() None

Run the electromagnetic or seismic model and extract the receiver time series

Parameters:

seismic (bool) – If True, run the seismic model. If False, run the electromagnetic model.

source_receiver_xyz()

Loads and sorts receiver and source locations from a file and adjusts them according to the domain and CPML layer.