Closed ddahlbom closed 2 months ago
Oops my bad! Just need to replace length(ks)
-> size(ks)...
on these lines I think:
This was fixed in https://github.com/SunnySuite/Sunny.jl/pull/265, which has become part of https://github.com/SunnySuite/Sunny.jl/pull/230.
In contrast with the other intensities functions (e.g.,
intensities_interpolated
,intensities_broadened
),intensities_bands
only accepts linear arrays of wave vectors. For example, the following,will throw a broadcast error, whereas the other intensities functions will return an array with dimensions consistent with the input array of wave vectors.
Just leaving this as a reminder. Changing this would be good for interface consistency and for being able to create 3D plots of dispersion relations.