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

Add moving_window function #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add moving_window function #10

wants to merge 2 commits into from

Conversation

ninbrm
Copy link
Member

@ninbrm ninbrm commented Nov 30, 2021

Function to run connected_landscape or betweenness_ as a moving window over a landscape.
It relies on two helper functions:

  1. make_landscape: which creates an Array with a quality, affinity, and optionally a cost layer for input to moving_window
  2. clip_landscape: which clips a window from the landscape and returns it as a dictionary for the parallel version of the moving_window_helper
  3. moving_window_helper: which is the actual workhorse, takes either a landscape clip (for parallel computation) or a window tupple.

Moving window function together with helper functions to compute connected_habitat and betweenness_ over large landscapes using a moving window.
@ninbrm ninbrm requested a review from andreasnoack November 30, 2021 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant