Skip to content

Getting started

Leo Burgy edited this page Oct 3, 2017 · 1 revision

Look@NanoSIMS can be run on a variety of operating systems, including Linux, Microsoft Windows and Mac OS X. It requires core Matlab installation and the ac- companying Image Processing and Statistical Toolboxes (minimum version 7.11, R2010b). Furthermore, to allow export of images and data in PDF format, it requires installation of LATEX, a freely available text-processing program. To display EPS and PDF output files generated by the program, it is recommended to use freeware programs Ghostview and Acrobat Reader.

Installation under Linux

  1. Install the TEX/LATEX distribution for your Linux system.
  2. Install Ghostscript and one of the common viewers of EPS and PDF files (e.g., gv, acroread, evince).
  3. Purchase Matlab together with the Image Processing and Statistical Toolboxes from Mathworks (www.mathworks.com) and install them on your computer.
  4. Download the Look@NanoSIMS distribution file from

Installation under Mac OS X

  1. Install the TEX/LATEX distribution (www.tug.org/mactex/).
  2. Install Ghostscript and one of the common viewers of EPS and PDF files (note that these might be installed by default on your Mac).
  3. Purchase Matlab together with the Image Processing and Statistical Toolboxes from Mathworks (www.mathworks.com) and install them on your computer. Download the Look@NanoSIMS distribution file from http://www.microsen-wiki.net/doku.php?id=lans and extract its content in a directory with read/write access rights (e.g., /home/user/programs/LANS/matlab).
  4. Read the notes in the lookatnanosims.m file to modify system-specific settings (e.g. paths to pdflatex and ghostscript).

Installation under Microsoft Windows

  1. Download the MikTeX distribution of TEX/LATEX from miktex.org/ and install it on your computer.
  2. Download Ghostscript and GSview from pages.cs.wisc.edu/~ghost/ and Adobe Acrobat Reader from www.adobe.com, and install them on your computer.
  3. Purchase Matlab together with the Image Processing and Statistical Toolboxes from Mathworks (www.mathworks.com) and install them on your computer.
  4. Download the Look@NanoSIMS distribution file from http://www.microsen-wiki.net/doku.php?id=lans and extract its content in a directory with read/write access rights (e.g., c:\programs\LANS\matlab).

Updating Look@NanoSIMS

When updating the Look@NanoSIMS program, all you need to do is to download the updated distribution file (see Installation instructions above) and extract its content in the same directory where you have your older version, overwriting the older files. Naturally, it is wise to keep a back-up of the older version, just in case. This is especially true for the lookatnanosims.m file under Mac OS X, which contains settings adjusted for your system. Alternatively, you can join the lookatnanosims folder at www.dropbox.com and have the files automatically updated by the Dropbox program. Please send an e-mail to LP to be invited to join the folder.

Adjusting graphical output appearance

The appearance of the graphical output exported in the EPS and PDF format may also depend on the platform or the Matlab version used. In particular, the size of the text labels (e.g., axes labels, title text) relative to the size of the graph/image itself may appear too large or too small. This can be adjusted by modifying the PaperPosition property of the exported figures in the file fnc/print_figure.m.

The ”total number of scanned planes: 0” problem

The mass counts on some (newer?) systems are stored as ushort (16-bit unsigned inte- ger), whereas on some (older?) systems they are stored as uint8 (8-bit unsigned integers). Perhaps this is because of the differences between the 32-bit and 64-bit operating systems that run the Cameca instrument, but it is not sure. Therefore, if you experience problems with loading a file, e.g. the program tells you that there are 0 planes in your file, it may well be that this is the cause. In that case, open the file read im file.m in the fnc directory and change if 1 to if 0 on line 12 (or so). Then save it and continue as before. If this does not help, please contact LP.