NanoLocz

NanoLocz User Guide 1.3

Installation - - Getting Started - - Saving Data
Level - - Detect - - FineAlign - - Localize
Area Analysis - - Keyboard Shortcuts
Simulation AFM - - YouTube Video Tutorials

Saving Data

This section explains how to save data in NanoLocz. Data can either be saved/processed in bulk and for later use or by exporting the current views in the plots for figures/presentations.
1. Save or Batch Process Data
2. Export Images, Videos and Data
3. h5 and mat File Structure for NanoLocz

1. Save or Batch Process Data

The following describes saving and batch processing options so that raw and processed data can be quickly reopened in NanoLocz or other software. See section 2 for export of images / movies for publication quality figures or presentations.

Single or Batch Save

saving

Filename Generation Options

Controlled by Output Filename:

Note

Format Options

Format table

AutoSave

By turning on AutoSave - files will automatically be saved to the output folder according to the settings in Preferences. To change these setting - open the preferences window using the Cog icon or Settings option. pref

2. Exporting Images, Videos and Data

This section describes how to export data based on the current view - useful for publication quality figures, presentations, or exporting raw data in manual way. See section 1 for batch export options.

2.1 Image and Video export

Option 1:

Note: Exporting as .tiff, .csv, .txt, or .xls enables export without loss of image information whereas export as .gif, .avi, .png, .jpeg or .pdf gives movies/images at presentation or publication quality with automatic scale bars and timestamps.

Option 2 (good for creating publication quality figures or grabbing images quickly):

2.2 Analysis data export

2.3 MATLAB data export (MATLAB app only)

3. h5 and mat File Structure for NanoLocz

When data is saved in the .h5 or ‘.mat’ format, NanoLocz organizes it into a hierarchical structure. This format allows for easy access to all data components used in analysis and visualization.

Structure Overview

Each top-level field in the data struct (Data) becomes a group in the HDF5 file. Nested structures create subgroups, and each individual variable (numeric arrays, tables, strings) becomes a dataset.

📁 Typical HDF5 Layout

/Imagedata → Primary image data
/ImageInfo → Metadata about the image (e.g., pixel size, channel info)
/ref/ROIimage → Region of interest image used as a reference
/ref/simImage → Simulated reference image (if available)
/ref/LAFM → LAFM reference image (if used)
/ref/av → Averaged reference
/ImageLocs → Struct or array containing localized particle data
/LAFMLocs → Struct with LAFM localization results\

📁 Typical MATLAB Data Layout

Image Data


Particle Detection (ImageLocs)


LAFM Localizations (LAFMLocs)