-
Notifications
You must be signed in to change notification settings - Fork 54
Create new datatype when saving CartesianPoint to HDF5 using LegendHDF5IO
#560
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
Merged
+445
−103
Merged
Changes from 29 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
624a869
Function to define CylindricalPoint with units
claudiaalvgar cb2e603
Allow NBodyChargeCloud to receive CylindricalPoint in Floats and with…
claudiaalvgar fa00d52
Use the defined function to_internal_point to convert Points to Carte…
claudiaalvgar 1f999ac
Fix manual with new behaviour
claudiaalvgar 9482e5d
convert CartesianPoint to SVector to be returned from run_geant4_simu…
claudiaalvgar 80be3b4
add test for bug found
claudiaalvgar 5b3db1b
pass N and unify functions
claudiaalvgar 9bfe583
restrict Unitful.Quantity
claudiaalvgar 035398f
implemented suggestions
claudiaalvgar 652d324
export to_internal_point function
claudiaalvgar 2f0981d
Add tests for new NBodyChargeCloud functions
claudiaalvgar 67343ad
comment erro line
claudiaalvgar 6d6c103
add test
claudiaalvgar 1df5e98
unify functions, just 1 function failed
claudiaalvgar c6a34e2
add functions to to_internal_units
claudiaalvgar 09a64e3
added suggested changes
claudiaalvgar 8d6268d
delete export to_internal_point
claudiaalvgar a266d8d
delete ucovert
claudiaalvgar ebe8db6
Add `LegendHDF5IO` support for `Cartesian/CylindricalPoint`
fhagemann a6a74a1
Revert "comment erro line"
fhagemann 023d2cf
Revert "convert CartesianPoint to SVector to be returned from run_gea…
fhagemann a4dd5fe
put back Cylindrical test with units
claudiaalvgar f000ab8
change CylindricalPoint function and delete function to_internal_unit…
claudiaalvgar 5fe6418
Update stripping units of `CylindricalPoint`
fhagemann 253ec30
Add tests for units/type promotion of `CylindricalPoint`
fhagemann 70b277b
convert cluster_radius to internal units
claudiaalvgar 4416ac5
Add CartesianPoint constructor to avoid units
claudiaalvgar 8e25960
uncomment tests
claudiaalvgar ddaa78c
remove units from test
claudiaalvgar 366581b
add back units to pos
claudiaalvgar 1f2eb34
add tests
claudiaalvgar f1e85c6
remove units
claudiaalvgar a700a07
account for suggestions
claudiaalvgar 49c900c
Suggested changes and fix doc without units
claudiaalvgar efce348
No need to deal with units, the plot recipe will deal with this
fhagemann f6261ca
Strip position units in `simulate_waveforms` further down
fhagemann 861e5db
Add test for different types of `pos` in `simulate_waveforms`
fhagemann cfba8d4
Ensure cluster radius is charge clustering has correct units
fhagemann 92fedb0
Avoid converting `CartesianPoint` to `SVector` when writing to HDF5
fhagemann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fhagemann marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.