Installation - - Getting Started - - Saving Data
Level - -
Detect - -
FineAlign - -
Localize
Area Analysis - - Keyboard Shortcuts
Simulation AFM - - YouTube Video Tutorials
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
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.
Controlled by Output Filename:
Note
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.
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.
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):
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.
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.
/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\
Data.Imagedata
→ The primary image data array.
Data.ImageInfo
→ Metadata about the image, including:
ImageLocs
)Data.ImageLocs
→ A struct containing detected particle data.
Data.ImageLocs.Locs
→ A table where each row corresponds to a detected particle. Columns:
x
— x-coordinatey
— y-coordinatez
— heightccr
— cross-correlation valueFrame
— frame numberid
— unique particle IDTrack id
— tracking ID (for tracked particles)Angle
— orientation angleLAFMLocs
)Data.LAFMLocs
→ A struct containing LAFM localization results.
Data.LAFMLocs.Locs
→ A table where each row corresponds to a localization event. Columns:
x
— x-coordinatey
— y-coordinatez
— heightPeak Prominence
— peak prominenceParticle
— particle IDFrame
— frame numberTime
— time pointccr
— cross-correlation valuePT Cloud RMSE
— point cloud root-mean-square errorError
— localization error estimate