-
Notifications
You must be signed in to change notification settings - Fork 4
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
Small Bug with non-constant density contrast #77
Comments
Hey @LL-Geo thanks for checking out the package! Yes that's a good catch, I've only been using constant densities so far, but yes we should allow variable densities. The only other place it may need some work to implement would be the density cross validation. I think we would just need to clarify in the documentation that the density CV only works for constant density values. Maybe there could be some scheme for a CV for finding the optimal density values for different regions, i.e. do a CV to find optimal density for 1 region based on a mask, then do another CV for the remaining areas. I'll try and add some documentation for now. |
Yeh~ We can try something like this.. 😁 |
Yeah that sounds great, happy to implement that at some point! Thanks for sharing that paper, don't think I had seen that one yet. |
haha.. looking forward to it 😉 |
Describe the bug
I had some fun playing the package. Well done and nice design @mdtanker 👍!
Just find a small bug that when the input density is non-constant, it will still force the density contrast to be constant. And of course the topography is very off in these wrong density region.
Full code that generate the error
That should be easy to fix In
Change
To
This should solve the issue.😁
The text was updated successfully, but these errors were encountered: