Exemplo n.º 1
0
def clip(horName, min, max, clipType, areaOfInterest, propertyName, setValue):
  """
      Clip an horizon.
      
      clip(horName, min, max, clipType, areaOfInterest, propertyName, setValue)
      
      Arguments:

      horName - Horizon to be clipped
        Variable Name example - "var2"
      min - Minimum value to clip horizon
      max - Maximum value to clip horizon
      clipType - Type of clip - 
        "Replace with Clip Limits",
        "Replace with Nulls", or 
        "Replace with Constant"
      areaOfInterest - optional area of interest in the horizon where clip may be performed
      propertyName - Name of new property name to create
      setValue - When ClipType equals "Replace with Constant" - A constant will be used to set out of range values 
  """
  ScriptImpl.runScript7("ClipScript", 7, horName, min, max, clipType, areaOfInterest, propertyName, setValue)
Exemplo n.º 2
0
def weightedSmooth(horName, colFilterSize, rowFilterSize, edgeWeight, applyBlending, mask, outputName):
    """
      Smooth a horizon.
      
      weightedSmooth(horName, colFilterSize, rowFilterSize, edgeWeight, applyBlending, mask, outputName)
      
      Arguments:

      horNamePy - Horizon to be smoothed
        Variable Name example - "var2"
      colFilterSizePy - Filter width in columns
      rowFilterSizePy - Filter width in rows
      edgeWeight - Edge Weight (From 0 to 1 - 
        A Taper is performed so that points further away from the point being smoothed are given less weight)
      applyBlending - set to "true" to smooth the grid lines when using the mask horizon
      maskPy - mask horizon -
        Set to 0, to filter the entire horizon
        Filter the Input horizon where the mask grid is not null,
      outputNamePy - Name of new property name to create
  """
    ScriptImpl.runScript7(
        "WeightedSmoothScript", 7, horName, colFilterSize, rowFilterSize, edgeWeight, applyBlending, mask, outputName
    )
Exemplo n.º 3
0
def medianSmooth(horName, colFilterSize, rowFilterSize, filterSize, interpolateOption, mask, outputName):
  """
      Smooth a horizon.
      
      medianSmooth(horName, colFilterSize, rowFilterSize, filterSize, interpolateOption, mask, outputName)
      
      Arguments:

      horName - Horizon to be smoothed
        Variable Name example - "var2"
      colFilterSize - Filter width in columns
      rowFilterSize - Filter width in rows
      filterSize - Filter size (Square filter size - Set to 0, if columns & rows were specified)
                   (Use this filter size for the # of CDPs when using 2D data)
      interpolateOption - Interpolate Option - 
        "Non-Null Values Only",
        "Null Values Only", or 
        "All values"
      mask - mask horizon -
        Set to 0, to filter the entire horizon
        Filter the Input horizon where the mask grid is not null,
      outputName - Name of new property name to create
  """
  ScriptImpl.runScript7("MedianSmoothScript", 7, horName, colFilterSize, rowFilterSize, filterSize, interpolateOption, mask, outputName)