Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tpi annulus option #15

Closed
jasonMatney opened this issue Aug 2, 2019 · 4 comments
Closed

tpi annulus option #15

jasonMatney opened this issue Aug 2, 2019 · 4 comments

Comments

@jasonMatney
Copy link

Would it be possible to include an option for an annulus focal window in tpi.R?

Looks like Jan Holstein has attempted this in his crecs pacakge - however I'd prefer to use spatialEco since its on CRAN: https://rdrr.io/github/janhoo/crecs/src/R/terrain.R

Thank you for your attention to this.

@jeffreyevans
Copy link
Owner

jeffreyevans commented Aug 5, 2019 via email

@jasonMatney
Copy link
Author

Thanks so much for considering this request Jeff, and apologies I didn't explain my reasoning more in my initial post.

Essentially, I'm not testing a hypothesis, but instead attempting to visualize the relative geomorphic-grain of a given area at various landscape scales. I know that other software does this by ignoring some portion of the surrounding landscape in order to determine how similar or dissimilar the center point (grid cell) is to some window. My understanding is that an annulus is well supported in geomorphology [1].

Hope this clarifies this use-case.

[1] https://scholar.google.com/scholar?hl=en&as_sdt=0,47&q=tpi+annulus+geomorphology

@jeffreyevans
Copy link
Owner

jeffreyevans commented Aug 6, 2019 via email

@jasonMatney
Copy link
Author

This is exactly the functionality I was looking to leverage alongside the rest of your package's functionality. Very much appreciate you taking the time to add this function. Thank you and I will be sure to spread the word!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants