gemgis.visualization.seismic_to_array
gemgis.visualization.seismic_to_array#
- gemgis.visualization.seismic_to_array(seismic_data, cdp_start: Optional[int] = None, cdp_end: Optional[int] = None, max_depth: Optional[Union[int, float]] = None) numpy.ndarray #
Converting seismic data loaded with segysak to a NumPy array
- Parameters
seismic_data (xarray.core.dataset.Dataset) – seismic data loaded with the segysak package
cdp_start (Union[int, type(None)]) – Value for the start CDP number, e.g.
cdp_start=100
, default isNone
cdp_end (Union[int, type(None)]) – Value for the end CDP number, e.g.
cdp_start=200
, default isNone
max_depth (Union[int, float, type(None)]) – Maximum depth of the seismic, e.g.
max_depth=200
, default isNone
- Returns
df_seismic_data_values_reshaped_selected – NumPy array containing the seismic data
- Return type
np.ndarray
New in version 1.0.x.