astropy / imageutils

Image processing utilities for Astropy (No longer maintained)
https://imageutils.readthedocs.org/
9 stars 17 forks source link

Why "Can't extract array. Shape too large." in `array_utils`? #20

Closed hamogu closed 9 years ago

hamogu commented 10 years ago

Why do the routines in array_utils raise an exception if I add two arrays and array 2 is larger than array 1, but I can easily add array 2 and array 1, centering array 1 at position (0,0)? In this case also only a subset of array 2 is used, so why not just use the subset of array 2 that overlaps array 1 if array 2 is larger than array 1?

cdeil commented 9 years ago

@hamogu Can you give a code example? Is this the same issue as #40 or a different issue?

hamogu commented 9 years ago

Yes, #20 is exactly the same thing. Since that issue is described in more detail I'm going to close this.