Attention

From version v0.5, SEGY-SAK has migrated the documentation to https://trhallam.github.io/segysak/latest/.

This documentation will be archived from v0.6.

segysak.SeisGeom.xysel

SeisGeom.xysel(cdp_x, cdp_y, method='nearest', sample_dim_name='cdp')

Select data at x and y coordinates

Parameters:
  • cdp_x (float/array-like)

  • cdp_y (float/array-like)

  • method (str) – Same as methods for xarray.Dataset.interp

  • sample_dim_name (str, optional) – The name to give the output sampling dimension.

Returns:

At selected coordinates.

Return type:

xarray.Dataset