dclab 0.62.12__cp312-cp312-musllinux_1_2_x86_64.whl → 0.62.13__cp312-cp312-musllinux_1_2_x86_64.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.cpython-312-x86_64-linux-musl.so +0 -0
- dclab/external/skimage/_pnpoly.cpython-312-x86_64-linux-musl.so +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 +11 -11
- {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
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
dclab/downsampling.cpython-312-x86_64-linux-musl.so,sha256=
|
|
1
|
+
dclab/downsampling.cpython-312-x86_64-linux-musl.so,sha256=gSLNn6TDE14xYChWvL0CA38S1hPAUv6dQFm9NP46R9M,1521384
|
|
2
2
|
dclab/cached.py,sha256=eWTYBiI-HQM7JuPH-oxa5LLnhAX32GpRwlYg2kQ3sTA,2917
|
|
3
|
-
dclab/_version.py,sha256=
|
|
3
|
+
dclab/_version.py,sha256=BStrLKf1_ahS_0f5AwaERVLxxQT0VoDKL1AD-6iDlyw,415
|
|
4
4
|
dclab/statistics.py,sha256=tJDqPlY_Jw2Hhl-s7ugMBSZAxcRuPu4LQuBAZBXz7t8,6355
|
|
5
5
|
dclab/kde_contours.py,sha256=5K7PzZz-FtSGvW4IR2tLpbEKKqCSsSTQPsupu7zIsPg,6745
|
|
6
6
|
dclab/__init__.py,sha256=1mskJAUo8HbvDhJRJFbcFB6HccFeqoRUCEHLuS64t_g,812
|
|
@@ -26,7 +26,7 @@ dclab/rtdc_dataset/feat_temp.py,sha256=XbDIS1iUUkRH0Zp9uVlwvK_untJ7hkOnKshK1Drsn
|
|
|
26
26
|
dclab/rtdc_dataset/fmt_dict.py,sha256=gumVQOiVVDFUKow_483PY7cxInqo-NiBBnBhIU8s4lg,3009
|
|
27
27
|
dclab/rtdc_dataset/fmt_dcor/access_token.py,sha256=jotLQay138RUlv8wbdF2ishRnyE9N0KwGGBlbCL0wRI,2028
|
|
28
28
|
dclab/rtdc_dataset/fmt_dcor/base.py,sha256=wD127W5LvvhkUy8SvFVVwAR6EEYtzgoWJ4booh45rfA,6588
|
|
29
|
-
dclab/rtdc_dataset/fmt_dcor/tables.py,sha256=
|
|
29
|
+
dclab/rtdc_dataset/fmt_dcor/tables.py,sha256=FY7AuJ9DEN55nQsCCyAp8ZlqO4hrwP5EDkQOov2OOfk,1635
|
|
30
30
|
dclab/rtdc_dataset/fmt_dcor/__init__.py,sha256=WjO1uM_Vlof15Y7HkhkV5Xv75q9TDIdOBIuS_I38qps,210
|
|
31
31
|
dclab/rtdc_dataset/fmt_dcor/basin.py,sha256=tQZ4GumqURjS3eppRrSyUq1zBPD0y_8rwznMRDXiDUs,2526
|
|
32
32
|
dclab/rtdc_dataset/fmt_dcor/api.py,sha256=COPRnPfPBcxbQGxHFEbGxp2CjK-Mgnt3cIu20-Zz04M,4245
|
|
@@ -41,7 +41,7 @@ dclab/rtdc_dataset/fmt_tdms/exc.py,sha256=WzrMqnyrzp8gsT8Pf7JKqGGv43ewx7d_qgtirU
|
|
|
41
41
|
dclab/rtdc_dataset/fmt_tdms/event_image.py,sha256=-jp7Z-N91e4ieumYQ1huMicj7PMJqwIr5VsNWE_-EEk,8006
|
|
42
42
|
dclab/rtdc_dataset/fmt_tdms/naming.py,sha256=biI9l1EO6BuSYgwZG0deacj4i1fMHQcW78AKXEcm5Wc,5373
|
|
43
43
|
dclab/rtdc_dataset/fmt_hdf5/base.py,sha256=_PgmDq2K7RGCuhV9J4YZwg9noW1hi2w14ZP8ooRR8Lw,6391
|
|
44
|
-
dclab/rtdc_dataset/fmt_hdf5/tables.py,sha256=
|
|
44
|
+
dclab/rtdc_dataset/fmt_hdf5/tables.py,sha256=DFIYoeNiGO0dut-wK1gBX-kuPD603mw_2VbFDtPkDNg,1505
|
|
45
45
|
dclab/rtdc_dataset/fmt_hdf5/__init__.py,sha256=yWLYK-Fq0EYnp2eYfl1Ze02RBMOWg-iALJWs4dFSxxY,270
|
|
46
46
|
dclab/rtdc_dataset/fmt_hdf5/basin.py,sha256=mJZR92Qoa71EwDVDYAP9KtOcjvRyjtA2wO1DkCBfBQc,792
|
|
47
47
|
dclab/rtdc_dataset/fmt_hdf5/events.py,sha256=JUuPviS4lEXMjfNgJE-jkeArAwUVkdA1bmAszJGjPvc,8231
|
|
@@ -95,7 +95,7 @@ dclab/external/skimage/__init__.py,sha256=-B2QUKHAFzQuBWuuKvPDC5JIl0Zb-x3OGmbwPa
|
|
|
95
95
|
dclab/external/skimage/LICENSE,sha256=ivsSBvn3c0R9mOctWRRdza7C7wdZSRYgCVxlVqUdlB8,1452
|
|
96
96
|
dclab/external/skimage/_find_contours_cy.cpython-312-x86_64-linux-musl.so,sha256=ABjJktmOIV5sUb1bVg-uG2C7G9Y0GGzZGfO6tLqyPaA,1156616
|
|
97
97
|
dclab/external/skimage/pnpoly.py,sha256=r8hFNiTz5XlUoNZjosqA0iyv1FPn0l7ewbplgFgkdaw,1347
|
|
98
|
-
dclab/external/skimage/_pnpoly.cpython-312-x86_64-linux-musl.so,sha256=
|
|
98
|
+
dclab/external/skimage/_pnpoly.cpython-312-x86_64-linux-musl.so,sha256=5N4D3fk8u8MiszvKwLDT5X9tg-Mjbvfrre2RrbQ7YxY,1230560
|
|
99
99
|
dclab/external/skimage/_find_contours_cy.pyx,sha256=pZJOBhMHzYEMkcz4WQVyjn7jDNrdjCfet47FU1hRAxk,7161
|
|
100
100
|
dclab/external/skimage/_find_contours.py,sha256=16v5eeTZBmevG8SSuXtJ6yUpVPhwfSmtc8pDD0nuuOU,9340
|
|
101
101
|
dclab/external/skimage/_shared/__init__.py,sha256=2sHZwTtJSlMTa3Q2YSvQW7jrPLMUSqDJQa-ROe5zfcw,37
|
|
@@ -129,9 +129,9 @@ dclab/lme4/wrapr.py,sha256=rdIc2hS8GhgdU9WFA6pLzohJGlBga-mkm60qqqk6VO4,15017
|
|
|
129
129
|
dclab/lme4/rsetup.py,sha256=kH9VFtcK83ZaF9jvh1n5kcmGmPLLsmCPia_ElEHBLes,5890
|
|
130
130
|
dclab/lme4/__init__.py,sha256=5WPFMTK-Yia3NJuwZEEBQ3fCyW3DiFgpZFrAwU33TV4,272
|
|
131
131
|
dclab/lme4/lme4_template.R,sha256=CEXQIquvYCla9dCvRYgiBemI6fiVgAKnJTetJA2LAtk,2570
|
|
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/RECORD,,
|
|
133
|
+
dclab-0.62.13.dist-info/entry_points.txt,sha256=eOpjgznu-eW-9utUpLU-77O5098YyUEgGF3ksGMdtec,273
|
|
134
|
+
dclab-0.62.13.dist-info/top_level.txt,sha256=irvwZMgs1edY1Zj60ZFk7Almb9Zhk4k6E6aC4YPFnnM,6
|
|
135
|
+
dclab-0.62.13.dist-info/LICENSE,sha256=1mLfjOTOaeiMSGPJiF5hHnMQfKX88QVeZpCCXwJGj3k,18131
|
|
136
|
+
dclab-0.62.13.dist-info/METADATA,sha256=WtnYmez3PYa8IxgLQu5z2n8IZMbzCLxIctZujrctsaQ,4755
|
|
137
|
+
dclab-0.62.13.dist-info/WHEEL,sha256=c9GU1jhDUn7S-APtjPhve05mT2FAOW_4NMGdpCIyIBM,112
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|