Output
This packages contain utilities to output seismic traces.
SEGYTraceOutput
- class geos.pygeos_tools.output.SEGYTraceOutput.SEGYTraceOutput(seismo, rootname='seismoTrace_shot', directory='./', **kwargs)[source]
Bases:
object
Class containing methods for the output of seismic traces in SEGY format
- format
Output filename extension
- Type:
str
- directory
Output directory Default is current dir
- Type:
str
- rootname
Output root filename
- Type:
str
- data
Seismic traces to export
- Type:
array-like
- time
Time corresponding to seismic traces Default is None
- Type:
array-like
- Parameters:
seismo (array-like) – Seismic traces to export
rootname (str) – Output root filename
directory (str) – Output directory Default is current dir
- export(receiverCoords, sourceCoords, dt=None, comm=mpi4py.MPI.COMM_WORLD, **kwargs)[source]
Export the seismic traces to .sgy file
- Parameters:
receiverCoords (list of Coordinates3D) – Coordinates of the receivers
sourceCoords (list of Coordinates3D) – Coordinates of the source(s)
dt (float, optional) – Time step in seconds If None (default), time step from last column of seismos
comm (MPI communicator, optional) – MPI communicator
SeismicTraceOutput
- class geos.pygeos_tools.output.SeismicTraceOutput.SeismicTraceOutput(seismo, format, **kwargs)[source]
Bases:
object
Generic class for seismic traces output
- data
seismic traces to export
- Type:
array-like
- format
Output format “SEP” or “SEGY”
- Type:
str
- Parameters:
seismo (array-like) – Seismic traces to export
format (str) – Output format “SEP” or “SEGY”
SEPTraceOutput
- class geos.pygeos_tools.output.SEPTraceOutput.SEPTraceOutput(seismo, rootname='seismoTrace_shot', directory='./', tIncluded=True, **kwargs)[source]
Bases:
object
Class containing methods specifics to SEP seismic trace output
- format
Output filename extension
- Type:
str
- directory
Output directory Default is current dir
- Type:
str
- rootname
Output root filename
- Type:
str
- head
Filename of the header
- Type:
str
- data
Seismic traces to export
- Type:
array-like
- time
Time corresponding to seismic traces
- Type:
array-like
- gdata
Gathered data
- Type:
array-like
- Parameters:
seismo (array-like) – Seismic traces to export
rootname (str, optional) – Output root filename Default is seismoTrace_shot
directory (str, optional) – Output directory Default is current dir
tIncluded (bool, optional) – Whether time is included in seismos Default is True