cigvis.tools module#
- cigvis.tools.extract_arbitrary_line_by_view(data: ndarray, bmap: str = 'data', draw_arb: bool = True, *, line: bool = True, idx: int = 50, cline='#F3AA3C')#
extract arbitrary line from seismic data by clicking
Parameters#
- data: np.ndarray
3D seismic data
- bmap: str
background map, ‘data’ or ‘blank’
- linebool
whether to draw the broken line
- idx: int
the slice index of the seismic data if bmap is ‘data’
- cline: str
color of the line
Returns#
- out: np.ndarray
extracted arbitrary line
- p: np.ndarray
extracted arbitrary line path
- coords: np.ndarray
the coordinates by clicking