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.interp_line
- SeisGeom.interp_line(cdpx, cdpy, extra=None, bin_spacing_hint=10, line_method='slinear', xysel_method='linear')
Select data at x and y coordinates
- Parameters:
cdp_x (float/array-like)
cdp_y (float/array-like)
bin_spacing_hint (number) – a bin spacing to stay close to, in cdp world units. Default: 10
line_method (string) – valid values for the kind argument in scipy.interpolate.interp1d
xysel_method (string) – valid values for DataArray.interp
- Returns:
Interpolated traces along the arbitrary line
- Return type: