-
Notifications
You must be signed in to change notification settings - Fork 7
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
Define the neighborhood of SetNeighbors based on read data value #268
Comments
Does that code not work already? If the dispersion rate is constant but spatial you can also put it in aux |
I get the error : |
Oh I missed that bit with the type You want the neighbourhood length to change depending on the cell value? (If so no, it would be horribly slow too. But you can hack if with an if block that just uses a different nighborhood based on the value. That will be fast) |
Yes exactly. The cell value define the dispersal ability so the maximum distance that can be reach |
Ok just use an if block to choose from the list of neighbourhoods. Use the largest one as the rule neighbourhood so the bounds padding works. |
Is it possible to create a SetNeighbors where the neighborhood is defined on the cell value of read data. Similar to :
The text was updated successfully, but these errors were encountered: