nanophotonics / nplab

Core functions and instrument scripts for the Nanophotonics lab experimental scripts
GNU General Public License v3.0
38 stars 15 forks source link

reconstruct_tiled_image generates NaNs #62

Open rwb27 opened 7 years ago

rwb27 commented 7 years ago

(from Will) When the reconstruct_tiled_image function (from within camera with loc) calculates displacements it occasionaly gets NaN values which inherently causes problems down the line. What do you think the best solution to this is?

eoinell commented 4 years ago

Increasing the exposure can 'fix' this

wdeacon commented 3 years ago

That's probably just making the problem less likely, if this is just failed image correlations I think we should just to raise a custom error and state this?