-
Notifications
You must be signed in to change notification settings - Fork 12
Fix for wollam data without dpolE #214
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
Conversation
MarJMue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't test it right now, but it looks correct.
MarJMue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not fully get what happened, but the code is definitely better to read and should be more robust.
|
Another note: |
|
There's still something generally wrong it seems |
|
You added the oscillator a second time before the comparison. The add method changes the object permanently. It is working as intended. Edit: Which might also be a problem in my example. |
|
Yes, this works: |
|
From a design perspective, it's a bit odd that we return the instance and alter it. Normally, it's either one of them (altering instance w/o instance return on function call or new instance return on function call) |
|
I'm dropping |
You are right. It is a bit confusing. I think altering it is the better way. If you want a second dispersion you tend to start from scratch anyway. |
|
yeah, so maybe we drop that we return the instance itself at some point. Then it feels more natural what's happening there. Anyways, out of scope for this PR :) |
Completely agree. Doesn't add any real value. |
|
I'll wait for confirmation from @MrJeremyFisher to see if it works for them, too, before I merge this in. |
|
Sorry for the delayed response. These changes resolve my issue. Thanks for you work! |
|
Perfect! So I'll merge this in and it should be available with the next version. |
Fixes #213