Skip to content

Change AbstractCoordinatePoint to not be a FieldVector#489

Merged
fhagemann merged 23 commits intomainfrom
point-types
Oct 16, 2025
Merged

Change AbstractCoordinatePoint to not be a FieldVector#489
fhagemann merged 23 commits intomainfrom
point-types

Conversation

@oschulz
Copy link
Member

@oschulz oschulz commented May 16, 2025

Corresponds to mathematically cleaner "affine vs. linear" language.

@fhagemann fhagemann marked this pull request as draft May 16, 2025 23:23
@oschulz oschulz force-pushed the point-types branch 4 times, most recently from 4ad755a to c787b66 Compare May 17, 2025 23:04
@oschulz oschulz requested a review from RicardaRiepen June 17, 2025 14:49
@oschulz oschulz marked this pull request as ready for review June 17, 2025 14:49
Implement proper math for affine frames, Refactor code base where necessary.
Copy link
Collaborator

@fhagemann fhagemann left a comment

Choose a reason for hiding this comment

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

Can we PLEASE first make a release with the current main before merging this in case this messes some things up that are not covered by the tests?

@oschulz
Copy link
Member Author

oschulz commented Jun 17, 2025

Can we PLEASE first make a release with the current main before merging this in case this messes some things up that are not covered by the tests?

Sure, registering now:

6596756

JuliaRegistries/General#133070

Copy link
Collaborator

@fhagemann fhagemann left a comment

Choose a reason for hiding this comment

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

Thanks

fhagemann
fhagemann previously approved these changes Jun 17, 2025
@fhagemann fhagemann added this to the v0.11.0 milestone Oct 9, 2025
@fhagemann fhagemann marked this pull request as ready for review October 9, 2025 15:37
@fhagemann fhagemann dismissed their stale review October 9, 2025 21:59

Many recent changes that might need re-reviewing

@fhagemann
Copy link
Collaborator

I'm deactivating the Downgrade tests on julia-1.12 for now, there seems to be some issues that are unrelated to the changes in this PR.

@fhagemann
Copy link
Collaborator

For the release notes for 0.11.0:
can someone write out what the breaking changes are and what exactly changed in this PR?


# LH5 can't handle CartesianPoint, turn positions into CartesianVectors which will be saved as SVectors
pos_vec = VectorOfVectors([p .- Ref(cartesian_zero) for p in mcevents_sub.pos])
pos_vec = VectorOfVectors([[CartesianPoint(p...) - cartesian_zero for p in ps] for ps in mcevents_sub.pos])
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of defining a new cartesian_zero, I changed this commit to convert whatever p is to a CartesianPoint first, to then subtract the original cartesian_zero to get a CartesianVector that can be saved to a file by LegendHDF5IO.

Copy link
Collaborator

@fhagemann fhagemann left a comment

Choose a reason for hiding this comment

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

I would suggest merging this into main and then making an issue with all the things that still have to be done for the 0.11.0 release in a separate issue (and separate PRs), including drafting a release note with breaking changes.

@oschulz
Copy link
Member Author

oschulz commented Oct 13, 2025

I would suggest merging this into main and then making an issue with all the things that still have to be done for the 0.11.0 release in a separate issue (and separate PRs), including drafting a release note with breaking changes.

Sounds good to me.

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.

Release v0.11.0

4 participants