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

Pairwise mode with different source strengths? #408

Open
jaymschoen opened this issue Jan 30, 2024 · 2 comments
Open

Pairwise mode with different source strengths? #408

jaymschoen opened this issue Jan 30, 2024 · 2 comments

Comments

@jaymschoen
Copy link

jaymschoen commented Jan 30, 2024

I have successfully run pairwise mode many times but would like to use different source strengths for a new task. In the .ini file, it looks like that option is only available for "all-to-one" and "one-to-all". Is there a way to input source strengths for pairwise? I may be missing something very obvious...

Thanks,
Jay

Circuitscape v5.10.0
Julia version 1.6.3

@jaymschoen
Copy link
Author

jaymschoen commented Feb 1, 2024

Update: I found that the user guide does recommend "all-to-one" as an alternative to pairwise so I'll give that a shot. Please let me know if there is a way to do pairwise itself with variable source strengths.

Thanks again,
Jay

@ranjanan
Copy link
Member

ranjanan commented Aug 25, 2024

@jaymschoen unfortuantely, variable source strengths is not supported for pairwise mode. That's because in pairwise mode, we iterate through every pair of source and grounds, set them to unit and calculate current. You could probably fake it by setting using advanced mode, with a solitary source and a solitary ground with the source_map set to whatever magnitude you wish.

You could also use all to one mode with different source strengths but a single ground, if you'd like.

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

No branches or pull requests

2 participants