Use e2proc2d.py script to bin the super-resolution movie file

348 views
Skip to first unread message

王宁

unread,
Jun 23, 2022, 12:25:10 AM6/23/22
to EMAN2
Hi everyone,

      I have a question about how to use e2proc2d.py script to bin the movie file with tif format,  to generate the mrc format file finally. I know that someone suggested to use this script, however, I don't know how to use the option for image bin.  Here is my command: 
e2proc2d.py  **.tif  **.mrc --medianshrink 2,   I want to bin 2 for movie files.  Is it right? any suggestions are wellcome, thanks advance!


  Ning

Ludtke, Steven J.

unread,
Jun 23, 2022, 8:50:29 AM6/23/22
to em...@googlegroups.com
Start with
e2proc2d.py --help

mirroring one of the examples in the help:

e2proc2d.py *.tif @.mrcs --medianshrink 2

".mrcs" rather than ".mrc" is necessary to tell EMAN2 that you intend the MRC file to contain a stack of 2-D images rather than a 3-D volume. The contents of the file are identical in the 2 cases, and you can freely rename the .mrcs files to .mrc later if you like.

There are 3 methods for downsampling data:
--medianshrink  (performs a block median filter)
--meanshrink (perfoms a block average)
--fouriershrink (downsamples by Fourier truncation)

for most purposes --fouriershrink is probably the best choice as it will prevent aliasing of high frequency components back into lower resolution, but there are also arguments to be made for the other two methods.


--------------------------------------------------------------------------------------
Steven Ludtke, Ph.D. <slu...@bcm.edu>                      Baylor College of Medicine
Charles C. Bell Jr., Professor of Structural Biology        Dept. of Biochemistry 
Deputy Director, Advanced Technical Cores                   and Molecular Biology
Academic Director, CryoEM Core
Co-Director CIBR Center



--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2

---
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/52fc8132-b499-49cc-9c97-bf1d9ef83d4cn%40googlegroups.com.

王宁

unread,
Jun 23, 2022, 9:32:30 AM6/23/22
to EMAN2
Thanks for your detailed suggestions. I just use the mrc file to train the topaz denoised model. Yes, it works!  

Best wishes,

Ning

Reply all
Reply to author
Forward
0 new messages