Skip to content

filter1d: Add -N+e<cols> modifier to exclude columns from filtering - #9151

Open
Esteban82 wants to merge 1 commit into
masterfrom
filter1d_exclude_Columns
Open

filter1d: Add -N+e<cols> modifier to exclude columns from filtering#9151
Esteban82 wants to merge 1 commit into
masterfrom
filter1d_exclude_Columns

Conversation

@Esteban82

Copy link
Copy Markdown
Member

filter1d filters every column except the independent one (-N<t_col>). This adds a +e<cols> modifier to -N so you can also exclude other columns from being filtered.

Motivating example, added to filter1d.rst: given a profile with columns X, Y, Distance, Elevation, filtering normally applies to every column except the independent one, which would also smooth X and Y. To filter only Elevation as a function of Distance while leaving X,Y untouched:

gmt filter1d profile.txt -Fb100 -N2+e0,1 -E > profile_filt.txt

Done with Claude Opus 5.

@Esteban82 Esteban82 added this to the 6.8.0 milestone Aug 26, 2026
@Esteban82
Esteban82 requested review from joa-quim and seisman August 26, 2026 10:33
@Esteban82 Esteban82 added add-changelog Add PR to the changelog AI-assisted All (or most) of the code was written by Artificial Intelligence. enhancement Improving an existing feature labels Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog AI-assisted All (or most) of the code was written by Artificial Intelligence. enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant