Sometimes, for both ImageArray and SpyFile, you need a way to bypass the SPy-style indexing and get to a numpy object. Rather than having functions test the type of a the data, the asarray methods in this commit return an analogous interface for both classes.
Sometimes, for both
ImageArray
andSpyFile
, you need a way to bypass the SPy-style indexing and get to a numpy object. Rather than having functions test the type of a the data, theasarray
methods in this commit return an analogous interface for both classes.