Open telephon opened 2 years ago
What about this segment? Maybe one should enhance it in direct comparison to SC? https://capital-g.github.io/musikinformatik-sose2021/00_basics/py_dimensions.html#working-with-matrices
The interface for the Image
class in sclang is not very good actually. One would need to write helper functions...
I think w/o any sort of easy visualization possibility it is difficult to make the 1:1 comparison obvious to understand on higher dim arrays and at the same time I also am not used to lots of slicing operations in SC (those are only possible with the matrix plugin but isn't this limited to 2dim data which do not reflect our 3 dim tensor of an image X x Y x (R x G x B)
).
The slicing operations are documented under J-concepts in SC.
I am also not sure what would be a good illustration. A 1:1 syntax comparison may help in any case.
Cool, was not aware of this, wished I would have knowen this sooner
sorry, thought I had mentioned it, but probably too briefly ...
It would be nice to have a one-to-one comparison of the array indexing / manipulation functions in numpy and sclang.
Good sources for sclang: