segysak.create2d_dataset

segysak.create2d_dataset(dims, first_sample=0, sample_rate=1, first_cdp=1, cdp_step=1, first_offset=None, offset_step=None, vert_domain='TWT', vert_units=None)

Create a regular 2D seismic dataset from basic geometry.

Parameters
  • dims (tuple of int) – The dimensions of the dataset to create (ncdp, vertical). If first_offset is specified then (ncdp, vertical, offset)

  • first_sample (int, optional) – The first vertical sample. Defaults to 0.

  • sample_rate (int, optional) – The vertical sample rate. Defaults to 1.

  • first_cdp (int, optional) – First CDP number. Defaults to 1.

  • cdp_step (int, optional) – CDP increment. Defaults to 1.

  • first_offset (int/float, optional) – If not none, the offset dimension will be added starting at first offset. Defaults to None.

  • offset_step (int, float, optional) – Required if first_offset is specified. The offset increment.

  • vert_domain (str, optional) – Vertical domain, one of (‘DEPTH’, ‘TWT’). Defaults to ‘TWT’.

  • vert_units (str, optional) – Measurement system of of vertical coordinates. One of (‘ms’, ‘s’, ‘m’, ‘km’, ‘ft’): Defaults to None for unknown.