Nanoimager dSTORM analysis
Loading data
- Click on the Analyze tab.
- If you have just acquired a dataset it will already be listed in the Image Files: list in the top left of the UI..
- To load a new dataset, click Load Data...
By default NimOS will localise molecules in real time during the acquisition, in which case the Result Files: list will already have a locb and nimb file in it.
If Disable real-time localization was ticked prior to the acquisition then the Result Files list will be empty.
Viewing images
There are two views of the data: The small image on the left is a thumbnail of the entire field of view; the larger image on the right can be zoomed on and examined up close. When you zoom on the image an ROI appears in the thumbnail, showing you the area you've zoomed on. You can zoom on the image by either using the track-wheel of a mouse (if you have one), or pinching two fingers together or apart on the laptop touchpad. You can reset the zoom by right-clicking and selecting Reset zoom.
Viewing Options
The information below relates to single-colour dSTORM. Multi-colour data will have more channels, each in a different row below Channel 0.
- In the Viewing Options area in the lower right of the user interface you can tick or untick the Raw or Localizations columns to display the raw image data and/or localisation image (or both superimposed on one another).
- Double-clicking the block of colour in the Colour column opens a dialogue box that will allow you to change the colour and rendering for each channel..
- If the Raw column is ticked you can scroll through the Frame index of the acquisition sequence.
Calculate Drift Correction
There is a Calculate Drift Correction button amongst the Tools in the bottom left of the UI.
This approach works best when calculating drift from dense datasets with large numbers of localisations, since the default minimum number of points to cross-correlate is 400000. For sparser datasets ONI have written a Python script that changes the default number to a user-set value. You can open the Python script in the following way:
- In the main menu, click Advanced
- Select Python Console
Go to the File/Open... menu of the Python Console and open the following script: drift_ChangeLocs_Region (2).py. The script file is on the desktop of the Nanoimager PC.
If you want to use it on your own copy of NimOS then email lmcb-lm-help@ucl.ac.uk and we will send you a copy.
- User editable values in the script are highlighted in cyan.
- The most important value to adjust is dc.MinPointsPerSubsample. The default value for this when you use the Calculate Drift Correction button is 400000. The text in the script recommends setting this to 5000 or less. I have had more luck with around 10000 with my specimens, but it depends on how many localisations you have.
- You can also restrict calculation of drift to an ROI (if most of your image has no localisations, for example). This is done by changing the dc.CustomRegionLeft, dc.CustomRegionRight, dc.CustomRegionTop and dc.CustomRegionBottom values. The values have to be typed in, so you will have to hover your cursor over the image to get the coordinates.
- I'm not recommending that the dc.MaxSubsampleImageDimension is edited at this time.
- Once you've changed the values to the ones you want, click Run code.
- The image below shows a zoomed up image of two fluorescent labels about 100 nm apart in a DNA origami structure. The image on the left has drift and the image on the right is corrected.
- If the drift correction hasn't worked well, try decreasing or increasing the dc.MinPointsPerSubsample.
- You can use the Apply correction tick-box in the main GUI to toggle the correction on and off.
Results Filtering
- In the Results Filtering area you can choose to apply filters to the localisations. For example, you might want to only look at localisations with a localisation precision of 10 nm or less, or you might want to examine how the localisations change for different ranges of frames using the Frame Index filter.
- On the left of the user interface in the Tools area you can use the Trace tool to see how parameters like photon count change over time or use the Line Histogram to measure the distance between spots.
- Localisations can be exported using the Export Localizations as .csv button. If you've set filters in the Results Filtering area then the filtered localisations will be exported.