Skip to content

Conversation

@j-c-c
Copy link
Collaborator

@j-c-c j-c-c commented Mar 1, 2024

Generate polar Fourier transform outside of init to enforce lazy eval for OrientedSource's.

Closes #1099

@j-c-c j-c-c added the cleanup label Mar 1, 2024
@j-c-c j-c-c self-assigned this Mar 1, 2024
@j-c-c j-c-c linked an issue Mar 4, 2024 that may be closed by this pull request
@j-c-c j-c-c requested a review from garrettwrong March 4, 2024 15:21
Copy link
Collaborator

@garrettwrong garrettwrong left a comment

Choose a reason for hiding this comment

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

Very minor change. Thanks for putting this together!

self.pf = self.pf[:, :, 1:]
pf = pf[:, :, 1:]

return pf
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since you are using the class for the self.src.images data, might as well just have this function assign to self._pf, and update L84.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah yeah, good point. Done. Thanks!

@j-c-c j-c-c requested a review from garrettwrong March 4, 2024 18:00
Copy link
Collaborator

@garrettwrong garrettwrong left a comment

Choose a reason for hiding this comment

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

🚀

@j-c-c j-c-c marked this pull request as ready for review March 4, 2024 18:39
@j-c-c j-c-c requested a review from janden as a code owner March 4, 2024 18:39
Copy link
Collaborator

@janden janden left a comment

Choose a reason for hiding this comment

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

LGTM

@j-c-c j-c-c merged commit cf77155 into develop Mar 8, 2024
@j-c-c j-c-c mentioned this pull request Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLOrient3D lazy eval

4 participants