Open jeanconn opened 7 years ago
Ah, I think I get it... the aca_coords are subtracting off row0, col0, so my examples are just benefiting from negative indexing back in to the original array. It might be good to check the bounds on the aca coordinates of the ACAImage in question and throw an error instead of allowing the negative indexing.
Agreed an exception for out-of-bounds absolute indexing makes sense. Not sure if practical issues will come up (performance or other cases like slicing that goes out of bounds).
Reviewing the docs:
That's fine. Here's where I get a little confused:
It seems like these mappings back into the original array aren't quite absolute? I expect an error somewhere here.