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.
Files changed (139) hide show
  1. hardwarelibrary-0.0.0/.gitattributes +2 -0
  2. hardwarelibrary-0.0.0/.gitignore +143 -0
  3. hardwarelibrary-0.0.0/.idea/.gitignore +8 -0
  4. hardwarelibrary-0.0.0/.idea/PyHardwareLibrary.iml +18 -0
  5. hardwarelibrary-0.0.0/.idea/inspectionProfiles/Project_Default.xml +6 -0
  6. hardwarelibrary-0.0.0/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  7. hardwarelibrary-0.0.0/.idea/misc.xml +4 -0
  8. hardwarelibrary-0.0.0/.idea/modules.xml +8 -0
  9. hardwarelibrary-0.0.0/.idea/other.xml +6 -0
  10. hardwarelibrary-0.0.0/.idea/vcs.xml +6 -0
  11. hardwarelibrary-0.0.0/.idea/webResources.xml +20 -0
  12. hardwarelibrary-0.0.0/.idea/workspace.xml +409 -0
  13. hardwarelibrary-0.0.0/MANIFEST.in +5 -0
  14. hardwarelibrary-0.0.0/PKG-INFO +279 -0
  15. hardwarelibrary-0.0.0/README-1-USB.md +344 -0
  16. hardwarelibrary-0.0.0/README-2-RS232.md +85 -0
  17. hardwarelibrary-0.0.0/README-3-USB-Cameras.md +412 -0
  18. hardwarelibrary-0.0.0/README-4-New-device-coding-example.md +223 -0
  19. hardwarelibrary-0.0.0/README-5-Communication-ports.md +401 -0
  20. hardwarelibrary-0.0.0/README-7-Sutter-ROE-200.md +384 -0
  21. hardwarelibrary-0.0.0/README.assets/Am.png +0 -0
  22. hardwarelibrary-0.0.0/README.assets/asiZwo.png +0 -0
  23. hardwarelibrary-0.0.0/README.assets/automation.png +0 -0
  24. hardwarelibrary-0.0.0/README.assets/image-20210415195013040.png +0 -0
  25. hardwarelibrary-0.0.0/README.assets/image-20210415195905341.png +0 -0
  26. hardwarelibrary-0.0.0/README.assets/image-20210417140020797.png +0 -0
  27. hardwarelibrary-0.0.0/README.assets/image-20210423112830851.png +0 -0
  28. hardwarelibrary-0.0.0/README.assets/image-20210423112945687.png +0 -0
  29. hardwarelibrary-0.0.0/README.assets/image-20210423113821265.png +0 -0
  30. hardwarelibrary-0.0.0/README.assets/image-20210423113954823.png +0 -0
  31. hardwarelibrary-0.0.0/README.assets/integra.png +0 -0
  32. hardwarelibrary-0.0.0/README.assets/integra.png.sb-90e26077-lWIRgO +0 -0
  33. hardwarelibrary-0.0.0/README.assets/preview.png +0 -0
  34. hardwarelibrary-0.0.0/README.md +252 -0
  35. hardwarelibrary-0.0.0/SCPI.md +30 -0
  36. hardwarelibrary-0.0.0/examples/1-simple/cobolt.py +36 -0
  37. hardwarelibrary-0.0.0/examples/2-class/cobolt.py +43 -0
  38. hardwarelibrary-0.0.0/examples/3-class+debugPort/cobolt.py +122 -0
  39. hardwarelibrary-0.0.0/hardwarelibrary/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  40. hardwarelibrary-0.0.0/hardwarelibrary/.idea/vcs.xml +6 -0
  41. hardwarelibrary-0.0.0/hardwarelibrary/.idea/workspace.xml +39 -0
  42. hardwarelibrary-0.0.0/hardwarelibrary/__init__.py +19 -0
  43. hardwarelibrary-0.0.0/hardwarelibrary/__main__.py +76 -0
  44. hardwarelibrary-0.0.0/hardwarelibrary/cameras/__init__.py +2 -0
  45. hardwarelibrary-0.0.0/hardwarelibrary/cameras/camera.py +181 -0
  46. hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/.gitignore +3 -0
  47. hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/communication.iml +12 -0
  48. hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  49. hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/misc.xml +4 -0
  50. hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/modules.xml +8 -0
  51. hardwarelibrary-0.0.0/hardwarelibrary/communication/.idea/vcs.xml +6 -0
  52. hardwarelibrary-0.0.0/hardwarelibrary/communication/__init__.py +53 -0
  53. hardwarelibrary-0.0.0/hardwarelibrary/communication/commands.py +183 -0
  54. hardwarelibrary-0.0.0/hardwarelibrary/communication/communicationport.py +131 -0
  55. hardwarelibrary-0.0.0/hardwarelibrary/communication/debugport.py +98 -0
  56. hardwarelibrary-0.0.0/hardwarelibrary/communication/diagnostics.py +427 -0
  57. hardwarelibrary-0.0.0/hardwarelibrary/communication/echoport.py +10 -0
  58. hardwarelibrary-0.0.0/hardwarelibrary/communication/libusb/Darwin/libusb-1.0.0.dylib +0 -0
  59. hardwarelibrary-0.0.0/hardwarelibrary/communication/libusb/MS32/libusb-1.0.dll +0 -0
  60. hardwarelibrary-0.0.0/hardwarelibrary/communication/libusb/MS64/libusb-1.0.dll +0 -0
  61. hardwarelibrary-0.0.0/hardwarelibrary/communication/serialport.py +211 -0
  62. hardwarelibrary-0.0.0/hardwarelibrary/communication/usbport.py +168 -0
  63. hardwarelibrary-0.0.0/hardwarelibrary/daq/__init__.py +4 -0
  64. hardwarelibrary-0.0.0/hardwarelibrary/daq/daqdevice.py +58 -0
  65. hardwarelibrary-0.0.0/hardwarelibrary/daq/labjackdevice.py +42 -0
  66. hardwarelibrary-0.0.0/hardwarelibrary/devicemanager.py +320 -0
  67. hardwarelibrary-0.0.0/hardwarelibrary/echodevice.py +43 -0
  68. hardwarelibrary-0.0.0/hardwarelibrary/manuals/Cobolt-owners-manual-0401-D0105-A.pdf +0 -0
  69. hardwarelibrary-0.0.0/hardwarelibrary/manuals/HR2000+-OEM-Data-Sheet.pdf +0 -0
  70. hardwarelibrary-0.0.0/hardwarelibrary/manuals/MPC-325_OpMan.pdf +0 -0
  71. hardwarelibrary-0.0.0/hardwarelibrary/manuals/Mightex CCD Line Camera Din8 Connector Description.pdf +0 -0
  72. hardwarelibrary-0.0.0/hardwarelibrary/manuals/Mightex CCD Linear Camera User Manual.pdf +0 -0
  73. TDS 2000B Manual.pdf +0 -0
  74. hardwarelibrary-0.0.0/hardwarelibrary/manuals/Tektronix TDS-1002 Programming manual.pdf +0 -0
  75. hardwarelibrary-0.0.0/hardwarelibrary/manuals/USB Primer.pdf +0 -0
  76. hardwarelibrary-0.0.0/hardwarelibrary/manuals/USB2000+-OEM-Data-Sheet.pdf +0 -0
  77. hardwarelibrary-0.0.0/hardwarelibrary/manuals/USB2000-OEM-Data-Sheet.pdf +0 -0
  78. hardwarelibrary-0.0.0/hardwarelibrary/manuals/User_Manual_Integra_V3.0.pdf +0 -0
  79. hardwarelibrary-0.0.0/hardwarelibrary/manuals/usb4000-oem-data-sheet.pdf +0 -0
  80. hardwarelibrary-0.0.0/hardwarelibrary/motion/__init__.py +7 -0
  81. hardwarelibrary-0.0.0/hardwarelibrary/motion/intellidrivedevice.py +119 -0
  82. hardwarelibrary-0.0.0/hardwarelibrary/motion/linearmotiondevice.py +126 -0
  83. hardwarelibrary-0.0.0/hardwarelibrary/motion/rotationdevice.py +66 -0
  84. hardwarelibrary-0.0.0/hardwarelibrary/motion/sutterdevice.py +173 -0
  85. hardwarelibrary-0.0.0/hardwarelibrary/notificationcenter.py +103 -0
  86. hardwarelibrary-0.0.0/hardwarelibrary/oscilloscope/__init__.py +3 -0
  87. hardwarelibrary-0.0.0/hardwarelibrary/oscilloscope/oscilloscopedevice.py +185 -0
  88. hardwarelibrary-0.0.0/hardwarelibrary/physicaldevice.py +214 -0
  89. hardwarelibrary-0.0.0/hardwarelibrary/powermeters/__init__.py +3 -0
  90. hardwarelibrary-0.0.0/hardwarelibrary/powermeters/integradevice.py +50 -0
  91. hardwarelibrary-0.0.0/hardwarelibrary/powermeters/powermeterdevice.py +38 -0
  92. hardwarelibrary-0.0.0/hardwarelibrary/sources/__init__.py +2 -0
  93. hardwarelibrary-0.0.0/hardwarelibrary/sources/cobolt.py +287 -0
  94. hardwarelibrary-0.0.0/hardwarelibrary/sources/lasersourcedevice.py +20 -0
  95. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/__init__.py +41 -0
  96. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/base.py +299 -0
  97. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/darkbulb.png +0 -0
  98. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/intelhexreader.py +130 -0
  99. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/lightbulb.png +0 -0
  100. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/oceaninsight.py +961 -0
  101. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/stellarnet.zip +0 -0
  102. hardwarelibrary-0.0.0/hardwarelibrary/spectrometers/viewer.py +288 -0
  103. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/cobolt.json +38 -0
  104. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/socketclient.py +35 -0
  105. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/socketmain.py +39 -0
  106. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testCobolt.py +116 -0
  107. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testCoboltDevice.py +111 -0
  108. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testCoboltSerial.py +102 -0
  109. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testIntegraSerialPort.py +35 -0
  110. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/testJSON.py +14 -0
  111. hardwarelibrary-0.0.0/hardwarelibrary/tests/deprecated/usbFinder.py +15 -0
  112. hardwarelibrary-0.0.0/hardwarelibrary/tests/env.py +17 -0
  113. hardwarelibrary-0.0.0/hardwarelibrary/tests/testCommunicationPorts.py +354 -0
  114. hardwarelibrary-0.0.0/hardwarelibrary/tests/testConnectSutter.py +62 -0
  115. hardwarelibrary-0.0.0/hardwarelibrary/tests/testDeviceManager.py +259 -0
  116. hardwarelibrary-0.0.0/hardwarelibrary/tests/testIntegraDevice.py +149 -0
  117. hardwarelibrary-0.0.0/hardwarelibrary/tests/testIntellidrive.py +173 -0
  118. hardwarelibrary-0.0.0/hardwarelibrary/tests/testLabjackU3.py +108 -0
  119. hardwarelibrary-0.0.0/hardwarelibrary/tests/testLinearMotionDevice.py +181 -0
  120. hardwarelibrary-0.0.0/hardwarelibrary/tests/testMapPositionsFunction.py +79 -0
  121. hardwarelibrary-0.0.0/hardwarelibrary/tests/testModulePyFTDI.py +70 -0
  122. hardwarelibrary-0.0.0/hardwarelibrary/tests/testModulePySerial.py +41 -0
  123. hardwarelibrary-0.0.0/hardwarelibrary/tests/testNotificationCenter.py +154 -0
  124. hardwarelibrary-0.0.0/hardwarelibrary/tests/testOptotuneDevice.py +91 -0
  125. hardwarelibrary-0.0.0/hardwarelibrary/tests/testOscilloscope.py +288 -0
  126. hardwarelibrary-0.0.0/hardwarelibrary/tests/testPhysicalDevice.py +312 -0
  127. hardwarelibrary-0.0.0/hardwarelibrary/tests/testPyUSB.py +58 -0
  128. hardwarelibrary-0.0.0/hardwarelibrary/tests/testSerialHardwareFLow.py +60 -0
  129. hardwarelibrary-0.0.0/hardwarelibrary/tests/testSutterDevice.py +123 -0
  130. hardwarelibrary-0.0.0/hardwarelibrary/tests/testSutterSerialPort.py +207 -0
  131. hardwarelibrary-0.0.0/hardwarelibrary/utils.py +160 -0
  132. hardwarelibrary-0.0.0/hardwarelibrary.egg-info/PKG-INFO +279 -0
  133. hardwarelibrary-0.0.0/hardwarelibrary.egg-info/SOURCES.txt +137 -0
  134. hardwarelibrary-0.0.0/hardwarelibrary.egg-info/dependency_links.txt +1 -0
  135. hardwarelibrary-0.0.0/hardwarelibrary.egg-info/requires.txt +6 -0
  136. hardwarelibrary-0.0.0/hardwarelibrary.egg-info/top_level.txt +1 -0
  137. hardwarelibrary-0.0.0/pyproject.toml +58 -0
  138. hardwarelibrary-0.0.0/setup.cfg +4 -0
  139. hardwarelibrary-0.0.0/test.py +5 -0
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -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,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Datasource local storage ignored files
5
+ /dataSources/
6
+ /dataSources.local.xml
7
+ # Editor-based HTTP Client requests
8
+ /httpRequests/
@@ -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,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
4
+ </project>
@@ -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,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PySciProjectComponent">
4
+ <option name="PY_SCI_VIEW_SUGGESTED" value="true" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </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>