-
Notifications
You must be signed in to change notification settings - Fork 62
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
ENH: Adding option to skip randomization of seed. + other fixes #757
Conversation
Hello @EmmaRenauld, Thank you for updating !
Comment last updated at 2023-11-07 18:25:28 UTC |
Build passed ! Good Job 🍻 ! |
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 tested and it seems to work properly.
However, I think this would be more useful if, instead of disabling jittering the seeding positions, we added a --nb_repeats
arguments telling how many times we want to track from each seed. The behaviour you want to show could still happen, but it would generalize better and might find other applications than only for teaching purposes?
"REMARK: Our results (our endpoints) seem to differ from dipy's. " | ||
"This should be investigated.") | ||
track_g.add_argument( | ||
"--do_not_randomize_seed_positions", action="store_true", |
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.
any way we can shorten this param name?
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.
Changed for no_seed_displacement. Ok?
That is nice, but right now it seems complicated for me. We would have to remember how many times we called get_next_pos. |
Build passed ! Good Job 🍻 ! |
Wouldn't we just need to return the same seed |
Build passed ! Good Job 🍻 ! |
f334b15
to
79817ec
Compare
Should be good! |
Build passed ! Good Job 🍻 ! |
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 would like to validate that the note.txt file in tests is at the right place, but otherwise, everything looks good to me.
Build passed ! Good Job 🍻 ! |
Changing the --discard_last_point option to make it the default choice (as discussed with Gab and other; this makes it more like Dipy)
Fixing the way the numpy generator and seed are used, as per the numpy doc. If you think it's not the best way to do it, I can just delete the last commit.