harmonicY 2.0.0
Release 2.0.0
This version fixes some issues in the computation of real spherical harmonics.
This involves breaking changes for users of previous versions, regarding the usage of the option 'type'
:
Valid values for option 'type'
are now 'complex'
and 'real'
.
- The option
'real'
now refers to a real harmonic in general rather than a harmonic of cosine type. Harmonics of cosine type or sine type will be returned depending on the sign ofm
. - The value
'imag'
is no longer valid.
Adaptation of existing code
Users of version 1.x may obtain the old behaviour by replacing lines such as:
harmonicY(__,'type','real')
harmonicY(__,'type','imag')
by the following lines, respectively:
real(harmonicY(__))
imag(harmonicY(__))