-
Notifications
You must be signed in to change notification settings - Fork 3
Class containing the spherical harmonic definition #173
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
Conversation
The default for the Condon-Shortley phase depends on the basis type
f-brinkmann
left a comment
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.
Thanks for the effort. This will be very nice to have. Looks like many comments, but they are all rather small and and in some cases repeating.
|
|
||
|
|
||
| class SphericalHarmonics: | ||
| class SphericalHarmonicDefinition: |
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.
For discussion: Should this be public or private? From the top of my head, I did not see any use for it if its not connected to any data (SH basis or Ambisonics signal).
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.
Public, since it can for example be used to create transforms, such as rotations/translations
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.
disscussion over 😂
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.
Not sure, would depend on how these will be implemented. The current draft of the SHT would not need it, I think. We could also keep it private until we need it to be public.
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.
SHT woulnt need it, but SphericalHarmonics and SpericalHarmonicsSignal, SpericalHarmonicsTimeData and SpericalHarmonicsFrequencyData would need it. in this way they save a lot of duplicated code.
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.
Yes, of course - I was only wondering about public vs. private. Public is probably not required for those examples.
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 wrote translations/rotations, not SHT ;)
| Attributes | ||
| ---------- | ||
| condon_shortley : bool |
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.
Does not document condon_shortley = 'auto'. Maybe not needed it class would be private, but nice to have in any case.
|
For completeness, this somehow PR relies on #151. Or should we add the classes to the docs here? |
|
We discussed that it would be good to add |
|
I'm currently waiting for #172 to be ready and merged to continue working on this PR. |
|
it is merged now, please rerequest review if its ready |
|
superseded by #205 |
This additional class could be used to provide the definition of the sperical harmonics to other classes.
The new class already serves as base class for the
SphericalHarmonicsclass.Requires #172
Todo: