-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added save functionality and a base terascan cfg file.
- Loading branch information
Ben Cerjan
committed
Mar 11, 2025
1 parent
2f90d87
commit a26f425
Showing
11 changed files
with
220 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
global: | ||
# list of modules to load when starting | ||
startup_modules: [] | ||
|
||
# Module server configuration for accessing qudi GUI/logic/hardware modules from remote clients | ||
remote_modules_server: | ||
address: 'localhost' | ||
port: 12345 | ||
|
||
# Server port for serving the active qudi module namespace locally (localhost). | ||
# Used by e.g. the Qudi jupyter kernel. | ||
namespace_server_port: 18861 | ||
|
||
# If this flag is set (True), all arguments passed to qudi module APIs from remote | ||
# (jupyter notebook, qudi console, remote modules) will be wrapped and passed "per value" | ||
# (serialized and de-serialized). This is avoiding a lot of inconveniences with using numpy in | ||
# remote clients. | ||
# If you do not want to use this workaround and know what you are doing, you can disable this | ||
# feature by setting this flag to False. | ||
force_remote_calls_by_value: True | ||
|
||
# Qss stylesheet for controlling the appearance of the GUIs. | ||
# Absolute path or relative to qudi.artwork.styles | ||
stylesheet: 'qdark.qss' | ||
|
||
# Default root directory for measurement data storage. All eventual data sub-directories should | ||
# be contained within this directory. This is not enforced, just convention. | ||
# The fallback directory is <user home>/qudi/Data/ | ||
# default_data_dir: C:\Users\neverhorst\qudi\Data | ||
|
||
# Save data to daily data sub-directories by default | ||
daily_data_dirs: True | ||
|
||
|
||
gui: | ||
terascan_gui: | ||
module.Class: 'terascan.terascan_gui.TerascanGui' | ||
connect: | ||
terascan_logic: terascan_logic | ||
|
||
logic: | ||
terascan_logic: | ||
module.Class: 'terascan_logic.TerascanLogic' | ||
connect: | ||
laser: scanning_laser_logic | ||
wavemeter: time_series_reader_logic | ||
counter: fast_counter_logic | ||
daq: daq_reader_logic # Note that this logic assumes there is exactly one (digital) input to the DAQ. | ||
options: | ||
record_length_ms: 1 # Length of data (in ms) to take at each wavelength. Only integers. | ||
|
||
|
||
daq_reader_logic: | ||
module.Class: 'common.daq_reader_logic.DAQReaderLogic' | ||
connect: | ||
daq: daq_dummy | ||
options: | ||
update_interval: 0 # Period in ms to check for data updates. Integers only. 0 is as fast as possible | ||
|
||
|
||
time_series_reader_logic: | ||
module.Class: 'common.data_in_stream_logic.DataInStreamLogic' | ||
options: | ||
max_frame_rate: 20 # optional (default: 20Hz) | ||
channel_buffer_size: 1048576 # optional (default: 1MSample) | ||
max_raw_data_bytes: 1073741824 # optional (default: 1GB) | ||
connect: | ||
streamer: instream_dummy | ||
|
||
|
||
fast_counter_logic: | ||
module.Class: 'common.fast_counter_logic.FastCounterLogic' | ||
connect: | ||
fast_counter: fast_counter_dummy | ||
|
||
|
||
scanning_laser_logic: | ||
module.Class: 'common.scanning_laser_logic.ScanningLaserLogic' | ||
connect: | ||
laser: scanning_laser_dummy | ||
options: | ||
min_wavelength: 0.775 # in um | ||
max_wavelength: 0.790 # in um | ||
|
||
|
||
hardware: | ||
|
||
daq_dummy: | ||
module.Class: 'dummy.daq_reader_dummy.DAQReaderDummy' | ||
|
||
instream_dummy: | ||
module.Class: 'dummy.data_instream_dummy.InStreamDummy' | ||
options: | ||
channel_names: | ||
- 'digital 1' | ||
- 'analog 1' | ||
- 'digital 2' | ||
channel_units: | ||
- 'Hz' | ||
- 'V' | ||
- 'Hz' | ||
channel_signals: # Can be 'counts' or 'sine' | ||
- 'counts' | ||
- 'sine' | ||
- 'counts' | ||
data_type: 'float64' | ||
sample_timing: 'CONSTANT' # Can be 'CONSTANT', 'TIMESTAMP' or 'RANDOM' | ||
|
||
fast_counter_dummy: | ||
module.Class: 'dummy.fast_counter_dummy.FastCounterDummy' | ||
|
||
|
||
laser_dummy: | ||
module.Class: 'dummy.scanning_laser_dummy.ScanningLaserDummy' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Metadata-Version: 2.2 | ||
Name: qupidc-qudi-modules | ||
Version: 0.0.1 | ||
Summary: Qudi modules developed by QuPIDC. | ||
Home-page: https://github.itap.purdue.edu/hoodlabpurdue/qupidc-qudi-modules | ||
License: LGPLv3 | ||
Keywords: qudi,experiment,measurement,framework,lab,laboratory,instrumentation,instrument,modular | ||
Requires-Python: >=3.8, <3.11 | ||
Description-Content-Type: text/markdown | ||
License-File: LICENSE | ||
License-File: LICENSE.LESSER | ||
Requires-Dist: wheel>=0.37.0 | ||
Requires-Dist: qudi-core>=1.4.1 | ||
Requires-Dist: numpy>=1.21.3 | ||
Requires-Dist: pyqtgraph>=0.13.0 | ||
Requires-Dist: PySide2==5.15.2.1 | ||
Dynamic: description | ||
Dynamic: description-content-type | ||
Dynamic: home-page | ||
Dynamic: keywords | ||
Dynamic: license | ||
Dynamic: requires-dist | ||
Dynamic: requires-python | ||
Dynamic: summary | ||
|
||
# QuPIDC-Qudi-Modules | ||
[](https://www.gnu.org/licenses/lgpl-3.0) | ||
|
||
--- | ||
|
||
Qudi modules for QuPIDC. | ||
|
||
> __WARNING:__ | ||
> | ||
> Do __NOT__ put any `__init__.py` files into qudi namespace packages. Doing so will prevent any | ||
> addon packages to install additional modules into the respective package or any sub-packages. | ||
> | ||
> You can however create your own non-namespace packages (including `__init__.py`). Just make sure | ||
> you do not want to install any addons later on in this package or any sub-packages thereof. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
LICENSE | ||
LICENSE.LESSER | ||
README.md | ||
pyproject.toml | ||
setup.py | ||
src/qudi/gui/template/template_gui.py | ||
src/qudi/gui/template/template_main_window.py | ||
src/qudi/gui/terascan/terascan_gui.py | ||
src/qudi/gui/terascan/terascan_main_window.py | ||
src/qudi/hardware/camera/andor_camera.py | ||
src/qudi/hardware/daq/nidaq.py | ||
src/qudi/hardware/dummy/camera_dummy.py | ||
src/qudi/hardware/dummy/daq_dummy.py | ||
src/qudi/hardware/dummy/data_instream_dummy.py | ||
src/qudi/hardware/dummy/fast_counter_dummy.py | ||
src/qudi/hardware/dummy/scanning_laser_dummy.py | ||
src/qudi/hardware/laser/solstis_constants.py | ||
src/qudi/hardware/laser/solstis_funcs.py | ||
src/qudi/hardware/laser/solstis_laser.py | ||
src/qudi/hardware/timetagger/swabian_tagger.py | ||
src/qudi/hardware/wavemeter/high_finesse_constants.py | ||
src/qudi/hardware/wavemeter/high_finesse_proxy.py | ||
src/qudi/hardware/wavemeter/high_finesse_wavemeter.py | ||
src/qudi/hardware/wavemeter/high_finesse_wrapper.py | ||
src/qudi/interface/camera_interface.py | ||
src/qudi/interface/daq_reader_interface.py | ||
src/qudi/interface/data_instream_interface.py | ||
src/qudi/interface/fast_counter_interface.py | ||
src/qudi/interface/scanning_laser_interface.py | ||
src/qudi/logic/grating_scan_logic.py | ||
src/qudi/logic/template_logic.py | ||
src/qudi/logic/terascan_logic.py | ||
src/qudi/logic/common/camera_logic.py | ||
src/qudi/logic/common/daq_reader_logic.py | ||
src/qudi/logic/common/data_in_stream_logic.py | ||
src/qudi/logic/common/fast_counter_logic.py | ||
src/qudi/logic/common/scanning_laser_logic.py | ||
src/qupidc_qudi_modules.egg-info/PKG-INFO | ||
src/qupidc_qudi_modules.egg-info/SOURCES.txt | ||
src/qupidc_qudi_modules.egg-info/dependency_links.txt | ||
src/qupidc_qudi_modules.egg-info/not-zip-safe | ||
src/qupidc_qudi_modules.egg-info/requires.txt | ||
src/qupidc_qudi_modules.egg-info/top_level.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
wheel>=0.37.0 | ||
qudi-core>=1.4.1 | ||
numpy>=1.21.3 | ||
pyqtgraph>=0.13.0 | ||
PySide2==5.15.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
qudi |