User Tools

Site Tools


nanosims:lans_good_to_know

Good to know

This page describes tips and tricks that might be useful to know when using LANS.

More help available via LANS's GUI

Tooltips and extra help were added in several places of the LANS's GUI. Just hold your mouse above a specific checkbox or text field, or select a specific item from the newly added help menus, to display this extra help.

Default filename for ROIs file

Because LANS was originally developed for microbiologists, the default name for the file containing the information about the regions of interest (ROIs) was cells. In the newest version the default filename can be chosen by the user by specifying the value of the global variable CELLSFILE, which is done by editing the lookatnanosims.m file in the root of the LANS distribution. A possible, and perhaps more appropriate, default filename could be ROIs. Note that because the ROI files are used during post-processing of multiple files, it is recommended to consistently use one filename throughout your LANS analyses.

Analysis of zip-compressed *.im files

The *.im files produced by the nanoSIMS instrument are usually quite large, which may not be convenient if your disk space is limited or if you store and analyze them on different computers and thus need to copy them over the network. To make the raw data storage more efficient, it is recommended to compress the *.im files as zip files (*.im.zip). To do this, you can use the 7-Zip program, which is a freeware software for Windows, or the zip program, which is by default available on Linux and Mac-OS systems.

Once this is done, LANS allows you to analyze these compressed data as well. To make this possible you need to edit the file paths.m present in the root folder of your LANS distribution and specify the full path of the decompressing (“unzipping”) command in the UNZIP_COMMAND variable. Subsequently, when loading the raw dataset in LANS, select Compressed Cameca IM file (*.im.zip) as the File Type and then select your im.zip file. The data will be automatically decompressed and loaded into LANS, and you won't need to worry about the large *.im files any more.

last-column/last-row bug of *.im files

When processing an *.im file, you may have noticed that the images have a strange artifact. Specifically, it seems that the upper-most row and the left-most column of the image are not where they should be, but are instead in the lower-most and right-most parts of the image, respectively.

Apparently, this is an issue related to the synchronization of primary and secondary ion beams in the NanoSIMS instrument, and is a technical problem that needs to be dealt with by Cameca. Since this has not happened so far, LANS implements a workaround to deal with this issue.

Before loading the binary *.im file, check one or more of the options in the Input → Shift columns or rows when loading raw data. If you check more than one, the selected corrections will be done in the order from top to bottom. Then proceed with loading the file via Input → Load RAW dataset. You will see a notification that this correction was applied to the raw data in the Matlab console. Process the file the usual way. At the end, make sure you have these options checked when saving the preferences, so that you don't need to worry about this correction when loading the file next time via Input → Load+accumulate+display RAW or PROCESSED dataset.

Diverse colormaps can be selected in additional output options

It is possible to select from a more diverse range of colormaps when displaying images. To do this, select Preferences → Additional output options. In the window that pops up select the colormap of your choice from the pop-up menu, and click Apply. From this moment the selected colormap will be applied to (most of) the images displayed. Note that checking B/W in the main LANS GUI next to the scale field will override this choice and lead to the image displayed using the gray-scale colormap.

Loading accumulated data without the original binary *.im file

It is possible to load the nanosims data previously processed by LANS without the need for the original *.im binary data. To do so, select Load ACCUMULATED data from the Input menu of LANS, and select the preferences file (e.g., prefs.mat) that you saved during the time when you processed the original data with LANS. Based on the information in this file, the accumulated ion count images (*.mat files) will be loaded from the mat subfolder containing the processed data, after which you can proceed with the analysis of the data in the usual way. Note that when loading data in this way, LANS functions dealing with depth profiles will not be possible since the loaded dataset consists effectively only of one plane.

Quick scaling of mass and ratio images

To produce printer-ready images of secondary ion counts or their ratios in an EPS, PDF or TIF format, you need to display the images through Output → Display masses or Output → Display ratios while the Export PDF graphics option is checked. However, to optimize the appearance, you will likely need to adjust the scale in which the images are displayed. To do this quickly, type the minimum and maximum values in the corresponding scale fields and press Enter. For example, if you want display the 13C/12C ratio in the scale from 0.007 to 0.02, type [0.007 0.02] in the scale field. If you want to display the image auto-scaled, type [auto] in the corresponding scale field. Auto-scaling is then done based on the quantiles specified via Preferences → Additional output options. Note that in the Additional output options window you can also select the color map of the image. At the very end, when satisfied with the outcome, do not forget to export the results through Output → Display masses or Output → Display ratios.

Back to main

nanosims/lans_good_to_know.txt · Last modified: 2017/11/19 06:39 by lpolerec

Page Tools