Python APIs for 3D Seismic Pre-Stack Layer Contextual Actions

Getting Started

In order to define a contextual action for 3D seismic pre-stack layers, you need to put your Python script in your Python directory under a directory called Contextual_3D_Seismic_PreStack_Layer.

Go to Tools->Options->Environment->Python Scripts (or Tools->Options->Python->Scripts in INTViewer 5.2) and click "Refresh from Disk". Your script should be listed automatically.

You will now be able to execute this script from the contextual menu of the 3D seismic pre-stack layer:

This script will change the colormap of the pre-stack, change its normalization mode and scale, and rotate the ensemble angle by 90 degrees.

The script is attached to the bottom of this article.

The result after the script executes should look something like this (the window was slightly rotated to better show the color map):