Private
Public Access
Update HDF5_Thumbnails
+18
-1
@@ -1 +1,18 @@
|
||||
Welcome to the Wiki.
|
||||
# Overview
|
||||
|
||||
Most people are familiar with thumbnail images for JPEG images that are presented by a file browser. The same system can be used for HDF5 files to help users sort and locate their data files. HDF5 files
|
||||
|
||||
|
||||
# Pixelator
|
||||
|
||||
Pixelator typically adds thumbnails to HDF5 data files after a scan has finished. This is implemented in the `insertXMP.py` script that is called from the `endOfScan` script. This is not enabled by default but is easy to set up.
|
||||
1. Copy `~/pixelator/work/stxm/PixelatorController/config/PolLux/scripts/insertXMP.py` to your `config/scripts` directory
|
||||
2. Edit your `endOfScan` script to include a call to the `insertXMP.py` script, e.g."
|
||||
```
|
||||
filename=$2
|
||||
python3 ../../PixelatorController/config/PolLux/scripts/insertXMP.py $filename
|
||||
```
|
||||
3. Edit your `settings.json` file (that is given as an argument to the Pixelator binary call) to ensure that the `endOfScanScript` parameter points to the script file above.
|
||||
|
||||
|
||||
# File Browser
|
||||
Reference in New Issue
Block a user