phasorpy 0.7__cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.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 +9 -0
- phasorpy/__main__.py +7 -0
- phasorpy/_phasorpy.cpython-311-aarch64-linux-gnu.so +0 -0
- phasorpy/_phasorpy.pyx +2688 -0
- phasorpy/_typing.py +77 -0
- phasorpy/_utils.py +786 -0
- phasorpy/cli.py +160 -0
- phasorpy/cluster.py +200 -0
- phasorpy/color.py +589 -0
- phasorpy/component.py +707 -0
- phasorpy/conftest.py +38 -0
- phasorpy/cursor.py +500 -0
- phasorpy/datasets.py +722 -0
- phasorpy/experimental.py +310 -0
- phasorpy/io/__init__.py +138 -0
- phasorpy/io/_flimlabs.py +360 -0
- phasorpy/io/_leica.py +331 -0
- phasorpy/io/_ometiff.py +444 -0
- phasorpy/io/_other.py +890 -0
- phasorpy/io/_simfcs.py +652 -0
- phasorpy/lifetime.py +2058 -0
- phasorpy/phasor.py +2018 -0
- phasorpy/plot/__init__.py +27 -0
- phasorpy/plot/_functions.py +723 -0
- phasorpy/plot/_lifetime_plots.py +563 -0
- phasorpy/plot/_phasorplot.py +1507 -0
- phasorpy/plot/_phasorplot_fret.py +561 -0
- phasorpy/py.typed +0 -0
- phasorpy/utils.py +172 -0
- phasorpy-0.7.dist-info/METADATA +74 -0
- phasorpy-0.7.dist-info/RECORD +36 -0
- phasorpy-0.7.dist-info/WHEEL +7 -0
- phasorpy-0.7.dist-info/entry_points.txt +2 -0
- phasorpy-0.7.dist-info/licenses/LICENSE.txt +21 -0
- phasorpy-0.7.dist-info/top_level.txt +1 -0
- phasorpy.libs/libgomp-947d5fa1.so.1.0.0 +0 -0
phasorpy/_typing.py
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
"""Type annotations.
|
2
|
+
|
3
|
+
This module should only be imported when type-checking, for example::
|
4
|
+
|
5
|
+
from __future__ import annotations
|
6
|
+
|
7
|
+
from typing import TYPE_CHECKING
|
8
|
+
|
9
|
+
if TYPE_CHECKING:
|
10
|
+
from ._typing import Any, ArrayLike, PathLike
|
11
|
+
|
12
|
+
"""
|
13
|
+
|
14
|
+
# flake8: noqa: F401
|
15
|
+
# pylint: disable=unused-import
|
16
|
+
# autoflake: skip_file
|
17
|
+
|
18
|
+
from __future__ import annotations
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'Any',
|
22
|
+
'ArrayLike',
|
23
|
+
'Callable',
|
24
|
+
'Collection',
|
25
|
+
'Container',
|
26
|
+
'DTypeLike',
|
27
|
+
'DataArray',
|
28
|
+
'EllipsisType',
|
29
|
+
'IO',
|
30
|
+
'ItemsView',
|
31
|
+
'Iterable',
|
32
|
+
'Iterator',
|
33
|
+
'KeysView',
|
34
|
+
'Literal',
|
35
|
+
'Mapping',
|
36
|
+
'NDArray',
|
37
|
+
'Optional',
|
38
|
+
'PathLike',
|
39
|
+
'Pooch',
|
40
|
+
'Sequence',
|
41
|
+
'TextIO',
|
42
|
+
'Union',
|
43
|
+
'ValuesView',
|
44
|
+
'cast',
|
45
|
+
'final',
|
46
|
+
'overload',
|
47
|
+
]
|
48
|
+
|
49
|
+
from collections.abc import (
|
50
|
+
Callable,
|
51
|
+
Collection,
|
52
|
+
Container,
|
53
|
+
ItemsView,
|
54
|
+
Iterable,
|
55
|
+
Iterator,
|
56
|
+
KeysView,
|
57
|
+
Mapping,
|
58
|
+
Sequence,
|
59
|
+
ValuesView,
|
60
|
+
)
|
61
|
+
from os import PathLike
|
62
|
+
from types import EllipsisType
|
63
|
+
from typing import (
|
64
|
+
IO,
|
65
|
+
Any,
|
66
|
+
Literal,
|
67
|
+
Optional,
|
68
|
+
TextIO,
|
69
|
+
Union,
|
70
|
+
cast,
|
71
|
+
final,
|
72
|
+
overload,
|
73
|
+
)
|
74
|
+
|
75
|
+
from numpy.typing import ArrayLike, DTypeLike, NDArray
|
76
|
+
from pooch import Pooch
|
77
|
+
from xarray import DataArray
|