Commit b7e9005e06d121ee25fcf6c5e2becb8beebf5683

Authored by bmarechal
1 parent b869c4f31d
Exists in master

improve README !

Showing 1 changed file with 46 additions and 0 deletions Side-by-side Diff

1 1 # PM100_waist
2 2  
3 3 Make your waist measurment easy with a Thorlabs PM100D.
  4 +
  5 +## Setup
  6 +```
  7 +==============================
  8 +Prepare the setup
  9 +==============================
  10 +laser PM100D
  11 +-->------------------] in W
  12 + |
  13 + |
  14 + |
  15 +
  16 + knife at z and x=0mm
  17 +
  18 +==============================
  19 +move the knife and press enter
  20 +==============================
  21 +laser PM100D
  22 +-->-----|------------] in W
  23 + |
  24 + |
  25 +
  26 + knife at z and x+=0.05mm
  27 +
  28 +==============================
  29 +```
  30 +
  31 +## Acquisition
  32 +`pm100d_waist.py` acquire the optical power along transverse section at *z* mm.
  33 +
  34 +Create your measurement folder
  35 +`mkdir -p my/best/measurement && cd my/best/measurement`
  36 +
  37 +Run the acquisition program with the `-o` option to set z=123mm as terminaison of the filename.
  38 +All the files will be saved in the current folder
  39 +`path/to/the/program/location/pm100d_waist.py -o 123`
  40 +
  41 +Press *enter* to get a power value, and move the knife of 0.05 mm, repress enter and again and again and again and again and again and again...
  42 +When the section is done, enter the new z value in the prompt, the program will inform you that a new file is created.
  43 +
  44 +At the end, press `CTRL + C` and enter to quit *properly*.
  45 +
  46 +## Post-processing
  47 +`fit_waist.py` fit each waist of each section and compute the *w0* and the *z0* of the beam.
  48 +
  49 +`./fit_waist.py`