dclab 0.62.12__cp313-cp313-win_amd64.whl → 0.62.13__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dclab might be problematic. Click here for more details.
- dclab/_version.py +2 -2
- dclab/downsampling.cp313-win_amd64.pyd +0 -0
- dclab/external/skimage/_find_contours_cy.cp313-win_amd64.pyd +0 -0
- dclab/external/skimage/_pnpoly.cp313-win_amd64.pyd +0 -0
- dclab/external/skimage/_shared/geometry.cp313-win_amd64.pyd +0 -0
- dclab/rtdc_dataset/fmt_dcor/tables.py +30 -8
- dclab/rtdc_dataset/fmt_hdf5/tables.py +28 -1
- {dclab-0.62.12.dist-info → dclab-0.62.13.dist-info}/METADATA +1 -1
- {dclab-0.62.12.dist-info → dclab-0.62.13.dist-info}/RECORD +13 -13
- {dclab-0.62.12.dist-info → dclab-0.62.13.dist-info}/LICENSE +0 -0
- {dclab-0.62.12.dist-info → dclab-0.62.13.dist-info}/WHEEL +0 -0
- {dclab-0.62.12.dist-info → dclab-0.62.13.dist-info}/entry_points.txt +0 -0
- {dclab-0.62.12.dist-info → dclab-0.62.13.dist-info}/top_level.txt +0 -0
dclab/_version.py
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -29,14 +29,36 @@ class DCORTables:
|
|
|
29
29
|
# assemble the tables
|
|
30
30
|
tables = {}
|
|
31
31
|
for key in table_data:
|
|
32
|
-
|
|
33
|
-
tab_data = np.asarray(data)
|
|
34
|
-
if columns is not None:
|
|
35
|
-
# We have a rec-array (named columns)
|
|
36
|
-
ds_dt = np.dtype({'names': columns,
|
|
37
|
-
'formats': [np.float64] * len(columns)})
|
|
38
|
-
tab_data = np.rec.array(tab_data, dtype=ds_dt)
|
|
39
|
-
tables[key] = tab_data
|
|
32
|
+
tables[key] = DCORTable(table_data[key])
|
|
40
33
|
|
|
41
34
|
self._tables_cache = tables
|
|
42
35
|
return self._tables_cache
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class DCORTable:
|
|
39
|
+
def __init__(self, table_content):
|
|
40
|
+
self._columns, data = table_content
|
|
41
|
+
self._tab_data = np.asarray(data)
|
|
42
|
+
if self._columns is not None:
|
|
43
|
+
# We have a rec-array (named columns)
|
|
44
|
+
|
|
45
|
+
ds_dt = np.dtype({'names': self._columns,
|
|
46
|
+
'formats': [np.float64] * len(self._columns)})
|
|
47
|
+
self._tab_data = np.rec.array(self._tab_data, dtype=ds_dt)
|
|
48
|
+
|
|
49
|
+
def __array__(self, *args, **kwargs):
|
|
50
|
+
return self._tab_data.__array__(*args, **kwargs)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
def meta(self):
|
|
54
|
+
# TODO: Implement metadata sending from DCOR.
|
|
55
|
+
return {}
|
|
56
|
+
|
|
57
|
+
def has_graphs(self):
|
|
58
|
+
return self._columns is not None
|
|
59
|
+
|
|
60
|
+
def keys(self):
|
|
61
|
+
return self._columns
|
|
62
|
+
|
|
63
|
+
def __getitem__(self, key):
|
|
64
|
+
return self._tab_data[key]
|
|
@@ -5,7 +5,7 @@ class H5Tables:
|
|
|
5
5
|
|
|
6
6
|
def __getitem__(self, key):
|
|
7
7
|
if key in self.keys():
|
|
8
|
-
tab = self.h5file["tables"][key]
|
|
8
|
+
tab = H5Table(self.h5file["tables"][key])
|
|
9
9
|
else:
|
|
10
10
|
raise KeyError(f"Table '{key}' not found or empty "
|
|
11
11
|
f"in {self.h5file.file.filename}!")
|
|
@@ -28,3 +28,30 @@ class H5Tables:
|
|
|
28
28
|
names.append(key)
|
|
29
29
|
self._cache_keys = names
|
|
30
30
|
return self._cache_keys
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class H5Table:
|
|
34
|
+
def __init__(self, h5_ds):
|
|
35
|
+
self._h5_ds = h5_ds
|
|
36
|
+
self._keys = None
|
|
37
|
+
self._meta = None
|
|
38
|
+
|
|
39
|
+
def __array__(self, *args, **kwargs):
|
|
40
|
+
return self._h5_ds.__array__(*args, **kwargs)
|
|
41
|
+
|
|
42
|
+
@property
|
|
43
|
+
def meta(self):
|
|
44
|
+
if self._meta is None:
|
|
45
|
+
self._meta = dict(self._h5_ds.attrs)
|
|
46
|
+
return self._meta
|
|
47
|
+
|
|
48
|
+
def has_graphs(self):
|
|
49
|
+
return self.keys() is not None
|
|
50
|
+
|
|
51
|
+
def keys(self):
|
|
52
|
+
if self._keys is None:
|
|
53
|
+
self._keys = self._h5_ds.dtype.names
|
|
54
|
+
return self._keys
|
|
55
|
+
|
|
56
|
+
def __getitem__(self, key):
|
|
57
|
+
return self._h5_ds[key]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: dclab
|
|
3
|
-
Version: 0.62.
|
|
3
|
+
Version: 0.62.13
|
|
4
4
|
Summary: Library for real-time deformability cytometry (RT-DC)
|
|
5
5
|
Author: Benedikt Hartmann, Eoghan O'Connell, Maik Herbig, Maximilian Schlögel, Nadia Sbaa, Paul Müller, Philipp Rosendahl, Raghava Alajangi
|
|
6
6
|
Maintainer-email: Paul Müller <dev@craban.de>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
dclab/__init__.py,sha256=7_y6YtYcoL_a5M6Q9PiwZPzHSxS66yCTgs_uuK5C1dg,835
|
|
2
|
-
dclab/_version.py,sha256=
|
|
2
|
+
dclab/_version.py,sha256=gpxuOmFXpEzKpKMUV-POrx0oECeyfYkEMyMPr4WO0mg,431
|
|
3
3
|
dclab/cached.py,sha256=t01BYTf43VEsBYa0c-bMxgceF5vKoGV73b42UlLH6Lo,3014
|
|
4
|
-
dclab/downsampling.cp313-win_amd64.pyd,sha256=
|
|
4
|
+
dclab/downsampling.cp313-win_amd64.pyd,sha256=YWOqQPV42fK3RWyK9l7OvpEulRije68-prVjvg6KQQU,185856
|
|
5
5
|
dclab/downsampling.pyx,sha256=Ez6MbNbzCUzs2IXXKtAYsjtYqP22kI8hdA1IE-3mqvY,7488
|
|
6
6
|
dclab/http_utils.py,sha256=nneq9Cx8dw8ChQx5oIg2pN0xGkvNWCMSY5VYmttqyXA,11232
|
|
7
7
|
dclab/kde_contours.py,sha256=k0Y1UsJNtuYY8iqYmfQ-Nml-dFpJAcigd3vmt9U6zsY,6967
|
|
@@ -35,14 +35,14 @@ dclab/external/packaging/version.py,sha256=NgEgv7me4UCvFMyiNYD-nc_28b9UHUvBVh8RD
|
|
|
35
35
|
dclab/external/skimage/LICENSE,sha256=Tdv08zzxYV32WRdYnco9P3nVyS5w17OTxIAFeRSd1wc,1480
|
|
36
36
|
dclab/external/skimage/__init__.py,sha256=icOIlThkyn_hxmnM_i7OpbU7fhvqYWNpGdNGD38qthU,74
|
|
37
37
|
dclab/external/skimage/_find_contours.py,sha256=auRMNfZg7B73DX7kPXxgD8gMXXB3Lk9QDWt4wlQnUWg,9556
|
|
38
|
-
dclab/external/skimage/_find_contours_cy.cp313-win_amd64.pyd,sha256=
|
|
38
|
+
dclab/external/skimage/_find_contours_cy.cp313-win_amd64.pyd,sha256=wU0YyVCYKCKxh3w8hAkCNHnk9VxnfTxM5FBtvmDWeic,145920
|
|
39
39
|
dclab/external/skimage/_find_contours_cy.pyx,sha256=c-EobLhKjZNCpuqWxmvrcH35uAY_Bu-_hZiUHbXODms,7349
|
|
40
|
-
dclab/external/skimage/_pnpoly.cp313-win_amd64.pyd,sha256=
|
|
40
|
+
dclab/external/skimage/_pnpoly.cp313-win_amd64.pyd,sha256=ZpIkk_i-3KpDog-3qm3_DqzeysA1K8HythAeA2eg23c,160256
|
|
41
41
|
dclab/external/skimage/_pnpoly.pyx,sha256=eHV3DlIGcBhAQ12-Y58EYq8xcq0Sibyc4xTxzX9NJsk,2603
|
|
42
42
|
dclab/external/skimage/measure.py,sha256=rzyI0HCr9O9GJNieVW8pcqDjTGRAdSehDUawD8QkIAE,254
|
|
43
43
|
dclab/external/skimage/pnpoly.py,sha256=zB4rSxjHJyY1OsGZ7QfFQqxIEDLGK8CWPehwutoFqm4,1400
|
|
44
44
|
dclab/external/skimage/_shared/__init__.py,sha256=q29esTsNh0HfQxcd2EuwdYNbEBJwo_qY4dfv7RihzoA,38
|
|
45
|
-
dclab/external/skimage/_shared/geometry.cp313-win_amd64.pyd,sha256=
|
|
45
|
+
dclab/external/skimage/_shared/geometry.cp313-win_amd64.pyd,sha256=gZN2KxN7YcGAk9Cgz-3qyXiSvOZsDHMQXgKRJHxCFf8,19456
|
|
46
46
|
dclab/external/skimage/_shared/geometry.pxd,sha256=3gJ7fbXXsxJunSN4biE0dzEbZpX9ZqzR4cUDDN0JnAU,352
|
|
47
47
|
dclab/external/skimage/_shared/geometry.pyx,sha256=b6hADE8chse63haO1Kdt13_oQ54J9tkBf7dVA22-s-M,1722
|
|
48
48
|
dclab/external/statsmodels/LICENSE,sha256=8D7nwukc6YgsZCdN9mG0psM3I9j-z8fuUgFyVhnMXpU,1672
|
|
@@ -109,14 +109,14 @@ dclab/rtdc_dataset/fmt_dcor/api.py,sha256=v7xAxZtjPpQiSRq9AgYhrV6I9iM7KpPv38WzSE
|
|
|
109
109
|
dclab/rtdc_dataset/fmt_dcor/base.py,sha256=i9VWbKtPlY3K1WeFll3iAKXEhznVvJjQE1jVaEM2c9g,6788
|
|
110
110
|
dclab/rtdc_dataset/fmt_dcor/basin.py,sha256=JzofdU45r-TTBGl8Nnvo-j-YsnT23X2gXnvaOSINJxg,2599
|
|
111
111
|
dclab/rtdc_dataset/fmt_dcor/logs.py,sha256=e1BiJ8we4IghbxVAZM56K4P4IjJDHIBfHH_Uz-p2w9g,609
|
|
112
|
-
dclab/rtdc_dataset/fmt_dcor/tables.py,sha256=
|
|
112
|
+
dclab/rtdc_dataset/fmt_dcor/tables.py,sha256=Q2HGOZDYmy922HMca-ZiwYeMeES0rxDWT6YcKaR8NYo,1699
|
|
113
113
|
dclab/rtdc_dataset/fmt_hdf5/__init__.py,sha256=UnitCqiMkY8mMcUKgfLBRVBP5srpTNLrZd3BIRr2tZE,276
|
|
114
114
|
dclab/rtdc_dataset/fmt_hdf5/base.py,sha256=CAcYaN_6X10NK-R1IvlJj6y70lNyAVyT0OnGMs4VMB4,6583
|
|
115
115
|
dclab/rtdc_dataset/fmt_hdf5/basin.py,sha256=qbYgj0RKS9k6RTu5XmYEtgdcbqnVNokD3rAxogyrWrU,822
|
|
116
116
|
dclab/rtdc_dataset/fmt_hdf5/events.py,sha256=6u2K86vqxd4qWaYk_hzRA5LMQRrduNvMxmloWWt4aMc,8488
|
|
117
117
|
dclab/rtdc_dataset/fmt_hdf5/feat_defect.py,sha256=w7dfs6pULUVJ8Ypz2VBYIKokKVhCn6as6fn3GL8Z7s0,6704
|
|
118
118
|
dclab/rtdc_dataset/fmt_hdf5/logs.py,sha256=c33YLC70h7RR4uw-RPc-vvTPTMZgSfd_0Nz9pAeA6d4,1037
|
|
119
|
-
dclab/rtdc_dataset/fmt_hdf5/tables.py,sha256=
|
|
119
|
+
dclab/rtdc_dataset/fmt_hdf5/tables.py,sha256=hV2Ke7pEXQEV6iNO-PtD7pcr4JYqzX8AlzVmpkGR2l4,1562
|
|
120
120
|
dclab/rtdc_dataset/fmt_hierarchy/__init__.py,sha256=NB8Tz6-AquG0rAiCeCSQGIzw_W1y7mNz4V4MI-yaEJ0,366
|
|
121
121
|
dclab/rtdc_dataset/fmt_hierarchy/base.py,sha256=OivbnWpU9yNVoNJ6wcY8IFyTNTSAzm-lJa8gtz4GUK0,9718
|
|
122
122
|
dclab/rtdc_dataset/fmt_hierarchy/events.py,sha256=36aIw3wyOLi6uPGUO4gG6DhLzJHFiwXTh-2bJjSqMmI,4693
|
|
@@ -129,9 +129,9 @@ dclab/rtdc_dataset/fmt_tdms/event_mask.py,sha256=cW-Tw2PIe6X1Hc4UZJ22-mI_qFaIMWA
|
|
|
129
129
|
dclab/rtdc_dataset/fmt_tdms/event_trace.py,sha256=ktWnXfMir1v5Wfeo7tOd0txSOe1bgsXotf9Ul5T5-B4,5361
|
|
130
130
|
dclab/rtdc_dataset/fmt_tdms/exc.py,sha256=FfxUY4LGIMPGJTYmGITmEm7X5iu8GBsj7OfZR8Zb-IE,850
|
|
131
131
|
dclab/rtdc_dataset/fmt_tdms/naming.py,sha256=SFeWiwIN7sg0qNe0Aya2bZshN1Zbw4YcOKunZ6kfIGM,5524
|
|
132
|
-
dclab-0.62.
|
|
133
|
-
dclab-0.62.
|
|
134
|
-
dclab-0.62.
|
|
135
|
-
dclab-0.62.
|
|
136
|
-
dclab-0.62.
|
|
137
|
-
dclab-0.62.
|
|
132
|
+
dclab-0.62.13.dist-info/LICENSE,sha256=ayjnuJcdf_kpkDyD61tUcVqVAQaNSYXJ73m5HVB4G8s,18474
|
|
133
|
+
dclab-0.62.13.dist-info/METADATA,sha256=EjBFU1z3Ha7HKm4HZwqUM0K85vMSYWSMKixqpB_robE,4901
|
|
134
|
+
dclab-0.62.13.dist-info/WHEEL,sha256=6bXTkCllrWLYPW3gCPkeRA91N4604g9hqNhQqZWsUzQ,101
|
|
135
|
+
dclab-0.62.13.dist-info/entry_points.txt,sha256=eOpjgznu-eW-9utUpLU-77O5098YyUEgGF3ksGMdtec,273
|
|
136
|
+
dclab-0.62.13.dist-info/top_level.txt,sha256=irvwZMgs1edY1Zj60ZFk7Almb9Zhk4k6E6aC4YPFnnM,6
|
|
137
|
+
dclab-0.62.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|