FlowCyPy 0.7.0__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.
- flowcypy-0.7.0/.flake8 +12 -0
- flowcypy-0.7.0/.github/dependabot.yml +11 -0
- flowcypy-0.7.0/.github/workflows/deploy_PyPi.yml +20 -0
- flowcypy-0.7.0/.github/workflows/deploy_anaconda.yml +21 -0
- flowcypy-0.7.0/.github/workflows/deploy_coverage.yml +25 -0
- flowcypy-0.7.0/.github/workflows/deploy_documentation.yml +24 -0
- flowcypy-0.7.0/.gitignore +28 -0
- flowcypy-0.7.0/FlowCyPy/__init__.py +13 -0
- flowcypy-0.7.0/FlowCyPy/_version.py +16 -0
- flowcypy-0.7.0/FlowCyPy/acquisition.py +652 -0
- flowcypy-0.7.0/FlowCyPy/classifier.py +208 -0
- flowcypy-0.7.0/FlowCyPy/coupling_mechanism/__init__.py +4 -0
- flowcypy-0.7.0/FlowCyPy/coupling_mechanism/empirical.py +47 -0
- flowcypy-0.7.0/FlowCyPy/coupling_mechanism/mie.py +207 -0
- flowcypy-0.7.0/FlowCyPy/coupling_mechanism/rayleigh.py +116 -0
- flowcypy-0.7.0/FlowCyPy/coupling_mechanism/uniform.py +40 -0
- flowcypy-0.7.0/FlowCyPy/coupling_mechanism.py +205 -0
- flowcypy-0.7.0/FlowCyPy/cytometer.py +314 -0
- flowcypy-0.7.0/FlowCyPy/detector.py +439 -0
- flowcypy-0.7.0/FlowCyPy/directories.py +36 -0
- flowcypy-0.7.0/FlowCyPy/distribution/__init__.py +16 -0
- flowcypy-0.7.0/FlowCyPy/distribution/base_class.py +79 -0
- flowcypy-0.7.0/FlowCyPy/distribution/delta.py +104 -0
- flowcypy-0.7.0/FlowCyPy/distribution/lognormal.py +124 -0
- flowcypy-0.7.0/FlowCyPy/distribution/normal.py +128 -0
- flowcypy-0.7.0/FlowCyPy/distribution/particle_size_distribution.py +132 -0
- flowcypy-0.7.0/FlowCyPy/distribution/uniform.py +117 -0
- flowcypy-0.7.0/FlowCyPy/distribution/weibull.py +115 -0
- flowcypy-0.7.0/FlowCyPy/flow_cell.py +198 -0
- flowcypy-0.7.0/FlowCyPy/helper.py +81 -0
- flowcypy-0.7.0/FlowCyPy/logger.py +136 -0
- flowcypy-0.7.0/FlowCyPy/noises.py +34 -0
- flowcypy-0.7.0/FlowCyPy/particle_count.py +127 -0
- flowcypy-0.7.0/FlowCyPy/peak_locator/__init__.py +4 -0
- flowcypy-0.7.0/FlowCyPy/peak_locator/base_class.py +163 -0
- flowcypy-0.7.0/FlowCyPy/peak_locator/basic.py +108 -0
- flowcypy-0.7.0/FlowCyPy/peak_locator/derivative.py +143 -0
- flowcypy-0.7.0/FlowCyPy/peak_locator/moving_average.py +166 -0
- flowcypy-0.7.0/FlowCyPy/physical_constant.py +19 -0
- flowcypy-0.7.0/FlowCyPy/plottings.py +269 -0
- flowcypy-0.7.0/FlowCyPy/population.py +136 -0
- flowcypy-0.7.0/FlowCyPy/populations_instances.py +65 -0
- flowcypy-0.7.0/FlowCyPy/scatterer_collection.py +306 -0
- flowcypy-0.7.0/FlowCyPy/signal_digitizer.py +90 -0
- flowcypy-0.7.0/FlowCyPy/source.py +249 -0
- flowcypy-0.7.0/FlowCyPy/units.py +30 -0
- flowcypy-0.7.0/FlowCyPy/utils.py +191 -0
- flowcypy-0.7.0/FlowCyPy.egg-info/PKG-INFO +252 -0
- flowcypy-0.7.0/FlowCyPy.egg-info/SOURCES.txt +146 -0
- flowcypy-0.7.0/FlowCyPy.egg-info/dependency_links.txt +1 -0
- flowcypy-0.7.0/FlowCyPy.egg-info/requires.txt +27 -0
- flowcypy-0.7.0/FlowCyPy.egg-info/top_level.txt +1 -0
- flowcypy-0.7.0/LICENSE +21 -0
- flowcypy-0.7.0/PKG-INFO +252 -0
- flowcypy-0.7.0/README.rst +186 -0
- flowcypy-0.7.0/developments/doc/canto_spec.md +61 -0
- flowcypy-0.7.0/developments/doc/internship.pdf +0 -0
- flowcypy-0.7.0/developments/get_started.md +23 -0
- flowcypy-0.7.0/developments/image.png +0 -0
- flowcypy-0.7.0/developments/output_file.prof +0 -0
- flowcypy-0.7.0/developments/scripts/concentration_comparison.py +109 -0
- flowcypy-0.7.0/developments/scripts/create_images.py +42 -0
- flowcypy-0.7.0/developments/scripts/data_analysis.py +34 -0
- flowcypy-0.7.0/developments/scripts/dev_beads_analysis.py +154 -0
- flowcypy-0.7.0/developments/scripts/dev_canto.py +146 -0
- flowcypy-0.7.0/developments/scripts/dev_classifier.py +149 -0
- flowcypy-0.7.0/developments/scripts/dev_shot_noise_check.py +138 -0
- flowcypy-0.7.0/developments/scripts/dev_stats_0.py +91 -0
- flowcypy-0.7.0/developments/scripts/dev_stats_1.py +70 -0
- flowcypy-0.7.0/developments/scripts/dev_stats_2.py +17 -0
- flowcypy-0.7.0/developments/scripts/dev_study_on_ri.py +156 -0
- flowcypy-0.7.0/developments/scripts/dev_study_on_size.py +161 -0
- flowcypy-0.7.0/developments/scripts/mat2csv.py +65 -0
- flowcypy-0.7.0/developments/scripts/profiler.py +68 -0
- flowcypy-0.7.0/developments/scripts/temp.py +127 -0
- flowcypy-0.7.0/developments/test.pdf +0 -0
- flowcypy-0.7.0/docs/Makefile +19 -0
- flowcypy-0.7.0/docs/examples/extras/README.rst +2 -0
- flowcypy-0.7.0/docs/examples/extras/distributions.py +89 -0
- flowcypy-0.7.0/docs/examples/extras/flow_cytometer_signal.py +108 -0
- flowcypy-0.7.0/docs/examples/extras/scatterer_distribution.py +58 -0
- flowcypy-0.7.0/docs/examples/extras/signal_acquisition.py +120 -0
- flowcypy-0.7.0/docs/examples/noise_sources/README.rst +2 -0
- flowcypy-0.7.0/docs/examples/noise_sources/dark_current.py +79 -0
- flowcypy-0.7.0/docs/examples/noise_sources/shot_noise.py +80 -0
- flowcypy-0.7.0/docs/examples/noise_sources/thermal.py +72 -0
- flowcypy-0.7.0/docs/examples/tutorials/README.rst +2 -0
- flowcypy-0.7.0/docs/examples/tutorials/limit_of_detection.py +100 -0
- flowcypy-0.7.0/docs/examples/tutorials/workflow.py +212 -0
- flowcypy-0.7.0/docs/images/distributions/Delta.png +0 -0
- flowcypy-0.7.0/docs/images/distributions/LogNormal.png +0 -0
- flowcypy-0.7.0/docs/images/distributions/Normal.png +0 -0
- flowcypy-0.7.0/docs/images/distributions/RosinRammler.png +0 -0
- flowcypy-0.7.0/docs/images/distributions/Uniform.png +0 -0
- flowcypy-0.7.0/docs/images/distributions/Weibull.png +0 -0
- flowcypy-0.7.0/docs/images/example_0.png +0 -0
- flowcypy-0.7.0/docs/images/example_1.png +0 -0
- flowcypy-0.7.0/docs/images/example_2.png +0 -0
- flowcypy-0.7.0/docs/images/example_3.png +0 -0
- flowcypy-0.7.0/docs/images/flow_cytometer.png +0 -0
- flowcypy-0.7.0/docs/images/logo.png +0 -0
- flowcypy-0.7.0/docs/make.bat +35 -0
- flowcypy-0.7.0/docs/source/_static/default.css +19 -0
- flowcypy-0.7.0/docs/source/_static/logo.png +0 -0
- flowcypy-0.7.0/docs/source/_static/thumbnail.png +0 -0
- flowcypy-0.7.0/docs/source/code/base.rst +17 -0
- flowcypy-0.7.0/docs/source/code/detector.rst +11 -0
- flowcypy-0.7.0/docs/source/code/distributions.rst +89 -0
- flowcypy-0.7.0/docs/source/code/flow_cell.rst +9 -0
- flowcypy-0.7.0/docs/source/code/flow_cytometer.rst +9 -0
- flowcypy-0.7.0/docs/source/code/peak_locator.rst +19 -0
- flowcypy-0.7.0/docs/source/code/scatterer.rst +15 -0
- flowcypy-0.7.0/docs/source/code/source.rst +15 -0
- flowcypy-0.7.0/docs/source/code.rst +18 -0
- flowcypy-0.7.0/docs/source/conf.py +201 -0
- flowcypy-0.7.0/docs/source/examples.rst +15 -0
- flowcypy-0.7.0/docs/source/index.rst +14 -0
- flowcypy-0.7.0/docs/source/internal/core_components.rst +95 -0
- flowcypy-0.7.0/docs/source/internal/getting_started.rst +102 -0
- flowcypy-0.7.0/docs/source/internal/objectives/main.rst +111 -0
- flowcypy-0.7.0/docs/source/internal/objectives/pre.rst +31 -0
- flowcypy-0.7.0/docs/source/internal/objectives/stretch.rst +9 -0
- flowcypy-0.7.0/docs/source/internal/prerequisites/index.rst +12 -0
- flowcypy-0.7.0/docs/source/internal/prerequisites/mathematics.rst +120 -0
- flowcypy-0.7.0/docs/source/internal/prerequisites/optics.rst +16 -0
- flowcypy-0.7.0/docs/source/internal/prerequisites/programming.rst +91 -0
- flowcypy-0.7.0/docs/source/internal/ressources.rst +6 -0
- flowcypy-0.7.0/docs/source/internal/tasks.rst +15 -0
- flowcypy-0.7.0/docs/source/internal.rst +79 -0
- flowcypy-0.7.0/docs/source/references.rst +4 -0
- flowcypy-0.7.0/docs/source/sg_execution_times.rst +61 -0
- flowcypy-0.7.0/docs/source/theory.rst +154 -0
- flowcypy-0.7.0/meta.yaml +63 -0
- flowcypy-0.7.0/notebook.ipynb +417 -0
- flowcypy-0.7.0/pyproject.toml +103 -0
- flowcypy-0.7.0/setup.cfg +4 -0
- flowcypy-0.7.0/tests/__init__.py +0 -0
- flowcypy-0.7.0/tests/test_coupling_mechanism.py +149 -0
- flowcypy-0.7.0/tests/test_detector_noise.py +129 -0
- flowcypy-0.7.0/tests/test_distribution.py +100 -0
- flowcypy-0.7.0/tests/test_extra.py +55 -0
- flowcypy-0.7.0/tests/test_flow_cytometer.py +131 -0
- flowcypy-0.7.0/tests/test_noises.py +159 -0
- flowcypy-0.7.0/tests/test_peak_algorithm.py +48 -0
- flowcypy-0.7.0/tests/test_peak_analyzer.py +117 -0
- flowcypy-0.7.0/tests/test_population.py +103 -0
- flowcypy-0.7.0/tests/test_scatterer_distribution.py +185 -0
- flowcypy-0.7.0/tests/test_source.py +132 -0
flowcypy-0.7.0/.flake8
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Deploy to PyPi
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "master" ]
|
|
6
|
+
tags:
|
|
7
|
+
- '*'
|
|
8
|
+
pull_request:
|
|
9
|
+
branches: [ "master" ]
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
pure_package:
|
|
16
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_pure_package_to_PyPi.yml@master
|
|
17
|
+
with:
|
|
18
|
+
python-version: "3.11"
|
|
19
|
+
secrets:
|
|
20
|
+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Deploy Conda Packages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "master" ]
|
|
6
|
+
tags:
|
|
7
|
+
- '*'
|
|
8
|
+
pull_request:
|
|
9
|
+
branches: [ "master" ]
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
ManyLinux_x86_64:
|
|
16
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_compiled_package_to_anaconda.yml@master
|
|
17
|
+
with:
|
|
18
|
+
python-versions: '["3.11", "3.12"]'
|
|
19
|
+
secrets:
|
|
20
|
+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
21
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy coverage
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [ "master" ]
|
|
7
|
+
tags:
|
|
8
|
+
- '*'
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ "master" ]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
pages: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
ManyLinux_x86_64:
|
|
21
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_coverage.yml@master
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.11"
|
|
24
|
+
secrets:
|
|
25
|
+
_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Simple workflow for deploying static content to GitHub Pages
|
|
2
|
+
name: Deploy documentation to github page
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches: [ "master" ]
|
|
7
|
+
tags:
|
|
8
|
+
- '*'
|
|
9
|
+
pull_request:
|
|
10
|
+
branches: [ "master" ]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
14
|
+
permissions:
|
|
15
|
+
contents: write
|
|
16
|
+
pages: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
ManyLinux_x86_64:
|
|
21
|
+
uses: MartinPdeS/MPSActions/.github/workflows/publish_documentation.yml@master
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.11"
|
|
24
|
+
package-name: "FlowCyPy"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# General patterns
|
|
2
|
+
*.DS_store
|
|
3
|
+
*.ipynb_checkpoints*
|
|
4
|
+
*__pycache__*
|
|
5
|
+
*.so
|
|
6
|
+
*.a
|
|
7
|
+
.coverage*
|
|
8
|
+
*.pytest_cache
|
|
9
|
+
htmlcov
|
|
10
|
+
dist
|
|
11
|
+
build
|
|
12
|
+
*.egg*
|
|
13
|
+
*.whl
|
|
14
|
+
CMakeCache.txt
|
|
15
|
+
CMakeFiles
|
|
16
|
+
install_manifest.txt
|
|
17
|
+
cmake_install.cmake
|
|
18
|
+
wheelhouse
|
|
19
|
+
|
|
20
|
+
# Docs-specific patterns
|
|
21
|
+
docs/source/gallery/*
|
|
22
|
+
!docs/source/gallery/index.rst
|
|
23
|
+
PyOptik/data/**/test*
|
|
24
|
+
PyOptik/data/**/example*
|
|
25
|
+
|
|
26
|
+
# Override for documentation_build
|
|
27
|
+
!documentation_build
|
|
28
|
+
!documentation_build/**
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from ._version import version as __version__ # noqa: F401
|
|
3
|
+
|
|
4
|
+
except ImportError:
|
|
5
|
+
__version__ = "0.0.0"
|
|
6
|
+
|
|
7
|
+
from .cytometer import FlowCytometer
|
|
8
|
+
from .scatterer_collection import ScattererCollection, CouplingModel
|
|
9
|
+
from .population import Population
|
|
10
|
+
from .detector import Detector
|
|
11
|
+
from .flow_cell import FlowCell
|
|
12
|
+
from .source import GaussianBeam
|
|
13
|
+
from .noises import NoiseSetting
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# file generated by setuptools_scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
TYPE_CHECKING = False
|
|
4
|
+
if TYPE_CHECKING:
|
|
5
|
+
from typing import Tuple, Union
|
|
6
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
|
+
else:
|
|
8
|
+
VERSION_TUPLE = object
|
|
9
|
+
|
|
10
|
+
version: str
|
|
11
|
+
__version__: str
|
|
12
|
+
__version_tuple__: VERSION_TUPLE
|
|
13
|
+
version_tuple: VERSION_TUPLE
|
|
14
|
+
|
|
15
|
+
__version__ = version = '0.7.0'
|
|
16
|
+
__version_tuple__ = version_tuple = (0, 7, 0)
|