phasorpy 0.5__cp312-cp312-win_amd64.whl → 0.6__cp312-cp312-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.
- phasorpy/__init__.py +2 -3
- phasorpy/_phasorpy.cp312-win_amd64.pyd +0 -0
- phasorpy/_phasorpy.pyx +185 -2
- phasorpy/_utils.py +121 -9
- phasorpy/cli.py +56 -3
- phasorpy/cluster.py +42 -6
- phasorpy/components.py +226 -55
- phasorpy/experimental.py +312 -0
- phasorpy/io/__init__.py +137 -0
- phasorpy/io/_flimlabs.py +350 -0
- phasorpy/io/_leica.py +329 -0
- phasorpy/io/_ometiff.py +445 -0
- phasorpy/io/_other.py +782 -0
- phasorpy/io/_simfcs.py +627 -0
- phasorpy/phasor.py +307 -1
- phasorpy/plot/__init__.py +27 -0
- phasorpy/plot/_functions.py +717 -0
- phasorpy/plot/_lifetime_plots.py +553 -0
- phasorpy/plot/_phasorplot.py +1119 -0
- phasorpy/plot/_phasorplot_fret.py +559 -0
- phasorpy/utils.py +84 -296
- {phasorpy-0.5.dist-info → phasorpy-0.6.dist-info}/METADATA +2 -2
- phasorpy-0.6.dist-info/RECORD +34 -0
- {phasorpy-0.5.dist-info → phasorpy-0.6.dist-info}/WHEEL +1 -1
- phasorpy/_io.py +0 -2655
- phasorpy/io.py +0 -9
- phasorpy/plot.py +0 -2318
- phasorpy/version.py +0 -80
- phasorpy-0.5.dist-info/RECORD +0 -26
- {phasorpy-0.5.dist-info → phasorpy-0.6.dist-info}/entry_points.txt +0 -0
- {phasorpy-0.5.dist-info → phasorpy-0.6.dist-info}/licenses/LICENSE.txt +0 -0
- {phasorpy-0.5.dist-info → phasorpy-0.6.dist-info}/top_level.txt +0 -0
phasorpy/version.py
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
"""Version information for PhasorPy and dependencies."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
__all__ = ['__version__', 'versions']
|
6
|
-
|
7
|
-
__version__ = '0.5'
|
8
|
-
|
9
|
-
|
10
|
-
def versions(
|
11
|
-
*, sep: str = '\n', dash: str = '-', verbose: bool = False
|
12
|
-
) -> str:
|
13
|
-
"""Return version information for PhasorPy and its dependencies.
|
14
|
-
|
15
|
-
Parameters
|
16
|
-
----------
|
17
|
-
sep : str, optional
|
18
|
-
Separator between version items. Defaults to newline.
|
19
|
-
dash : str, optional
|
20
|
-
Separator between module name and version. Defaults to dash.
|
21
|
-
verbose : bool, optional
|
22
|
-
Include paths to Python interpreter and modules.
|
23
|
-
|
24
|
-
Returns
|
25
|
-
-------
|
26
|
-
str
|
27
|
-
Formatted string containing version information.
|
28
|
-
Format: "<package><dash><version>[<space>(<path>)]<sep>"
|
29
|
-
|
30
|
-
Example
|
31
|
-
-------
|
32
|
-
>>> print(versions())
|
33
|
-
Python-3...
|
34
|
-
phasorpy-0...
|
35
|
-
numpy-...
|
36
|
-
...
|
37
|
-
|
38
|
-
"""
|
39
|
-
import os
|
40
|
-
import sys
|
41
|
-
|
42
|
-
if verbose:
|
43
|
-
version_strings = [f'Python{dash}{sys.version} ({sys.executable})']
|
44
|
-
else:
|
45
|
-
version_strings = [f'Python{dash}{sys.version.split()[0]}']
|
46
|
-
|
47
|
-
for module in (
|
48
|
-
'phasorpy',
|
49
|
-
'numpy',
|
50
|
-
'tifffile',
|
51
|
-
'imagecodecs',
|
52
|
-
'lfdfiles',
|
53
|
-
'sdtfile',
|
54
|
-
'ptufile',
|
55
|
-
'liffile',
|
56
|
-
'matplotlib',
|
57
|
-
'scipy',
|
58
|
-
'skimage',
|
59
|
-
'sklearn',
|
60
|
-
'pandas',
|
61
|
-
'xarray',
|
62
|
-
'click',
|
63
|
-
'pooch',
|
64
|
-
):
|
65
|
-
try:
|
66
|
-
__import__(module)
|
67
|
-
except ModuleNotFoundError:
|
68
|
-
version_strings.append(f'{module.lower()}{dash}n/a')
|
69
|
-
continue
|
70
|
-
lib = sys.modules[module]
|
71
|
-
ver = f"{module.lower()}{dash}{getattr(lib, '__version__', 'unknown')}"
|
72
|
-
if verbose:
|
73
|
-
try:
|
74
|
-
path = getattr(lib, '__file__')
|
75
|
-
except NameError:
|
76
|
-
pass
|
77
|
-
else:
|
78
|
-
ver += f' ({os.path.dirname(path)})'
|
79
|
-
version_strings.append(ver)
|
80
|
-
return sep.join(version_strings)
|
phasorpy-0.5.dist-info/RECORD
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
phasorpy/__init__.py,sha256=SwOTreV7wd8ZEL3waXQlgbNnsErWJ0dh6A2d77DWp0Y,254
|
2
|
-
phasorpy/__main__.py,sha256=0u6C98HYfajV1RoUww8kAc0CxdsON0ijgEyTYExCSLM,149
|
3
|
-
phasorpy/_io.py,sha256=iT6yzCCbzW3R5OvN2aDuGgfAhfzTXQDOIyRCNnSxdnA,86658
|
4
|
-
phasorpy/_phasorpy.cp312-win_amd64.pyd,sha256=CJFs-xKg-gDE607hx4CkroBTfPx3_zFPDa5xLrenyb4,899072
|
5
|
-
phasorpy/_phasorpy.pyx,sha256=0miKMEcc1dsohc252uTFiEWUdthzwx7jNVLDuQKZGPY,64124
|
6
|
-
phasorpy/_typing.py,sha256=ii-5-8KTs2BZq0Ytu3yJl8ejSQj1V06c1_Jcwa_2Snk,1324
|
7
|
-
phasorpy/_utils.py,sha256=5x3mDxabSBq52aO1hUkeIVsqBsoBfs5FEcCLB0aFZgU,17401
|
8
|
-
phasorpy/cli.py,sha256=_p0NYuA3EYgz5OI3Jvpo0G48UO6hhMuo5nHOTMUO74o,2004
|
9
|
-
phasorpy/cluster.py,sha256=Ai3jrBKTwL0VJ0T61NL_FPB88Xgo7YVP1c-FLSKmUs0,5001
|
10
|
-
phasorpy/color.py,sha256=Y0XINGWDI5DxTUO9FnwYbf3oZq9IB2XagoJOdXhEsvQ,17378
|
11
|
-
phasorpy/components.py,sha256=qIZ91o22Dua0Dx189t-UGkO2AEQD296INTAUHYoomtA,10455
|
12
|
-
phasorpy/conftest.py,sha256=0dCO8UZtEnhZv-JW1_vGvPZOmaihRLOo_Wc857socWI,976
|
13
|
-
phasorpy/cursors.py,sha256=1KzsfZBD-kKLdjiMUC3ZIKjSnVtnUwggVlt883EmcRo,15571
|
14
|
-
phasorpy/datasets.py,sha256=EggCWJnpHIHuobRV7aEBNM44B79hMzInNA_lEnMZum8,20870
|
15
|
-
phasorpy/io.py,sha256=xvQD8xGYCxp6LRFRTDguMUeXFSUG29knNd3HPWkTyjg,237
|
16
|
-
phasorpy/phasor.py,sha256=NeFmuYEvg9YMlL83sLkhKLO6IJepP5uZsc6BRCYRpuQ,119885
|
17
|
-
phasorpy/plot.py,sha256=Jkdwjubhm8rKQuraESW0Sn6tHHxGyryjDBj5n85oTyw,77423
|
18
|
-
phasorpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
-
phasorpy/utils.py,sha256=lBvYpS3WNLIjYcZ2kv1X6V5rFT3zNBqGsnJMEGqay1M,11770
|
20
|
-
phasorpy/version.py,sha256=pz2RAbZKrk1cd3jzmZ4lQOry9UzcBMxBO_WGjVpK360,2053
|
21
|
-
phasorpy-0.5.dist-info/licenses/LICENSE.txt,sha256=KVzeDa0MBRSUYPFFNuo7Atn6v62TiJTgGzHigltEX0o,1104
|
22
|
-
phasorpy-0.5.dist-info/METADATA,sha256=ULBHKOkw7nFpSd-M9_xUlHUEHJb3_jaTgdaqN8x6W6o,3322
|
23
|
-
phasorpy-0.5.dist-info/WHEEL,sha256=ovhA9_Ei_7ok2fAych90j-feDV4goiAxbO7REePtvw0,101
|
24
|
-
phasorpy-0.5.dist-info/entry_points.txt,sha256=VRhsl3qGiIKwtMraKapmduchTMbdReUi1AoVTe9f3ss,47
|
25
|
-
phasorpy-0.5.dist-info/top_level.txt,sha256=4Y0uYzya5R2loleAxZ6s2n53_FysUbgFTfFaU0i9rbo,9
|
26
|
-
phasorpy-0.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|