hardwarelibrary 0.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.
- hardwarelibrary-0.0.0/.gitattributes +2 -0
- hardwarelibrary-0.0.0/.gitignore +143 -0
- hardwarelibrary-0.0.0/.idea/.gitignore +8 -0
- hardwarelibrary-0.0.0/.idea/PyHardwareLibrary.iml +18 -0
- hardwarelibrary-0.0.0/.idea/inspectionProfiles/Project_Default.xml +6 -0
- hardwarelibrary-0.0.0/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- hardwarelibrary-0.0.0/.idea/misc.xml +4 -0
- hardwarelibrary-0.0.0/.idea/modules.xml +8 -0
- hardwarelibrary-0.0.0/.idea/other.xml +6 -0
- hardwarelibrary-0.0.0/.idea/vcs.xml +6 -0
- hardwarelibrary-0.0.0/.idea/webResources.xml +20 -0
- hardwarelibrary-0.0.0/.idea/workspace.xml +409 -0
- hardwarelibrary-0.0.0/MANIFEST.in +5 -0
- hardwarelibrary-0.0.0/PKG-INFO +279 -0
- hardwarelibrary-0.0.0/README-1-USB.md +344 -0
- hardwarelibrary-0.0.0/README-2-RS232.md +85 -0
- hardwarelibrary-0.0.0/README-3-USB-Cameras.md +412 -0
- hardwarelibrary-0.0.0/README-4-New-device-coding-example.md +223 -0
- hardwarelibrary-0.0.0/README-5-Communication-ports.md +401 -0
- hardwarelibrary-0.0.0/README-7-Sutter-ROE-200.md +384 -0
- hardwarelibrary-0.0.0/README.assets/Am.png +0 -0
- hardwarelibrary-0.0.0/README.assets/asiZwo.png +0 -0
- hardwarelibrary-0.0.0/README.assets/automation.png +0 -0
- hardwarelibrary-0.0.0/README.assets/image-20210415195013040.png +0 -0
- hardwarelibrary-0.0.0/README.assets/image-20210415195905341.png +0 -0
- hardwarelibrary-0.0.0/README.assets/image-20210417140020797.png +0 -0
- hardwarelibrary-0.0.0/README.assets/image-20210423112830851.png +0 -0
- hardwarelibrary-0.0.0/README.assets/image-20210423112945687.png +0 -0
- hardwarelibrary-0.0.0/README.assets/image-20210423113821265.png +0 -0
- hardwarelibrary-0.0.0/README.assets/image-20210423113954823.png +0 -0
- hardwarelibrary-0.0.0/README.assets/integra.png +0 -0
- hardwarelibrary-0.0.0/README.assets/integra.png.sb-90e26077-lWIRgO +0 -0
- hardwarelibrary-0.0.0/README.assets/preview.png +0 -0
- hardwarelibrary-0.0.0/README.md +252 -0
- hardwarelibrary-0.0.0/SCPI.md +30 -0
- hardwarelibrary-0.0.0/examples/1-simple/cobolt.py +36 -0
- hardwarelibrary-0.0.0/examples/2-class/cobolt.py +43 -0
- hardwarelibrary-0.0.0/examples/3-class+debugPort/cobolt.py +122 -0
- hardwarelibrary-0.0.0/hardwarelibrary/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- hardwarelibrary-0.0.0/hardwarelibrary/.idea/vcs.xml +6 -0
- hardwarelibrary-0.0.0/hardwarelibrary/.idea/workspace.xml +39 -0
- hardwarelibrary-0.0.0/hardwarelibrary/__init__.py +19 -0
- hardwarelibrary-0.0.0/hardwarelibrary/__main__.py +76 -0
- hardwarelibrary-0.0.0/hardwarelibrary/cameras/__init__.py +2 -0
- hardwarelibrary-0.0.0/hardwarelibrary/cameras/camera.py +181 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/.gitignore +3 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/communication.iml +12 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/misc.xml +4 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/modules.xml +8 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/vcs.xml +6 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/__init__.py +53 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/commands.py +183 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/communicationport.py +131 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/debugport.py +98 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/diagnostics.py +427 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/echoport.py +10 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/libusb/Darwin/libusb-1.0.0.dylib +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/libusb/MS32/libusb-1.0.dll +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/libusb/MS64/libusb-1.0.dll +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/serialport.py +211 -0
- hardwarelibrary-0.0.0/hardwarelibrary/communication/usbport.py +168 -0
- hardwarelibrary-0.0.0/hardwarelibrary/daq/__init__.py +4 -0
- hardwarelibrary-0.0.0/hardwarelibrary/daq/daqdevice.py +58 -0
- hardwarelibrary-0.0.0/hardwarelibrary/daq/labjackdevice.py +42 -0
- hardwarelibrary-0.0.0/hardwarelibrary/devicemanager.py +320 -0
- hardwarelibrary-0.0.0/hardwarelibrary/echodevice.py +43 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/Cobolt-owners-manual-0401-D0105-A.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/HR2000+-OEM-Data-Sheet.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/MPC-325_OpMan.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/Mightex CCD Line Camera Din8 Connector Description.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/Mightex CCD Linear Camera User Manual.pdf +0 -0
- TDS 2000B Manual.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/Tektronix TDS-1002 Programming manual.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/USB Primer.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/USB2000+-OEM-Data-Sheet.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/USB2000-OEM-Data-Sheet.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/User_Manual_Integra_V3.0.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/manuals/usb4000-oem-data-sheet.pdf +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/motion/__init__.py +7 -0
- hardwarelibrary-0.0.0/hardwarelibrary/motion/intellidrivedevice.py +119 -0
- hardwarelibrary-0.0.0/hardwarelibrary/motion/linearmotiondevice.py +126 -0
- hardwarelibrary-0.0.0/hardwarelibrary/motion/rotationdevice.py +66 -0
- hardwarelibrary-0.0.0/hardwarelibrary/motion/sutterdevice.py +173 -0
- hardwarelibrary-0.0.0/hardwarelibrary/notificationcenter.py +103 -0
- hardwarelibrary-0.0.0/hardwarelibrary/oscilloscope/__init__.py +3 -0
- hardwarelibrary-0.0.0/hardwarelibrary/oscilloscope/oscilloscopedevice.py +185 -0
- hardwarelibrary-0.0.0/hardwarelibrary/physicaldevice.py +214 -0
- hardwarelibrary-0.0.0/hardwarelibrary/powermeters/__init__.py +3 -0
- hardwarelibrary-0.0.0/hardwarelibrary/powermeters/integradevice.py +50 -0
- hardwarelibrary-0.0.0/hardwarelibrary/powermeters/powermeterdevice.py +38 -0
- hardwarelibrary-0.0.0/hardwarelibrary/sources/__init__.py +2 -0
- hardwarelibrary-0.0.0/hardwarelibrary/sources/cobolt.py +287 -0
- hardwarelibrary-0.0.0/hardwarelibrary/sources/lasersourcedevice.py +20 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/__init__.py +41 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/base.py +299 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/darkbulb.png +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/intelhexreader.py +130 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/lightbulb.png +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/oceaninsight.py +961 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/stellarnet.zip +0 -0
- hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/viewer.py +288 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/cobolt.json +38 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/socketclient.py +35 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/socketmain.py +39 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testCobolt.py +116 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testCoboltDevice.py +111 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testCoboltSerial.py +102 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testIntegraSerialPort.py +35 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testJSON.py +14 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/usbFinder.py +15 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/env.py +17 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testCommunicationPorts.py +354 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testConnectSutter.py +62 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testDeviceManager.py +259 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testIntegraDevice.py +149 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testIntellidrive.py +173 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testLabjackU3.py +108 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testLinearMotionDevice.py +181 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testMapPositionsFunction.py +79 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testModulePyFTDI.py +70 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testModulePySerial.py +41 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testNotificationCenter.py +154 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testOptotuneDevice.py +91 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testOscilloscope.py +288 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testPhysicalDevice.py +312 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testPyUSB.py +58 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testSerialHardwareFLow.py +60 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testSutterDevice.py +123 -0
- hardwarelibrary-0.0.0/hardwarelibrary/tests/testSutterSerialPort.py +207 -0
- hardwarelibrary-0.0.0/hardwarelibrary/utils.py +160 -0
- hardwarelibrary-0.0.0/hardwarelibrary.egg-info/PKG-INFO +279 -0
- hardwarelibrary-0.0.0/hardwarelibrary.egg-info/SOURCES.txt +137 -0
- hardwarelibrary-0.0.0/hardwarelibrary.egg-info/dependency_links.txt +1 -0
- hardwarelibrary-0.0.0/hardwarelibrary.egg-info/requires.txt +6 -0
- hardwarelibrary-0.0.0/hardwarelibrary.egg-info/top_level.txt +1 -0
- hardwarelibrary-0.0.0/pyproject.toml +58 -0
- hardwarelibrary-0.0.0/setup.cfg +4 -0
- hardwarelibrary-0.0.0/test.py +5 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
98
|
+
__pypackages__/
|
|
99
|
+
|
|
100
|
+
# Celery stuff
|
|
101
|
+
celerybeat-schedule
|
|
102
|
+
celerybeat.pid
|
|
103
|
+
|
|
104
|
+
# SageMath parsed files
|
|
105
|
+
*.sage.py
|
|
106
|
+
|
|
107
|
+
# Environments
|
|
108
|
+
.env
|
|
109
|
+
.venv
|
|
110
|
+
env/
|
|
111
|
+
venv*/
|
|
112
|
+
ENV/
|
|
113
|
+
env.bak/
|
|
114
|
+
venv.bak/
|
|
115
|
+
|
|
116
|
+
# Spyder project settings
|
|
117
|
+
.spyderproject
|
|
118
|
+
.spyproject
|
|
119
|
+
|
|
120
|
+
# Rope project settings
|
|
121
|
+
.ropeproject
|
|
122
|
+
|
|
123
|
+
# mkdocs documentation
|
|
124
|
+
/site
|
|
125
|
+
|
|
126
|
+
# mypy
|
|
127
|
+
.mypy_cache/
|
|
128
|
+
.dmypy.json
|
|
129
|
+
dmypy.json
|
|
130
|
+
|
|
131
|
+
# Pyre type checker
|
|
132
|
+
.pyre/
|
|
133
|
+
|
|
134
|
+
# pytype static type analyzer
|
|
135
|
+
.pytype/
|
|
136
|
+
|
|
137
|
+
# Cython debug symbols
|
|
138
|
+
cython_debug/
|
|
139
|
+
|
|
140
|
+
# macOS
|
|
141
|
+
.DS_Store
|
|
142
|
+
stellarnet.py
|
|
143
|
+
stellarnet.hex
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<sourceFolder url="file://$MODULE_DIR$/hardwarelibrary" isTestSource="false" />
|
|
6
|
+
<sourceFolder url="file://$MODULE_DIR$/hardwarelibrary/manuals" isTestSource="false" />
|
|
7
|
+
<sourceFolder url="file://$MODULE_DIR$/hardwarelibrary/tests" isTestSource="true" />
|
|
8
|
+
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
|
9
|
+
<excludeFolder url="file://$MODULE_DIR$/hardwarelibrary/tests/htmlcov" />
|
|
10
|
+
</content>
|
|
11
|
+
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
|
|
12
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
13
|
+
</component>
|
|
14
|
+
<component name="PyDocumentationSettings">
|
|
15
|
+
<option name="format" value="PLAIN" />
|
|
16
|
+
<option name="myDocStringFormat" value="Plain" />
|
|
17
|
+
</component>
|
|
18
|
+
</module>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="PyPep8NamingInspection" enabled="false" level="WEAK WARNING" enabled_by_default="false" />
|
|
5
|
+
</profile>
|
|
6
|
+
</component>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/PyHardwareLibrary.iml" filepath="$PROJECT_DIR$/.idea/PyHardwareLibrary.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="WebResourcesPaths">
|
|
4
|
+
<contentEntries>
|
|
5
|
+
<entry url="file://$PROJECT_DIR$">
|
|
6
|
+
<entryData>
|
|
7
|
+
<resourceRoots>
|
|
8
|
+
<path value="file://$PROJECT_DIR$/examples" />
|
|
9
|
+
<path value="file://$PROJECT_DIR$/examples/1-simple" />
|
|
10
|
+
<path value="file://$PROJECT_DIR$/examples/2-class" />
|
|
11
|
+
<path value="file://$PROJECT_DIR$/examples/3-class+debugPort" />
|
|
12
|
+
<path value="file://$PROJECT_DIR$/examples/4-testing" />
|
|
13
|
+
<path value="file://$PROJECT_DIR$/hardwarelibrary/communication/libusb" />
|
|
14
|
+
<path value="file://$PROJECT_DIR$/hardwarelibrary/manuals" />
|
|
15
|
+
</resourceRoots>
|
|
16
|
+
</entryData>
|
|
17
|
+
</entry>
|
|
18
|
+
</contentEntries>
|
|
19
|
+
</component>
|
|
20
|
+
</project>
|