cigvis package#
Subpackages#
- cigvis.gui package
- cigvis.io package
- cigvis.meshs package
- cigvis.sliceviewer package
- cigvis.utils package
- cigvis.visernodes package
- cigvis.vispynodes package
- Submodules
- cigvis.vispynodes.axis3d module
- cigvis.vispynodes.axis_aligned_image module
- cigvis.vispynodes.canvas_mixin module
- cigvis.vispynodes.colorbar module
- cigvis.vispynodes.fixed_image module
- cigvis.vispynodes.indicator module
- cigvis.vispynodes.meshnode module
- cigvis.vispynodes.screenshot module
- cigvis.vispynodes.shading_filter module
- cigvis.vispynodes.splat module
- cigvis.vispynodes.vis_canvas module
- cigvis.vispynodes.volume_image module
- cigvis.vispynodes.volume_slices module
- cigvis.vispynodes.well_log module
- Module contents
- Submodules
Submodules#
- cigvis.cli module
- cigvis.colormap module
- Tools for colormap
arrs_to_image()cmap_to_mpl()cmap_to_plotly()cmap_to_vispy()custom_disc_cmap()discrete_cmap()distinct_colors()fast_set_cmap()get_cmap_from_str()get_colors_from_cmap()get_custom_cmap()line_cmap()list_custom_cmap()plot_all_custom_cmap()plot_cmap()ramp()reversed()set_alpha()set_alpha_except_bottom()set_alpha_except_max()set_alpha_except_min()set_alpha_except_ranges()set_alpha_except_top()set_alpha_except_values()set_down_as()set_up_as()
- cigvis.colors module
- cigvis.config module
- cigvis.customcmap module
- cigvis.mpl1dplot module
- cigvis.mpl2dplot module
- cigvis.mplstyle module
- cigvis.plotlyplot module
- Functions for drawing 3D seismic figure using plotly
- Note
- Examples
PlotlyBodySpecPlotlyLineLogSpecPlotlyOverlaySpecPlotlyPointsSpecPlotlySliceSpecPlotlySliceSpec.axisPlotlySliceSpec.cbar_paramsPlotlySliceSpec.climPlotlySliceSpec.cmapPlotlySliceSpec.display_rangePlotlySliceSpec.interpolationPlotlySliceSpec.kwargsPlotlySliceSpec.namePlotlySliceSpec.nancolorPlotlySliceSpec.overlaysPlotlySliceSpec.posPlotlySliceSpec.providerPlotlySliceSpec.scalePlotlySliceSpec.show_cbarPlotlySliceSpec.to_traces()PlotlySliceSpec.volume
PlotlySpecPlotlySurfacesSpecadd_mask()compile_traces()create_bodies()create_fault_skin()create_line_logs()create_overlay()create_points()create_slices()create_surfaces()create_well_logs()plot3D()
- cigvis.tools module
- cigvis.viserplot module
- cigvis.vispyplot module
- Functions for drawing 3D seismic figure using vispy
- Note
Plot3DColorbarPlot3DColorbar.border_colorPlot3DColorbar.border_widthPlot3DColorbar.climPlot3DColorbar.cmapPlot3DColorbar.disc_ticksPlot3DColorbar.discretePlot3DColorbar.dpi_scalePlot3DColorbar.label_colorPlot3DColorbar.label_sizePlot3DColorbar.label_strPlot3DColorbar.namePlot3DColorbar.preserve_alphaPlot3DColorbar.savePlot3DColorbar.tick_size
Plot3DGuiPlot3DSavePlot3DViewPlot3DView.axis_scalesPlot3DView.azimuthPlot3DView.bgcolorPlot3DView.cbar_region_ratioPlot3DView.centerPlot3DView.elevationPlot3DView.fovPlot3DView.gridPlot3DView.keysPlot3DView.scale_factorPlot3DView.sharePlot3DView.shortcut_save_kwPlot3DView.showPlot3DView.sizePlot3DView.titlePlot3DView.xyz_axisPlot3DView.zoom_factor
add_mask()create_Line_logs()create_arbitrary_line()create_axis()create_bodies()create_bodys()create_colorbar()create_colorbar_from_nodes()create_fault_skin()create_line_logs()create_overlay()create_point_cloud()create_points()create_slices()create_splats()create_surfaces()create_well_logs()plot3D()run()set_surface_color_by_slices_nodes()
Module contents#
CIGVis - a tool for visualizing multidimensional geophysical data#
cigvis is a tool for visualizing multidimensional geophysical data, developed by the Computational Interpretation Group (CIG). Users can quickly visualize data with just a few lines of code.
cigvis can be used for various geophysical data visualizations, including 3D seismic data, overlays of seismic data with other information like labels, faults, RGT, horizon surfaces, well log trajectories, and well log curves, 3D geological bodies, 2D data, and 1D data, among others. Its GitHub repository can be found at github.com/JintaoLee-Roger/cigvis, and documentation is available at https://cigvis.readthedocs.io/ <https://cigvis.readthedocs.io/>.
cigvis leverages the power of underlying libraries such as vispy for 3D visualization, matplotlib for 2D and 1D visualization, and plotly for Jupyter environments (work in progress). The 3D visualization component is heavily based on the code from yunzhishi/seismic-canvas and has been further developed upon this foundation.
- class cigvis.ExceptionWrapper(e, custom='')#
Bases:
objectCopy from trimesh.exceptions.ExceptionWrapper
Create a dummy object which will raise an exception when attributes are accessed (i.e. when used as a module) or when called (i.e. when used like a function)
For soft dependencies we want to survive failing to import but we would like to raise an appropriate error when the functionality is actually requested so the user gets an easily debuggable message.
- cigvis.is_running_in_notebook()#