This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
nd2reader
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
resolves
#113
: removed `.data` property from images now that they simply behave like numpy arrays
master
jim
9 years ago
parent
0edaee5536
commit
a102f6189b
1 changed files
with
0 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-6
nd2reader/model/image.py
+ 0
- 6
nd2reader/model/image.py
View File
@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
import
numpy
as
np
import
warnings
class
Image
(
np
.
ndarray
)
:
@ -99,8 +98,3 @@ class Image(np.ndarray):
"""
return
self
.
_z_level
@property
def
data
(
self
)
:
warnings
.
warn
(
"
Image objects now directly subclass Numpy arrays, so using the data attribute will be removed in the near future.
"
,
DeprecationWarning
)
return
self
Write
Preview
Loading…
Cancel
Save