Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectrometer pr v1 #1

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

AdrienR09
Copy link

@AdrienR09 AdrienR09 commented Jan 11, 2022

A new Qudi scientific spectrometer full chain for advanced spectroscopic usage

Description

This work is a continuation of PR Ulm-IQO#598 (which will be closed).
We added a brand new dummies/interface/logic/gui chain to use scientific spectrometer with advanced features with Qudi. The current qudi spectrometer module doesn't provide all the functionalities that a standard grating spectrometer can provide (selecting tracks of interest on the camera, changing the spectrometer calibration, switching between image/alignment/spectrum modes...) and doesn't separate camera and spectrometer hardwares which could be bring more modularity. We then created a completely new spectrometer module with a full dummies/interface/logic/gui chain which fulfill these lacks and we expect this module to be beneficial for a lot of Qudi users. This PR aims to share our work on this new Qudi module offering a new era to the Qudi spectrometer. Beside, we developed two hardware modules which should be compatible with all Andor devices.

Motivation and Context

The current Qudi spectrometer offers only few features and a lot of functionalities are missing. Based on our experience with several spectrometer softwares and the needs in spectroscopy for our research works, we wanted to develop a completely different interface than what has been done until now. This interface must implement some original features which facilitate the work of spectroscopist. The main features added are :

To switch the spectrometer gratings
To control the input and output port
To control the slit width of the corresponding ports if motorized
To choose the center wavelength of the current grating
To choose the read mode (simple, live and multi scan)
To control the shutter if installed
To control the camera temperature if necessary
The possibility to switch between acquisition mode : image modes, spectrum modes and alignment modes (different type of integration at the level of the hardware on the camera)
The functionality to select manually the active tracks on the image where the spectra will be measured.
The functionality to select a ROI on the image to display a sub image focus on a certain point.
The ability to change the wavelength range calibration directly through the interface.

How Has This Been Tested?

We start to use this spectrometer module with our Andor spectrometer since November 2020 for our research work with a windows 10 environment. We think that this spectrometer module is now mature enough to be used and tested by other labs.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [ x] My code follows the code style of this project.
  • [ x] I have documented my changes in the changelog (documentation/changelog.md)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • [ x] I have added/updated for the module the config example in the docstring of the class accordingly.
  • [ x] I have checked that the change does not contain obvious errors (syntax, indentation, mutable default values).
  • [ x] I have tested my changes using 'Load all modules' on the default dummy configuration with my changes included.
  • All changed Jupyter notebooks have been stripped of their output cells.

@alrik-durand
Copy link
Member

Hey Adrien,

I tried playing with the module a bit (with dummy hardware), I did not look at the code (yet).
The module is very beautiful ! There is however still a few changes remaining :

I have a few remarks :

  • the data saved for images and spectra are saved in the same folder here, which makes it hard to sort them out.
  • the background corrected data do not have a metadata specifying the use of background correction or the correction file.

I also noticed a few bugs while playing around :

  • The alignment tool "multiple tracks" does not work.
  • The spectrum "multiple tracks" does not work :'(
  • The spectrum MULTI SCAN feature does not work on my PC with dummy hardware.

Is everything working with the Andor hardware ?


This will be a great part of Qudi ;)
Alrik

@AdrienR09
Copy link
Author

Dear Alrik,

I am glad to hear your corrections and reviews for this modules and I am going to fix these problems asap.
I am pleased to connect with you and I hope to get in touch soon.

Cordially,

Adrien R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants