segysak.create_seismic_dataset¶
-
segysak.
create_seismic_dataset
(twt=None, depth=None, cdp=None, iline=None, xline=None, offset=None, **dim_args)¶ Create a blank seismic dataset by setting the dimension sizes (d#) or by passing arrays for known dimensions.
iline and xline must be specified together and are mutually exclusive to cdp argument.
- Parameters
twt (int/array-like, optional) – Two-way time vertical sampling coordinates. Cannot be used with depth argument. Defaults to None.
depth (int/array-like, optional) – Depth vertical sampling coordinates. Cannot be used with twt argument. Defaults to None.
cdp (int/array-like, optional) – The CDP numbering for 2D data, cannot be used with iline or xline. Use for 2D seismic data. Defaults to None.
iline (int/array-like, optional) – The iline numbering, cannot be used with cdp argument. Use for 3D seismic data. Defaults to None.
xline (int/array-like, optional) – The xline numbering, cannot be used with cdp argument. Use for 3D seismic data. Defaults to None.
offset (int/array-like, optional) – The offset. This will fill dimension d4. Use for pre-stack data. Defaults to None.
dim_args (int/array-like) – Other dimensions you would like in your dataset. The key will be the dimension name.
- Returns
A dataset with the defined dimensions of input setup to work with seisnc standards.
- Return type