Project

General

Profile

Actions

Bug #3960

open

CTF estimation resmax parameter get modified in a run mixed with and without bestctf

Added by Anchi Cheng almost 9 years ago. Updated almost 9 years ago.

Status:
In Code Review
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
02/17/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.2
Show in known bugs:
No
Workaround:

Description

For example, If we have two images in the session, the first image image1.mrc has a successful previous ctf run, image2.mrc failed in previous run, then --bestctf causes the following problem.

This part of ctffind4.py code redefined self.params['resmax'] while running image1.mrc

      if gmean < self.params['resmin']*0.9:
        # replace only if valid Issue #3291
        self.params['resmax'] = round(gmean,2)
        apDisplay.printColor("Setting resmax to the geometric mean of resolution values", "purple")

Therefore, when image2.mrc is processed, resmax is at lower resolution than the original user definition.

This problem get worse next time a bestctf is found. Making resmax become lower and lower.

This bug is in at lease ctffind4.py and ctfestimate.py

attached is a pair of image that if you upload alternatively, you may get the error of ctffin4 floating point divide by zero in ctffin4

pixelsize 2.816 A
ht 200 kV
cs 2.0 mm

Use myamiweb defaults.


Files

image1.mrc (16 MB) image1.mrc Anchi Cheng, 02/17/2016 11:27 PM
image2.mrc (16 MB) image2.mrc Anchi Cheng, 02/17/2016 11:27 PM

Related issues 2 (1 open1 closed)

Related to Appion - Bug #3906: CTF estimation resmax parameter get modified in a run mixed with and without bestctfIn TestHui Wei01/26/2016

Actions
Related to Appion - Bug #3491: ctffind4.py resmax larger than resminClosed08/31/2015

Actions
Actions

Also available in: Atom PDF