Scanning Tank PSF scans

From Applied Optics Wiki
Jump to: navigation, search
Tank instructions for Point spread functions (PSF) of samples. Written by Rob Ellwood


  1. Put sample in sample holding devise (not the best in the world but canbe adapted if needs it) and make sure correct transducer (TX) is in.
  2. Fill tank with water from pipe connected to sink
  3. Put both ends of UV pump in (thing that looks like a small bin withhoses connected). Making sure the pipes are in place (they do move whenthe power is switched on). Plug both the pump and the filter in (twowhite sockets into four way).
  4. Log in to pc (start up if necessary)
  5. Power up the interferometer using key switch (key kept in white safetycupboard by door, left cabinet, bottom row, middle) and power up scope.
  6. On PC open a console window (black screen icon at bottom close to “start bar”). This window is designated (1) for now.
  7. If the Pc was shutdown when you came to it then type into the console window:
    1. cd /home/scan/source/hardware/tank/copleycandriver/copleycan_0.4.0/
    2. sudo make install (ask matt for the root password)
    3. tank_server &
  8. Then in console window (1) type: cd /home/scan/2012/july/tank/
  9. All my code is in testscansample folder
  10. Make a new directory for the sample you are scanning by typing: mkdir “NAME OF SAMPLE”
  11. Copy all my matlab code to the new folder by typing: cp ./testscansample/*.m ./NAMEOFSAMPLE/
  12. Type cd ./NAMEOFSAMPLE (ls will show you whats in the directory)
  13. Turn the pulser on (flick switch labelled pwr) and turn the Polytechlaser on (laser button on laser unit) you will see a red spot on yoursample. This is a class 2 laser meaning it is blink safe. In otherwords so long as you don't sit there looking at it for long periods oftime forcing yourself not to blink you should not cause any damage toyourself.
  14. Open another console window (2).
  15. In new console window type: manual_tank
  16. This program lets you control the position of the stages using thekeyboard arrows, pressing the “f” makes the step sizes bigger andpressing the “s” key makes it go slower. Before moving the stages makesure the emergency stop button is deactivated (rotate it clockwise tillit pops up). If at any point you think the stages are going to crashinto something press the emergency stop button and go find steve. Movethe stages round to line up the sample, the interferometer spot and thetransducer. Hopefully with a few averages on the scope (16-256 kind ofrange) you should be able to see the UT pulse. Get all the bits alignedand press the “o” key to set the origin. You should set it for allaxis, hence press the “a” afterwards. Make sure you note the numbers.If at any time you need help press the “h” key.
  17. Using a filebrowser (goto the “start menu” and select the home icon) navigate towhere you have made your sample folder(/home/scan/2012/july/tank/NAMEOFSAMPLE). Edit thegenerate_psf_movie_confiles using a text editor (right click, openwith, kwrite). Make sure the numbers that each axis is going to movemakes sense (all numbers are in microns, its historical) with thosenoted when using manual_tank. You may also want to change the filenamevariable. NOTE: the distpsfover variable defines the length of the linethe different psfs will be taken over, the axis5stepsize indicatest thesize of each step between psfs. The set_origin function resets theorgin by the step size each time round so a slightly different part ofthe sample has a psf run on it each time. This code has only been drytested (not collecting UT signals) and so may require further work.Save any changes
  18. In console 1 type: “matlab_java &” (this will bring up a matlab window).
  19. In console 2 quit manual_tank by pressing the “q” button. You should not need to move the stages back to 000 so press “N”
  20. So long as your happy in the matlab window type:
    “generate_psf_movie_confiles”
  21. The stages should start moving about and the scope should startcollecting data. Again if anything looks like its about to crash pressthe emerency stop. If you figure out your in the wrong place orsomething pressing “ctrl+c” will stop the process.
  22. Once thedata collection has finished edit plot_psf in kwrite so the base_namevariable matches the name of your data files. You can then run this inmatlab, Hopefully it will generate all the pictures you need. These canbe put into a video. I will refer you to steve.
  23. To put in a new sample move the sample arm up in manual stage.
  24. On completion of the data collection, switch off pulser, polytech (laser button, followed by key switch) and then scope.
  25. Close all windows and log out of pc.
  26. Press the emergency stop button.
  27. According to steve water can be left in the tank over night. Over aweekend maybe too long so it is advisable to drain it. The drainingprocess goes as follows:
    1. Unplug pump, remove return hose from tank and put into sink
    2. Plug in pump. This should start emptying tank into sink (again watchfor pipes moving with pressure best to hold onto return hose)
    3. When the water level is too low for the pump unplug both the UV filter and the pump.
    4. Break out the dust pan and remove the last couple of inches (it doesn'ttake too long) being careful not to soak the controller. A bit of papertowel can be used for the last bits the dustpan can't get.
  28. Good luck!

Thepulser is over with Xeusheng, there are two coax cables to the left ofthe monitor that need pluging in (both are labelled with postit notesabout which ports they need to go into). Plus there is a power cable.It should just be plug and play.