We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c89145 commit 56a5711Copy full SHA for 56a5711
spectral/spectral.py
@@ -284,11 +284,11 @@ def __repr__(self):
284
class ImageArray(numpy.ndarray, Image):
285
'''ImageArray is an interface to an image loaded entirely into memory.
286
ImageArray objects are returned by :meth:`spectral.SpyFile.load`.
287
- This class inherits from both numpy.ndarray and SpyFile, providing the
+ This class inherits from both numpy.ndarray and Image, providing the
288
interfaces of both classes.
289
'''
290
291
- format = 'f' # Use 4-byte floats form data arrays
+ format = 'f' # Use 4-byte floats for data arrays
292
293
def __new__(subclass, data, spyfile):
294
obj = numpy.asarray(data).view(subclass)
0 commit comments