# Horizon Maths

Use Horizon Maths to create a horizon from mathematical and logical operations using one or more horizons as input.

For information on common Horizon Maths tasks, see:

For information on the formulas and calculations available:

Note: The Calculate button is disabled if the selected horizon in map view is waiting for another operation (such as propagation). Insight notifies you to complete the previous operation before continuing.

## Where is the Horizon Maths operation?

Horizon Maths is found in the Map View, under the Operations tab (along with other horizon operations). 1. Open the Map View.
2. Expand the left panel and open the Operations tab.
3. At Operation, select Horizon Maths.

## Configure horizon maths 1. Click the blue "+" to add horizons. For each horizon choose:
• Symbol: text to represent this value in the formula.
• Horizon: a horizon to use for values
• Property: the property from the horizon (see Horizon Attributes).
• Tool button: open the Horizon Settings window
• Red "x": Remove this entry
2. At Formula, enter the calculation to perform
3. Vertical: choose the vertical dimension of the output.
• TWT (ms), TVDSS (m), TVDSS (ft) or none (amplitude).
• This updates to match the chosen input horizons.
• NOTE: When calculating depth from time horizons (or vice-versa), update the vertical domain to match the expected output i.e. when calculating depth, choose TVDSS as the vertical dimension.
4. Area:  limit the the smoothing to the specified polygon/probe (if selected)
5. Missing points:
• remain missing (value = NaN): points missing from the input horizons are not filled. Missing points are treated as null values.
• are set to 0: points missing from the input horizons are filled with 0. Missing points will be calculated using 0 values for the inputs.
6. Review Output to confirm that the operation is creating the type of horizon you expect.
7. Click Calculate to start the operation.

## Completing the operation After running the operation:

• At Class: Choose the Display Class for the results
• Use min and max from class settings (checked)
• Use amplitude ranges from the class. Update the range in the display class.
• Use min and max from class settings (not checked)
• Set specific a min and max value for this result.
• Click Adjust to set the Min and Max from the extracted amplitude.
• Click Discard to cancel this calculation and delete the results.
• Click Create to create a new horizon containing the extracted values.
• Click Add property to store the result as a horizon property.

Note: By default, the new horizon will be named: “math: formula”.  For example, the operation above will yield a new horizon called "Math: h1+50 ". To rename the horizon, see Horizon Details and Configuration.