pymodaq_plugins_beam_shaping 5.0.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.
- pymodaq_plugins_beam_shaping-5.0.0/.gitattributes +2 -0
- pymodaq_plugins_beam_shaping-5.0.0/.github/workflows/python-publish.yml +40 -0
- pymodaq_plugins_beam_shaping-5.0.0/.gitignore +117 -0
- pymodaq_plugins_beam_shaping-5.0.0/LICENSE +21 -0
- pymodaq_plugins_beam_shaping-5.0.0/MANIFEST.in +3 -0
- pymodaq_plugins_beam_shaping-5.0.0/PKG-INFO +92 -0
- pymodaq_plugins_beam_shaping-5.0.0/README.rst +37 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/Makefile +20 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/make.bat +36 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/requirements.txt +17 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/_images/main_app.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/_images/schema.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/_templates/apidoc/module.rst_t +10 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/_templates/apidoc/package.rst_t +53 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/_templates/apidoc/toc.rst_t +10 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/conf.py +254 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/index.rst +4 -0
- pymodaq_plugins_beam_shaping-5.0.0/docs/src/splash.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/hatch_build.py +10 -0
- pymodaq_plugins_beam_shaping-5.0.0/icon.ico +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/pyproject.toml +73 -0
- pymodaq_plugins_beam_shaping-5.0.0/readthedocs.yml +32 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/__init__.py +80 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/__init__.py +2 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algo_base.py +378 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algo_config.py +16 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithm_app.py +721 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/checker_board.py +100 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/diffractive.py +252 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/direct.py +65 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/minimizer.py +124 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/optim.py +103 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/projections.py +149 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/algorithms/torch_base.py +175 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/factory.py +88 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/ini_phase.py +102 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/ini_phases/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/ini_phases/quadratic_phase.py +133 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/ini_phases/random_phase.py +10 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/loss.py +217 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/stopping.py +113 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/stoppings/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/stoppings/stoppings_base.py +64 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/algorithms/utils.py +51 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_move_plugins/__init__.py +14 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_move_plugins/daq_move_FocalLength.py +107 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_move_plugins/daq_move_MockAutoFocus.py +109 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_move_plugins/daq_move_MockShaper.py +135 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_move_plugins/daq_move_Zernike.py +117 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_viewer_plugins/__init__.py +3 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_viewer_plugins/plugins_2D/__init__.py +14 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_viewer_plugins/plugins_2D/daq_2Dviewer_MockAutoFocus.py +92 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/daq_viewer_plugins/plugins_2D/daq_2Dviewer_MockShaperCamera.py +121 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/extensions/__init__.py +6 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/extensions/spatial_beam_shaping.py +688 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/__init__.py +2 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/factory.py +81 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/field.py +273 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/field_loader_app.py +561 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/loaders/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/loaders/dashboard_loader.py +49 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/loaders/from_functions_loader.py +639 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/loaders/image_loader.py +117 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/loaders/save_field_loader.py +51 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/field/utils.py +120 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/hardware/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/hardware/autofocus.py +189 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/hardware/mock_shaper_camera.py +85 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/models/OptimizerModelAutoFocus.py +102 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/models/__init__.py +6 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/models/datamixer_autofocus.py +62 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/Cemes - Logo - Sigle - Blanc.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/Papillon_flower_BW_resized.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/Pymodaq.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/cheshirecat_rect.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/config_template.toml +93 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/darumas_BW_resized.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/dollars.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/dollars.svg +139 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/face.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/holography.xml +1 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/holography_calibration.xml +1 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/mock_holo.xml +1 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/one_piece.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/osama.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/resources/zernike.png +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/scanners/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/scanners/calibration.py +136 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/scripts/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/scripts/calibrate_slm.py +54 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/setup/factory.py +151 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/setup/setup.py +69 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/slm/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/slm/slm.py +13 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/__init__.py +0 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/calibrating.py +303 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/corrections.py +310 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/data.py +9 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/h5saving.py +79 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/masking.py +6 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/shaper.py +35 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/sizing.py +71 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utilities/zernike.py +93 -0
- pymodaq_plugins_beam_shaping-5.0.0/src/pymodaq_plugins_beam_shaping/utils.py +19 -0
- pymodaq_plugins_beam_shaping-5.0.0/tests/element_test.py +16 -0
- pymodaq_plugins_beam_shaping-5.0.0/tests/field_test.py +28 -0
- pymodaq_plugins_beam_shaping-5.0.0/tests/pytensor_fft.py +62 -0
- pymodaq_plugins_beam_shaping-5.0.0/tests/pytorch_fft.py +47 -0
- pymodaq_plugins_beam_shaping-5.0.0/tests/pytorch_test_v1.ipynb +774 -0
- pymodaq_plugins_beam_shaping-5.0.0/tox.ini +3 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# This workflow will upload a Python Package using Twine when a release is created
|
|
2
|
+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
|
|
3
|
+
|
|
4
|
+
name: Upload Python Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
release:
|
|
8
|
+
types: [created]
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
deploy:
|
|
12
|
+
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
- name: Set up Python
|
|
18
|
+
uses: actions/setup-python@v4
|
|
19
|
+
with:
|
|
20
|
+
python-version: '3.x'
|
|
21
|
+
- name: Install dependencies
|
|
22
|
+
run: |
|
|
23
|
+
python -m pip install --upgrade pip
|
|
24
|
+
pip install hatch hatchling toml twine
|
|
25
|
+
- name: Get history and tags for SCM versioning to work
|
|
26
|
+
run: |
|
|
27
|
+
git branch
|
|
28
|
+
git fetch --prune --unshallow
|
|
29
|
+
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
|
30
|
+
hatch version
|
|
31
|
+
- name: Build
|
|
32
|
+
run: hatch build
|
|
33
|
+
- name: Check the build
|
|
34
|
+
run: twine check dist/*
|
|
35
|
+
- name: publish
|
|
36
|
+
env:
|
|
37
|
+
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
|
|
38
|
+
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
|
|
39
|
+
run: |
|
|
40
|
+
hatch publish
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# Compiled python modules.
|
|
2
|
+
*.pyc
|
|
3
|
+
|
|
4
|
+
# Byte-compiled / optimized / DLL files
|
|
5
|
+
__pycache__/
|
|
6
|
+
|
|
7
|
+
*.py[cod]
|
|
8
|
+
*$py.class
|
|
9
|
+
|
|
10
|
+
# C extensions
|
|
11
|
+
*.so
|
|
12
|
+
|
|
13
|
+
# Distribution / packaging
|
|
14
|
+
.Python
|
|
15
|
+
build/
|
|
16
|
+
develop-eggs/
|
|
17
|
+
dist/
|
|
18
|
+
downloads/
|
|
19
|
+
eggs/
|
|
20
|
+
.eggs/
|
|
21
|
+
lib/
|
|
22
|
+
lib64/
|
|
23
|
+
parts/
|
|
24
|
+
sdist/
|
|
25
|
+
var/
|
|
26
|
+
wheels/
|
|
27
|
+
*.egg-info/
|
|
28
|
+
.installed.cfg
|
|
29
|
+
*.egg
|
|
30
|
+
MANIFEST
|
|
31
|
+
|
|
32
|
+
# PyInstaller
|
|
33
|
+
# Usually these files are written by a python script from a template
|
|
34
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
35
|
+
*.manifest
|
|
36
|
+
*.spec
|
|
37
|
+
|
|
38
|
+
# Installer logs
|
|
39
|
+
pip-log.txt
|
|
40
|
+
pip-delete-this-directory.txt
|
|
41
|
+
|
|
42
|
+
# Unit test / coverage reports
|
|
43
|
+
htmlcov/
|
|
44
|
+
.tox/
|
|
45
|
+
.coverage
|
|
46
|
+
.coverage.*
|
|
47
|
+
.cache
|
|
48
|
+
nosetests.xml
|
|
49
|
+
coverage.xml
|
|
50
|
+
*.cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
|
|
63
|
+
# Flask stuff:
|
|
64
|
+
instance/
|
|
65
|
+
.webassets-cache
|
|
66
|
+
|
|
67
|
+
# Scrapy stuff:
|
|
68
|
+
.scrapy
|
|
69
|
+
|
|
70
|
+
# Sphinx documentation
|
|
71
|
+
docs/_build/
|
|
72
|
+
|
|
73
|
+
# PyBuilder
|
|
74
|
+
target/
|
|
75
|
+
|
|
76
|
+
# Jupyter Notebook
|
|
77
|
+
.ipynb_checkpoints
|
|
78
|
+
|
|
79
|
+
# pyenv
|
|
80
|
+
.python-version
|
|
81
|
+
|
|
82
|
+
# celery beat schedule file
|
|
83
|
+
celerybeat-schedule
|
|
84
|
+
|
|
85
|
+
# SageMath parsed files
|
|
86
|
+
*.sage.py
|
|
87
|
+
|
|
88
|
+
# Environments
|
|
89
|
+
.env
|
|
90
|
+
.venv
|
|
91
|
+
env/
|
|
92
|
+
venv/
|
|
93
|
+
ENV/
|
|
94
|
+
env.bak/
|
|
95
|
+
venv.bak/
|
|
96
|
+
|
|
97
|
+
# Spyder project settings
|
|
98
|
+
.spyderproject
|
|
99
|
+
.spyproject
|
|
100
|
+
|
|
101
|
+
# Rope project settings
|
|
102
|
+
.ropeproject
|
|
103
|
+
|
|
104
|
+
# mkdocs documentation
|
|
105
|
+
/site
|
|
106
|
+
|
|
107
|
+
# mypy
|
|
108
|
+
.mypy_cache/
|
|
109
|
+
|
|
110
|
+
# pycharm
|
|
111
|
+
.idea/
|
|
112
|
+
.idea/*
|
|
113
|
+
|
|
114
|
+
*yacctab.py
|
|
115
|
+
*lextab.py
|
|
116
|
+
|
|
117
|
+
.DS_Store
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Sebastien Weber <sebastien.weber@cemes.fr>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pymodaq_plugins_beam_shaping
|
|
3
|
+
Version: 5.0.0
|
|
4
|
+
Summary: PyMoDAQ's extension plugin to run optical shaping from various shapers (focusing on amplitude and phase shaping) and the image propagation
|
|
5
|
+
Project-URL: Homepage, https://pymodaq.cnrs.fr
|
|
6
|
+
Project-URL: Documentation , https://pymodaq.cnrs.fr
|
|
7
|
+
Project-URL: Repository , https://github.com/IumiShaping/pymodaq_plugins_optical_2D_shaping_private
|
|
8
|
+
Author-email: Weber Sébastien <sebastien.weber@cemes.fr>, Rollo Valentin <valentin.rollo@cemes.fr>
|
|
9
|
+
Maintainer-email: Weber Sébastien <sebastien.weber@cemes.fr>
|
|
10
|
+
License: The MIT License (MIT)
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2021 Sebastien Weber <sebastien.weber@cemes.fr>
|
|
13
|
+
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
16
|
+
in the Software without restriction, including without limitation the rights
|
|
17
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
18
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
19
|
+
furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in
|
|
22
|
+
all copies or substantial portions of the Software.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
29
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
30
|
+
THE SOFTWARE.
|
|
31
|
+
License-File: LICENSE
|
|
32
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
33
|
+
Classifier: Intended Audience :: Science/Research
|
|
34
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
+
Classifier: Natural Language :: English
|
|
36
|
+
Classifier: Operating System :: OS Independent
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
41
|
+
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
|
|
42
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
43
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
44
|
+
Classifier: Topic :: Software Development :: User Interfaces
|
|
45
|
+
Requires-Python: >=3.8
|
|
46
|
+
Requires-Dist: opencv-python
|
|
47
|
+
Requires-Dist: pyfftw
|
|
48
|
+
Requires-Dist: pymodaq-gui>5.0.11
|
|
49
|
+
Requires-Dist: pymodaq>5.1.5
|
|
50
|
+
Requires-Dist: scikit-image
|
|
51
|
+
Requires-Dist: zernpy
|
|
52
|
+
Provides-Extra: pytorch
|
|
53
|
+
Requires-Dist: pytorch-minimize; extra == 'pytorch'
|
|
54
|
+
Description-Content-Type: text/x-rst
|
|
55
|
+
|
|
56
|
+
pymodaq_plugins_optical_2D_shaping
|
|
57
|
+
##################################
|
|
58
|
+
|
|
59
|
+
.. the following must be adapted to your developped package, links to pypi, github description...
|
|
60
|
+
|
|
61
|
+
.. image:: https://img.shields.io/pypi/v/pymodaq_plugins_optical_2D_shaping.svg
|
|
62
|
+
:target: https://pypi.org/project/pymodaq_plugins_optical_2D_shaping/
|
|
63
|
+
:alt: Latest Version
|
|
64
|
+
|
|
65
|
+
.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=latest
|
|
66
|
+
:target: https://pymodaq.readthedocs.io/en/stable/?badge=latest
|
|
67
|
+
:alt: Documentation Status
|
|
68
|
+
|
|
69
|
+
.. image:: https://github.com/PyMoDAQ/pymodaq_plugins_optical_2D_shaping/workflows/Upload%20Python%20Package/badge.svg
|
|
70
|
+
:target: https://github.com/PyMoDAQ/pymodaq_plugins_optical_2D_shaping
|
|
71
|
+
:alt: Publication Status
|
|
72
|
+
|
|
73
|
+
PyMoDAQ's extension plugin to run optical shaping amplitude and/or phase algorithms and propagation algorithms
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
Authors
|
|
77
|
+
=======
|
|
78
|
+
|
|
79
|
+
* Sebastien J. Weber (sebastien.weber@cemes.fr)
|
|
80
|
+
* Valentin Rollo (valentin.rollo@cemes.fr)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
Extensions
|
|
84
|
+
==========
|
|
85
|
+
|
|
86
|
+
This plugin implements optimisation algorithm and a user interface dedicated to it.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
Infos
|
|
90
|
+
=====
|
|
91
|
+
|
|
92
|
+
if needed for installation or other infos
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
pymodaq_plugins_optical_2D_shaping
|
|
2
|
+
##################################
|
|
3
|
+
|
|
4
|
+
.. the following must be adapted to your developped package, links to pypi, github description...
|
|
5
|
+
|
|
6
|
+
.. image:: https://img.shields.io/pypi/v/pymodaq_plugins_optical_2D_shaping.svg
|
|
7
|
+
:target: https://pypi.org/project/pymodaq_plugins_optical_2D_shaping/
|
|
8
|
+
:alt: Latest Version
|
|
9
|
+
|
|
10
|
+
.. image:: https://readthedocs.org/projects/pymodaq/badge/?version=latest
|
|
11
|
+
:target: https://pymodaq.readthedocs.io/en/stable/?badge=latest
|
|
12
|
+
:alt: Documentation Status
|
|
13
|
+
|
|
14
|
+
.. image:: https://github.com/PyMoDAQ/pymodaq_plugins_optical_2D_shaping/workflows/Upload%20Python%20Package/badge.svg
|
|
15
|
+
:target: https://github.com/PyMoDAQ/pymodaq_plugins_optical_2D_shaping
|
|
16
|
+
:alt: Publication Status
|
|
17
|
+
|
|
18
|
+
PyMoDAQ's extension plugin to run optical shaping amplitude and/or phase algorithms and propagation algorithms
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Authors
|
|
22
|
+
=======
|
|
23
|
+
|
|
24
|
+
* Sebastien J. Weber (sebastien.weber@cemes.fr)
|
|
25
|
+
* Valentin Rollo (valentin.rollo@cemes.fr)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
Extensions
|
|
29
|
+
==========
|
|
30
|
+
|
|
31
|
+
This plugin implements optimisation algorithm and a user interface dedicated to it.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
Infos
|
|
35
|
+
=====
|
|
36
|
+
|
|
37
|
+
if needed for installation or other infos
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line.
|
|
5
|
+
SPHINXOPTS = -E
|
|
6
|
+
SPHINXBUILD = sphinx-build
|
|
7
|
+
SPHINXPROJ = DAQ_Modular_Acquisition_Pro
|
|
8
|
+
SOURCEDIR = ./src
|
|
9
|
+
BUILDDIR = _build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
pushd %~dp0
|
|
4
|
+
|
|
5
|
+
REM Command file for Sphinx documentation
|
|
6
|
+
|
|
7
|
+
if "%SPHINXBUILD%" == "" (
|
|
8
|
+
set SPHINXBUILD=sphinx-build
|
|
9
|
+
)
|
|
10
|
+
set SOURCEDIR=./src
|
|
11
|
+
set BUILDDIR=_build
|
|
12
|
+
set SPHINXPROJ=PyMoDAQ
|
|
13
|
+
|
|
14
|
+
if "%1" == "" goto help
|
|
15
|
+
|
|
16
|
+
%SPHINXBUILD% >NUL 2>NUL
|
|
17
|
+
if errorlevel 9009 (
|
|
18
|
+
echo.
|
|
19
|
+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
20
|
+
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
21
|
+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
22
|
+
echo.may add the Sphinx directory to PATH.
|
|
23
|
+
echo.
|
|
24
|
+
echo.If you don't have Sphinx installed, grab it from
|
|
25
|
+
echo.http://sphinx-doc.org/
|
|
26
|
+
exit /b 1
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
|
|
30
|
+
goto end
|
|
31
|
+
|
|
32
|
+
:help
|
|
33
|
+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
|
|
34
|
+
|
|
35
|
+
:end
|
|
36
|
+
popd
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
sphinx
|
|
2
|
+
sphinx_rtd_theme
|
|
3
|
+
releases
|
|
4
|
+
sphinx-csv-filter
|
|
5
|
+
pillow
|
|
6
|
+
toml
|
|
7
|
+
numpydoc
|
|
8
|
+
sphinx-datatables
|
|
9
|
+
pyqt6
|
|
10
|
+
sphinx-design
|
|
11
|
+
sphinxcontrib-images
|
|
12
|
+
sphinx-favicon
|
|
13
|
+
sphinx-autodoc-typehints
|
|
14
|
+
sphinx-qt-documentation
|
|
15
|
+
sphinxext-rediraffe
|
|
16
|
+
numpy
|
|
17
|
+
pyopengl
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{%- macro automodule(modname, options) -%}
|
|
2
|
+
.. automodule:: {{ modname }}
|
|
3
|
+
{%- for option in options %}
|
|
4
|
+
:{{ option }}:
|
|
5
|
+
{%- endfor %}
|
|
6
|
+
{%- endmacro %}
|
|
7
|
+
|
|
8
|
+
{%- macro toctree(docnames) -%}
|
|
9
|
+
.. toctree::
|
|
10
|
+
:maxdepth: {{ maxdepth }}
|
|
11
|
+
{% for docname in docnames %}
|
|
12
|
+
{{ docname }}
|
|
13
|
+
{%- endfor %}
|
|
14
|
+
{%- endmacro %}
|
|
15
|
+
|
|
16
|
+
{%- if is_namespace %}
|
|
17
|
+
{{- [pkgname, "namespace"] | join(" ") | e | heading }}
|
|
18
|
+
{% else %}
|
|
19
|
+
{{- [pkgname, "package"] | join(" ") | e | heading }}
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
22
|
+
{%- if is_namespace %}
|
|
23
|
+
.. py:module:: {{ pkgname }}
|
|
24
|
+
{% endif %}
|
|
25
|
+
|
|
26
|
+
{%- if modulefirst and not is_namespace %}
|
|
27
|
+
{{ automodule(pkgname, automodule_options) }}
|
|
28
|
+
{% endif %}
|
|
29
|
+
|
|
30
|
+
{%- if subpackages %}
|
|
31
|
+
|
|
32
|
+
{{ toctree(subpackages) }}
|
|
33
|
+
{% endif %}
|
|
34
|
+
|
|
35
|
+
{%- if submodules %}
|
|
36
|
+
|
|
37
|
+
{% if separatemodules %}
|
|
38
|
+
{{ toctree(submodules) }}
|
|
39
|
+
{% else %}
|
|
40
|
+
{%- for submodule in submodules %}
|
|
41
|
+
{% if show_headings %}
|
|
42
|
+
{% set currentmodulename = submodule.split('.') %}
|
|
43
|
+
{{- currentmodulename[1:] | heading(2) }}
|
|
44
|
+
{% endif %}
|
|
45
|
+
{{ automodule(submodule, automodule_options) }}
|
|
46
|
+
{% endfor %}
|
|
47
|
+
{%- endif %}
|
|
48
|
+
{%- endif %}
|
|
49
|
+
|
|
50
|
+
{%- if not modulefirst and not is_namespace %}
|
|
51
|
+
|
|
52
|
+
{{ automodule(pkgname, automodule_options) }}
|
|
53
|
+
{% endif %}
|