This specially designed panel currently works with the Micro Focus platform and is able to graphically setup grid scans on the basis of what is observable on the in-line microscope.
The mapping panel can be individually configured but above you have common panles for NCD buttons and the baton manager as well as the smaple and scan information and a Jython console.
The new panels here are the Grid tab and the Microscope view.
The perspective can be opened in tha same way as other perspectives, from the window opern perspective menu.
Once open on Microscope View select the grid tool (similar to radial profile) and can be found on the same drop down
This will give the Grid tool panel. The image is not live. To refresh use the Refresh image button at the top of the Grid view.
will also take an image.
Selecting the area is as easy as drawing a box on the image. To select the number of points you want to collect change the x-axis and y-axis resolutions. This will modify the number of spots on the image, the locations where the data will be collected.
Find the beam centre:
Finding the beam centre should be done with a set of wire scans, leaving the wire at the found centre and focusing the camera on the wire. Final accurate centring should be done using the smallest wires, i.e. the Tungsten ones. Beam centre can be edited in the Grid tool directly and is saved (for the session) when a scan is initiated with these settings.
To record these in the Jython console use the command
ncdgridscan.setBeamCentreX(...) (similar command for Y)
This will set the beam centre on the screen (red cross). The number in the brackets is in pixels.
Define the resolution:
Especially after a server restart make sure the camera pixel resolution and beam centre are correct. Scaling can be calculate by locating something on the camera and moving by a known amount and measuring pixels.
ncdgridscan.setResolutionX(...) (similar command for Y) will define the resolution.
The number in the bracket is the number of pixels per millimetre.
This depends on the zoom/magnification of the lens so will need checking each time the magnification is changed. A line profile in GDA will allow you to measure the distances.
If you set the resolution as 1 it reads pixels! Useful if you change the resolution in microscope or want to start from scratch.
Diamond Light Source is the UK's national synchrotron science facility, located at the Harwell Science and Innovation Campus in Oxfordshire.
Copyright © 2017 Diamond Light Source
Diamond Light Source Ltd
Harwell Science & Innovation Campus