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
The reason the arrays are formatted the way they are in the docs is to make it easy for the reader to understand what the function is doing. Reformatting as suggested reduces understanding in my opinion.
http://docs.sunpy.org/en/latest/generated/api/sunpy.image.rescale.reshape_image_to_4d_superpixel.html
This should be like this and not like in the docs.
x = np.array([[0, 0, 0, 1, 1, 1], [0, 0, 1, 1, 0, 0], [1, 1, 0, 0, 1, 1], [0, 0, 0, 0, 1, 1], [1, 0, 1, 0, 1, 1], [0, 0, 1, 0, 0, 0]])
Same with
array([[0, 3, 2], [2, 0, 4], [1, 2, 2]])
Not much of an issue, I guess.
The text was updated successfully, but these errors were encountered: