logo

img

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
How can I remove a trend surface from my data (ie. flatten a sloping surface)?
User Opinions
50% thumbs up 50% thumbs down

How would you rate this answer?
Helpful
Not helpful

Surfer can use the polynomial regression gridding method to calculate a grid file representing the trend of a surface, and then you can use Grid Math to remove that trend from your original grid file.

To remove a first or second order trend surface from a grid file, follow these steps:

  1. Use Grid | Data and grid your data using your desired gridding method and options.
  2. Go back to Grid | Data, select your data file again and click Open.
  3. In the Grid Data dialog box, choose the Polynomial Regression gridding method.
  4. Click on the Advanced Options button, specify the order of the trend surface and click OK.
  5. Make sure the Grid Line Geometry section has the same Minimum, Maximum, and # of lines in the X and Y direction as your original grid file.

  6. Specify a new grid file name and click OK .
  7. Go to Grid | Math.
  8. In the Grid Math dialog, click the Add Grids button.
  9. Select both grids and click Open.
  10. Make sure the original grid has the variable A and the polynomial regression grid has the variable B. 
  11. Click the yellow Open Folder icon to the right of Output Grid File, and specify a new grid file name and location and click Save.
  12. Enter the function A - B and click OK.
  13. The new grid file will be the original data minus the trend.
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Products