You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'd have to hack the code a bit, but it would be possible. First, you would need to add a new argument (raster input) for the targets, and feed that into the get_targets and get_ground function. One problem is that the total current injected for each moving window solve is equal to the source strength of the target pixel (see here), so you'd also have to hack get_source as well, so that it instead just uses the raw values of the source strength layer. I think you would also have to set any source pixels that fall within the target block to 0. There's probably a few things I'm missing, but I think those are the major things.
Actually on second look, you wouldn't have to adjust get_source at all, as long as you're okay with the total current being equal to the strength of target pixels (see the strength argument to get_source).
How possible would it be to implement the ability to have different source and "target" layers?
The text was updated successfully, but these errors were encountered: