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

ENH: Function to calculate reference grids aligned with the coefficients #355

Merged
merged 6 commits into from
May 2, 2023

Conversation

oesteban
Copy link
Member

This is split off from #346, to focus only on this particular task, which is probably the most complicated aspect of the refactor (or the one we definitely want to get right).

@oesteban oesteban requested review from effigies and mgxd April 27, 2023 12:57
@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch 2 times, most recently from d1c5fd2 to 2b9eaef Compare April 27, 2023 13:14
@oesteban
Copy link
Member Author

A test should come shortly - cleaning up some of the code of ChatGPT :D

@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch 2 times, most recently from 0b42d2e to acf0f46 Compare April 27, 2023 13:57
sdcflows/utils/tools.py Outdated Show resolved Hide resolved
sdcflows/utils/tests/test_tools.py Outdated Show resolved Hide resolved
sdcflows/utils/tests/test_tools.py Outdated Show resolved Hide resolved
sdcflows/utils/tests/test_tools.py Outdated Show resolved Hide resolved
@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch from acf0f46 to 562ff6b Compare April 27, 2023 14:30
@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch from 562ff6b to 0597421 Compare April 27, 2023 14:39
@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch from 0597421 to ebc926d Compare April 27, 2023 15:07
@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch from b8b7c53 to ac80266 Compare April 27, 2023 17:50
after long time scratching my head, it seems mango does not always
interpret orientation correctly. freeview seems to do so though.
@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch from 2f705e4 to f03d54a Compare April 28, 2023 09:54
@oesteban
Copy link
Member Author

While debugging this, I've found:

@oesteban
Copy link
Member Author

@effigies this is now ready. I submitted it without the draft marking because I thought the initial version was more mature and testing was going to be easier, which didn't happen.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.18 🎉

Comparison is base (0d97d9e) 83.08% compared to head (f03d54a) 83.27%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #355      +/-   ##
==========================================
+ Coverage   83.08%   83.27%   +0.18%     
==========================================
  Files          25       25              
  Lines        2123     2147      +24     
  Branches      258      260       +2     
==========================================
+ Hits         1764     1788      +24     
  Misses        313      313              
  Partials       46       46              
Impacted Files Coverage Δ
sdcflows/utils/tools.py 84.21% <100.00%> (+4.21%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function looks good. Minor comments. I will have a detailed look at the test when I can, but it won't be today.

sdcflows/utils/tools.py Outdated Show resolved Hide resolved
sdcflows/utils/tools.py Outdated Show resolved Hide resolved
sdcflows/utils/tools.py Outdated Show resolved Hide resolved
sdcflows/utils/tools.py Outdated Show resolved Hide resolved
sdcflows/utils/tools.py Outdated Show resolved Hide resolved
Co-authored-by: Mathias Goncalves <[email protected]>
Co-authored-by: Chris Markiewicz <[email protected]>
@oesteban oesteban force-pushed the enh/calculate-bspline-dense-reference branch from 6fc63d4 to f01cee1 Compare May 2, 2023 08:35
@oesteban oesteban merged commit ea18e1e into master May 2, 2023
@oesteban oesteban deleted the enh/calculate-bspline-dense-reference branch May 2, 2023 09:21
oesteban added a commit that referenced this pull request May 2, 2023
@effigies effigies added this to the 2.5.0 milestone May 8, 2023
oesteban added a commit that referenced this pull request Jun 30, 2023
oesteban added a commit that referenced this pull request Jul 7, 2023
oesteban added a commit that referenced this pull request Jul 11, 2023
oesteban added a commit that referenced this pull request Jul 17, 2023
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

Successfully merging this pull request may close these issues.

4 participants