-
Notifications
You must be signed in to change notification settings - Fork 21
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
D2 Common-lines Algorithm #1116
Conversation
265394c
to
becf281
Compare
09c400d
to
86cf378
Compare
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.
Thanks for putting this together. I understand you had success validating against MATLAB, which is great. This looks like a rough but workable initial python port. There is still quite a bit of code cleanup to do here. I highlighted places that stuck out to me. Because of the verbosity of the code and the amount of changes needed I didn't really dig in too deeply yet.
My advice would be to codify any additional (repro) tests you have, even if it isn't part of the PR, then begin cleaning up the minor/benign/reshape sort of changes before moving on to the more complicated broadcasts... checking you still repro along the way. I think you will find the volume of code can be reduced quite a bit. Let me know if you have any questions about the vectorizing hints.
@garrettwrong this is ready for you to take another look. I've addressed all of your comments. There are a couple changes that I've refrained from making to maintain exact outputs for this first set of changes (I've noted where this is the case). |
Awesome! I'll start working on it next after I get the sync3n back to Joakim. |
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.
Okay, just couple stragglers and a few items that are marked to fix at the end of the review process.
I'm guessing you want to go through the Joakim review process before making changes that might cause differences from the MATLAB repro?
@garrettwrong I reverted the search radius to |
Turns out it wasn't this search radius breaking the test. Put this back to what we discussed, ie. |
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.
Congratulations on putting this together! I can't say that I'm able to follow all the details, but here are a couple of questions and comments. Nothing big here.
🚀 |
Port of the D2 common-lines algorithm for orientation estimation.