leginon-org / leginon-redmine-archive

1 stars 0 forks source link

Add support for DE cameras for motioncorr2 #5157

Open leginonbot opened 7 months ago

leginonbot commented 7 months ago

Author Name: Scott Stagg (Scott Stagg) Original Redmine Issue: 5157, https://emg.nysbc.org/redmine/issues/5157 Original Date: 2017-08-18 Original Assignee: Scott Stagg


DE frames are not currently supported for motioncorr2. Need to flat field corrrect frames before passing off to motioncorr2. Many tools added, including a modification to image fun to make some basic image manipulations independent of any db stuff and work just on numpy arrays.

leginonbot commented 7 months ago

Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2017-08-22T03:03:43Z


7a872a98 debug to make it works for other cameras. ba17dac0 adds new function to signal if there is non-zero dark.

apDDprocess.DDFrameProcessing.correct_dark_gain does not refers to doing it with cpu or gpu. It simply means that the input frames are not dark/gain corrected and therefore requires correction.

The new function is more specific. When counting mode is used for DE-64. it can be used to return False when it is ocunting in apDEprocess.py