You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
qs = [(a, b, 0) for a in range(-1, 1, 100), b in range(-1, 1, 100)]
disp, is = intensities_bands(swt, qs, formula)
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: