align-toolbox 0.5.1__tar.gz

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.
Files changed (53) hide show
  1. align_toolbox-0.5.1/LICENSE +28 -0
  2. align_toolbox-0.5.1/PKG-INFO +90 -0
  3. align_toolbox-0.5.1/README.md +43 -0
  4. align_toolbox-0.5.1/align_toolbox/__init__.py +6 -0
  5. align_toolbox-0.5.1/align_toolbox/classification/__init__.py +5 -0
  6. align_toolbox-0.5.1/align_toolbox/classification/classification_tools.py +679 -0
  7. align_toolbox-0.5.1/align_toolbox/classification/qc_tools.py +134 -0
  8. align_toolbox-0.5.1/align_toolbox/data_analysis/__init__.py +39 -0
  9. align_toolbox-0.5.1/align_toolbox/data_analysis/growth_rate.py +382 -0
  10. align_toolbox-0.5.1/align_toolbox/data_analysis/time_series.py +747 -0
  11. align_toolbox-0.5.1/align_toolbox/deep_learning/__init__.py +16 -0
  12. align_toolbox-0.5.1/align_toolbox/deep_learning/architectures/__init__.py +9 -0
  13. align_toolbox-0.5.1/align_toolbox/deep_learning/architectures/archs.py +141 -0
  14. align_toolbox-0.5.1/align_toolbox/deep_learning/architectures/models.py +449 -0
  15. align_toolbox-0.5.1/align_toolbox/deep_learning/deep_learning_tools.py +249 -0
  16. align_toolbox-0.5.1/align_toolbox/deep_learning/utils/__init__.py +0 -0
  17. align_toolbox-0.5.1/align_toolbox/deep_learning/utils/augmentation.py +395 -0
  18. align_toolbox-0.5.1/align_toolbox/deep_learning/utils/dataset.py +1625 -0
  19. align_toolbox-0.5.1/align_toolbox/deep_learning/utils/loss.py +304 -0
  20. align_toolbox-0.5.1/align_toolbox/deep_learning/utils/util.py +190 -0
  21. align_toolbox-0.5.1/align_toolbox/foundation/__init__.py +0 -0
  22. align_toolbox-0.5.1/align_toolbox/foundation/binary_image.py +195 -0
  23. align_toolbox-0.5.1/align_toolbox/foundation/detect_molts.py +283 -0
  24. align_toolbox-0.5.1/align_toolbox/foundation/file_handling.py +333 -0
  25. align_toolbox-0.5.1/align_toolbox/foundation/image_handling.py +535 -0
  26. align_toolbox-0.5.1/align_toolbox/foundation/image_quality.py +140 -0
  27. align_toolbox-0.5.1/align_toolbox/foundation/keypoint_detection.py +44 -0
  28. align_toolbox-0.5.1/align_toolbox/foundation/utils.py +181 -0
  29. align_toolbox-0.5.1/align_toolbox/foundation/worm_features.py +772 -0
  30. align_toolbox-0.5.1/align_toolbox/foundation/zstack.py +180 -0
  31. align_toolbox-0.5.1/align_toolbox/plotting/__init__.py +0 -0
  32. align_toolbox-0.5.1/align_toolbox/plotting/boxplots.py +1439 -0
  33. align_toolbox-0.5.1/align_toolbox/plotting/curves.py +278 -0
  34. align_toolbox-0.5.1/align_toolbox/plotting/heterogeneity.py +286 -0
  35. align_toolbox-0.5.1/align_toolbox/plotting/images.py +424 -0
  36. align_toolbox-0.5.1/align_toolbox/plotting/plotting_structure.py +1008 -0
  37. align_toolbox-0.5.1/align_toolbox/plotting/proportions.py +1551 -0
  38. align_toolbox-0.5.1/align_toolbox/plotting/utils_data_processing.py +485 -0
  39. align_toolbox-0.5.1/align_toolbox/plotting/utils_plotting.py +344 -0
  40. align_toolbox-0.5.1/align_toolbox/quantification/__init__.py +9 -0
  41. align_toolbox-0.5.1/align_toolbox/quantification/quantification_tools.py +77 -0
  42. align_toolbox-0.5.1/align_toolbox/segmentation/__init__.py +11 -0
  43. align_toolbox-0.5.1/align_toolbox/segmentation/segmentation_tools.py +480 -0
  44. align_toolbox-0.5.1/align_toolbox/straightening/__init__.py +5 -0
  45. align_toolbox-0.5.1/align_toolbox/straightening/straightening_tools.py +1034 -0
  46. align_toolbox-0.5.1/align_toolbox.egg-info/PKG-INFO +90 -0
  47. align_toolbox-0.5.1/align_toolbox.egg-info/SOURCES.txt +51 -0
  48. align_toolbox-0.5.1/align_toolbox.egg-info/dependency_links.txt +1 -0
  49. align_toolbox-0.5.1/align_toolbox.egg-info/requires.txt +35 -0
  50. align_toolbox-0.5.1/align_toolbox.egg-info/top_level.txt +1 -0
  51. align_toolbox-0.5.1/pyproject.toml +96 -0
  52. align_toolbox-0.5.1/setup.cfg +4 -0
  53. align_toolbox-0.5.1/tests/test_imports.py +27 -0
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2025, Sacha Psalmon, Towbin Lab
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,90 @@
1
+ Metadata-Version: 2.4
2
+ Name: align_toolbox
3
+ Version: 0.5.1
4
+ Summary: This package implements most of the functions used in the ALIGN pipeline, a modular image analysis workflow adapted for longitudinal, high-troughput microscopy. Developed by the Towbin Lab of the University of Bern.
5
+ Author-email: Sacha Psalmon <sacha.psalmon@unibe.ch>, Boris Gusev <boris.gusev@unibe.ch>
6
+ Maintainer-email: Sacha Psalmon <sacha.psalmon@unibe.ch>
7
+ Project-URL: Repository, https://github.com/spsalmon/align_toolbox
8
+ Project-URL: Documentation, https://align-toolbox.readthedocs.io
9
+ Requires-Python: >=3.10
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Requires-Dist: torch
13
+ Requires-Dist: pytorch-lightning
14
+ Requires-Dist: torchmetrics
15
+ Requires-Dist: pytorch-toolbelt
16
+ Requires-Dist: segmentation-models-pytorch
17
+ Requires-Dist: timm
18
+ Requires-Dist: monai
19
+ Requires-Dist: csbdeep
20
+ Requires-Dist: scikit-learn
21
+ Requires-Dist: xgboost
22
+ Requires-Dist: joblib
23
+ Requires-Dist: opencv-contrib-python
24
+ Requires-Dist: scikit-image
25
+ Requires-Dist: tifffile
26
+ Requires-Dist: numpy
27
+ Requires-Dist: pandas
28
+ Requires-Dist: polars
29
+ Requires-Dist: pyarrow
30
+ Requires-Dist: scipy
31
+ Requires-Dist: ome-types
32
+ Requires-Dist: pyyaml
33
+ Requires-Dist: whittaker-eilers
34
+ Requires-Dist: bottleneck
35
+ Requires-Dist: matplotlib
36
+ Requires-Dist: seaborn
37
+ Requires-Dist: microfilm
38
+ Requires-Dist: statsmodels
39
+ Requires-Dist: statannotations
40
+ Provides-Extra: dev
41
+ Requires-Dist: black; extra == "dev"
42
+ Requires-Dist: isort; extra == "dev"
43
+ Requires-Dist: pre-commit; extra == "dev"
44
+ Requires-Dist: pytest; extra == "dev"
45
+ Requires-Dist: pytest-cov; extra == "dev"
46
+ Dynamic: license-file
47
+
48
+ # ALIGN toolbox!
49
+
50
+ This package implements most of the functions used in the ALIGN pipeline, a modular image analysis workflow adapted for longitudinal, high-troughput microscopy. Developed by the Towbin Lab of the University of Bern.
51
+
52
+ This package goes hand in hand with our modular pipelining tool : <https://github.com/spsalmon/align_pipeline>
53
+
54
+ Documentation : <https://align-toolbox.readthedocs.io/en/latest/index.html>
55
+ ## Install the package using pip
56
+
57
+ Simply run the following command:
58
+
59
+ ```bash
60
+ pip3 install align_toolbox
61
+ ```
62
+
63
+ ## Build the package and install it
64
+
65
+ 1. First, make sure build is installed:
66
+
67
+ ```bash
68
+ pip3 install build
69
+
70
+ ```
71
+
72
+ 2. Go to the package directory, eg:
73
+
74
+ ```bash
75
+ cd ~/align_toolbox
76
+
77
+ ```
78
+
79
+ 3. Build the package:
80
+
81
+ ```bash
82
+ python3 -m build
83
+
84
+ ```
85
+
86
+ 4. Install the package you just built:
87
+
88
+ ```bash
89
+ pip3 install dist/*.whl
90
+ ```
@@ -0,0 +1,43 @@
1
+ # ALIGN toolbox!
2
+
3
+ This package implements most of the functions used in the ALIGN pipeline, a modular image analysis workflow adapted for longitudinal, high-troughput microscopy. Developed by the Towbin Lab of the University of Bern.
4
+
5
+ This package goes hand in hand with our modular pipelining tool : <https://github.com/spsalmon/align_pipeline>
6
+
7
+ Documentation : <https://align-toolbox.readthedocs.io/en/latest/index.html>
8
+ ## Install the package using pip
9
+
10
+ Simply run the following command:
11
+
12
+ ```bash
13
+ pip3 install align_toolbox
14
+ ```
15
+
16
+ ## Build the package and install it
17
+
18
+ 1. First, make sure build is installed:
19
+
20
+ ```bash
21
+ pip3 install build
22
+
23
+ ```
24
+
25
+ 2. Go to the package directory, eg:
26
+
27
+ ```bash
28
+ cd ~/align_toolbox
29
+
30
+ ```
31
+
32
+ 3. Build the package:
33
+
34
+ ```bash
35
+ python3 -m build
36
+
37
+ ```
38
+
39
+ 4. Install the package you just built:
40
+
41
+ ```bash
42
+ pip3 install dist/*.whl
43
+ ```
@@ -0,0 +1,6 @@
1
+ from importlib.metadata import PackageNotFoundError, version
2
+
3
+ try:
4
+ __version__ = version("align_toolbox")
5
+ except PackageNotFoundError:
6
+ __version__ = "unknown"
@@ -0,0 +1,5 @@
1
+ from .qc_tools import compute_qc_features
2
+
3
+ __all__ = [
4
+ "compute_qc_features",
5
+ ]