opticalib 1.2.2__tar.gz → 1.2.3__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.
- {opticalib-1.2.2 → opticalib-1.2.3}/MANIFEST.in +1 -1
- {opticalib-1.2.2/opticalib.egg-info → opticalib-1.2.3}/PKG-INFO +1 -1
- opticalib-1.2.3/opticalib/__init_script__/initCalpy.py +43 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/__version__.py +1 -1
- {opticalib-1.2.2 → opticalib-1.2.3/opticalib.egg-info}/PKG-INFO +1 -1
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib.egg-info/SOURCES.txt +1 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/setup.cfg +1 -1
- {opticalib-1.2.2 → opticalib-1.2.3}/setup.py +1 -1
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_setup_calpy.py +6 -6
- {opticalib-1.2.2 → opticalib-1.2.3}/LICENSE +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/README.md +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/alignment.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/analyzer/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/analyzer/images_processing.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/analyzer/signals.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/analyzer/timeseries.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/analyzer_old.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/core/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/core/_configurations/configuration.yaml +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/core/exceptions.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/core/fitsarray.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/core/read_config.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/core/root.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/_API/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/_API/alpaoAPI.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/_API/base_devices.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/_API/i4d.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/_API/micAPI.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/_API/piAPI.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/_API/splattAPI.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/cameras.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/deformable_mirrors.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/devices/interferometer.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/actuator_identification_lib.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/dm_analysis.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/flattening.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/iff_acquisition_preparation.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/iff_module.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/iff_processing.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/pupil_calibration.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/dmutils/utils.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/computerec.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/geo.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/geometry.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/logger.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/modal_decomposer.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/osutils.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/ground/roi.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/py.typed +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/_API/AdOpticaData/dp_cmdmat.fits +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/_API/AdOpticaData/dp_coords.fits +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/_API/AdOpticaData/dp_ffwd.fits +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/_API/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/_API/alpao_conf.yaml +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/_API/base_fake_adopticadm.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/_API/base_fake_alpao.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/factory_functions.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/fake_dms.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/simulator/fake_interf.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib/typings.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib.egg-info/dependency_links.txt +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib.egg-info/entry_points.txt +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib.egg-info/requires.txt +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/opticalib.egg-info/top_level.txt +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/requirements.txt +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/setup_calpy.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/__init__.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/conftest.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_core_exceptions.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_core_fits.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_core_read_config.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_core_root.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_dmutils_flattening.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_dmutils_iff_acquisition_preparation.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_dmutils_iff_module.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_dmutils_iff_processing.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_ground_computerec.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_ground_logger.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_ground_modal_decomposer.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_ground_osutils.py +0 -0
- {opticalib-1.2.2 → opticalib-1.2.3}/tests/test_ground_roi.py +0 -0
|
@@ -2,7 +2,7 @@ include README.md
|
|
|
2
2
|
include requirements.txt
|
|
3
3
|
include opticalib/core/_configurations/configuration.yaml
|
|
4
4
|
include setup_calpy.py
|
|
5
|
-
include opticalib/
|
|
5
|
+
include opticalib/__init_script__/initCalpy.py
|
|
6
6
|
include opticalib/simulator/_API/AdOpticaData/*
|
|
7
7
|
include opticalib/simulator/_API/alpao_conf.yaml
|
|
8
8
|
recursive-include labott *.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: opticalib
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: This package is a python interface for laboratory adaptive optics systems, with a focus on the calibration of deformable mirrors (DMs) and the acquisition of wavefront data using interferometers.
|
|
5
5
|
Home-page: https://github.com/ArcetriAdaptiveOptics/opticalib
|
|
6
6
|
Author: Adaptive Optics Group - INAF - Osservatorio Astrofisico di Arcetri
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import xupy as xp
|
|
3
|
+
import numpy as np
|
|
4
|
+
import opticalib
|
|
5
|
+
from opticalib import dmutils
|
|
6
|
+
|
|
7
|
+
opt = opticalib
|
|
8
|
+
join = os.path.join
|
|
9
|
+
|
|
10
|
+
folders = fp = opticalib.folders
|
|
11
|
+
modal_decomposer = zern = opticalib.ground.modal_decomposer
|
|
12
|
+
osutils = osu = opticalib.ground.osutils
|
|
13
|
+
analyzer = az = opticalib.analyzer
|
|
14
|
+
simulator = sim = opticalib.simulator
|
|
15
|
+
|
|
16
|
+
ifp = dmutils.iff_processing
|
|
17
|
+
ifm = dmutils.iff_module
|
|
18
|
+
|
|
19
|
+
from matplotlib.pyplot import *
|
|
20
|
+
|
|
21
|
+
ion()
|
|
22
|
+
|
|
23
|
+
__all__ = [
|
|
24
|
+
"np",
|
|
25
|
+
"xp",
|
|
26
|
+
"os",
|
|
27
|
+
"join",
|
|
28
|
+
"opticalib",
|
|
29
|
+
"opt",
|
|
30
|
+
"dmutils",
|
|
31
|
+
"ifp",
|
|
32
|
+
"ifm",
|
|
33
|
+
"analyzer",
|
|
34
|
+
"az",
|
|
35
|
+
"osutils",
|
|
36
|
+
"osu",
|
|
37
|
+
"modal_decomposer",
|
|
38
|
+
"zern",
|
|
39
|
+
"simulator",
|
|
40
|
+
"sim",
|
|
41
|
+
"folders",
|
|
42
|
+
"fp",
|
|
43
|
+
]
|
|
@@ -9,7 +9,7 @@ Pietro Ferraiuolo
|
|
|
9
9
|
__title__ = "opticalib"
|
|
10
10
|
__long_title__ = "OPTICALIB : adaptive OPTIcs package for dm CALibrationS"
|
|
11
11
|
__description__ = "This package is a python interface for laboratory adaptive optics systems, with a focus on the calibration of deformable mirrors (DMs) and the acquisition of wavefront data using interferometers."
|
|
12
|
-
__version__ = "1.2.
|
|
12
|
+
__version__ = "1.2.3"
|
|
13
13
|
__author__ = "Adaptive Optics Group - INAF - Osservatorio Astrofisico di Arcetri"
|
|
14
14
|
__maintainer__ = "Pietro Ferraiuolo"
|
|
15
15
|
__author_email__ = "pietro.ferraiuolo@inaf.it"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: opticalib
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: This package is a python interface for laboratory adaptive optics systems, with a focus on the calibration of deformable mirrors (DMs) and the acquisition of wavefront data using interferometers.
|
|
5
5
|
Home-page: https://github.com/ArcetriAdaptiveOptics/opticalib
|
|
6
6
|
Author: Adaptive Optics Group - INAF - Osservatorio Astrofisico di Arcetri
|
|
@@ -17,6 +17,7 @@ opticalib.egg-info/dependency_links.txt
|
|
|
17
17
|
opticalib.egg-info/entry_points.txt
|
|
18
18
|
opticalib.egg-info/requires.txt
|
|
19
19
|
opticalib.egg-info/top_level.txt
|
|
20
|
+
opticalib/__init_script__/initCalpy.py
|
|
20
21
|
opticalib/analyzer/__init__.py
|
|
21
22
|
opticalib/analyzer/images_processing.py
|
|
22
23
|
opticalib/analyzer/signals.py
|
|
@@ -32,23 +32,23 @@ class TestResolveInitFile:
|
|
|
32
32
|
|
|
33
33
|
When opticalib is installed, initCalpy.py must be shipped with it.
|
|
34
34
|
This test guards against regressions where setup.py loses the
|
|
35
|
-
package_data declaration for
|
|
35
|
+
package_data declaration for __init_script__/initCalpy.py.
|
|
36
36
|
"""
|
|
37
37
|
setup_path = Path(__file__).resolve().parents[1] / "setup.py"
|
|
38
38
|
setup_source = setup_path.read_text(encoding="utf-8")
|
|
39
|
-
assert "
|
|
40
|
-
"setup.py does not declare
|
|
39
|
+
assert "__init_script__/initCalpy.py" in setup_source, (
|
|
40
|
+
"setup.py does not declare __init_script__/initCalpy.py in package_data. "
|
|
41
41
|
"This will break calpy in installed wheels."
|
|
42
42
|
)
|
|
43
43
|
|
|
44
|
-
def
|
|
44
|
+
def test_manifest_includes__init_script__(self) -> None:
|
|
45
45
|
"""Ensure MANIFEST.in includes packaged init script for sdists.
|
|
46
46
|
|
|
47
47
|
Source distributions must include the packaged init script resource.
|
|
48
48
|
"""
|
|
49
49
|
manifest_path = Path(__file__).resolve().parents[1] / "MANIFEST.in"
|
|
50
50
|
manifest_source = manifest_path.read_text(encoding="utf-8")
|
|
51
|
-
assert "
|
|
52
|
-
"MANIFEST.in does not declare
|
|
51
|
+
assert "__init_script__/initCalpy.py" in manifest_source, (
|
|
52
|
+
"MANIFEST.in does not declare __init_script__/initCalpy.py. "
|
|
53
53
|
"This will break calpy in source distributions."
|
|
54
54
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|