Giter Club home page Giter Club logo

nanosquared's Introduction

Hi there, servus! ๐Ÿ‘‹

I am a Singaporean Physics / Quantum Science and Technology (QST) Masters' student at LMU/TUM in Munich, Germany.

I am enthusiatic about exploring things from the ground up to understand how everything works together
...and then building upon them.

Open to collaborations :)

If only there were more than 24 hours in a day....

https://gist.github.com/sunjerry019

nanosquared's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nanosquared's Issues

StartDriver() doesn't work

When I run the code, I find an error indicated. It happens to all the dataRay example codes, including this one, do you know what's the reason?
Traceback (most recent call last):
File "C:\Users\yang.zeng\AppData\Local\Programs\Python\Python310\lib\site-packages\comtypes_init_.py", line 275, in getattr
fixed_name = self.map_case[name.lower()]
KeyError: 'startdevice'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\yang.zeng\Documents\01.Sinaero\04.scripts\dataRay_example\dataray-python-camera-example-2021.py", line 101, in
app = MyApp()
File "C:\Users\yang.zeng\Documents\01.Sinaero\04.scripts\dataRay_example\dataray-python-camera-example-2021.py", line 97, in init
self.gd.ctrl.StartDevice()
File "C:\Users\yang.zeng\AppData\Local\Programs\Python\Python310\lib\site-packages\comtypes_init_.py", line 277, in getattr
raise AttributeError(name)
AttributeError: StartDevice

Finding Rayleigh length in the other direction

Currently the z_R may only be found in one direction (i.e. the beam can only come in through the dial end of the stage)

Should implement and test some way so that the stage can also be rotated.

msl-loadlib Server32 ConnectionTimeoutError

n = NanoScan(devMode = False)
INFO: Initializing NanoScan...Traceback (most recent call last):

ConnectionTimeoutError: Timeout after 10.0 seconds. Could not connect to 127.0.0.1:52173
Instantiating the 32-bit server raised the following exception:
DllNotFoundException: Die DLL "NS2_Interop.dll": Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden.
bei NanoScanLibrary.NanoScan.InitNsInterop()
bei NanoScanLibrary.NanoScan.InitNS()
Cannot start the 32-bit server.

English Translation:
ConnectionTimeoutError: Timeout after 10.0 seconds. Could not connect to 127.0.0.1:52173
Instantiating the 32-bit server raised the following exception:
DllNotFoundException: Unable to load DLL 'NS2_Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).
in NanoScanLibrary.NanoScan.InitNsInterop()
in NanoScanLibrary.NanoScan.InitNS()
Cannot start the 32-bit server.

Both dll were in the same folder, the NanoScanLibrary.dll was found.

Improvement to M^2 Measurement

Currently, the setup:

  1. Finds the center
  2. Finds the Z_R
  3. Measures the M^2

The M^2 measurement may be sped up by

  1. Taking rough measurements of the beam caustic
  2. Doing a fit to obtain rough Z_R and center measurements
  3. Taking a few more measurements within the +/-Z_R range.
  4. Doing a refit

This reduces the total number of measurement points significantly.

(Idea from Thorlabs)

Finding Rayleigh Length of both axes efficiently

Currently the Rayleigh Length for each axes is found independently. If the bounds for the Y-Axis can be adjusted during the finding on the X-Axis, then it should converge faster on the results.

No GUI

The code does not offer a GUI for its users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.