viperleed / viperleed-imagej

ViPErLEED-ImageJ is a collection of ImageJ plugins for spot tracking and intensity evaluation as well as selection and editing of I(V) curves created by the Spot Tracker.
Other
1 stars 0 forks source link

Spot tracker: 'IVcurves.csv' is empty #5

Closed PhilippW1111 closed 2 years ago

PhilippW1111 commented 2 years ago

I used the Spot tracker and exported the results. Unfortunately, the file 'IVcurves.csv' is empty every time.

Here are the data I used: https://drive.google.com/drive/folders/1g5VKPdfWo55Gpztxf6XqE8K0-w9ClsFU?usp=sharing

schmid-iap commented 2 years ago

Hi Phillipp,

there is one trivial case that can create an empty IVcurves.csv file: If there are no curves that could be successfully tracked. I'll see whether I can prevent saving in such a case.

There is also a possibility that there are only NaNs (not a number values) in a the ...IVcurves.csv: If I0 smoothing is set to a number of points that is larger than the number of data points (=number of images in the stack), the smoothed I0 values become NaN, and so do the intensities after division by I0. The ...rawInt.csv are not affected in that case. This bug will be fixed in the next release, when a new smoothing algorithm will be implemented.

Concerning NaN values, there is also a bug in several recent ImageJ versions; it should be fixed tomorrow, I hope (Help>Update ImageJ). The bug was present since version 1.53m. This bug can make the plots in the I(V) Curve Editor invisible, by setting the y axis range to NaN. In some recent versions it can also cause an exception.

There are a few problems with your data set:

By the way, what is the structure? It looks a bit like a (7x7), but a (7x7) grid does not really fit. Even if I define all the integer spots at the highest energy, I need to increase the search radius to get all spots. In my experience, this only happens if the pattern is incorrect, or if the grids of the LEED screen are badly bent. Is it incommensurate (some moiré)?

--Michael