Hi,
I've never come up with many good use-cases for command-line access to FRC calculation? 3-D FSC makes sense, as you need to compare 3-D reconstructions with other 3-D reconstructions or models vs maps, but when would you use it in 2-D? Are you after the curve, or just an integrated FSC as a quality metric?
The reason your command fails is that --process works with "processors" (e2help.py processors), which modify images, rather than comparing them. There is another class of operations, comparators, which is designed to compute similarity metrics between images as single values (e2help.py cmps).
If you know just a little Python, this is a trivial task to do,
im1=EMData(filename1,N)
im2=EMData(filename2,N)
fsc=im1.calc_fourier_shell_correlation(im2) # works in 2-D and 3-D, returns a single array with s,FSC,nvoxels
third=len(fsc)/3
saxis=fsc[0:third] # spatial frequencies
fscval=fsc[third:third*2] # FSC/FRC values
nvox=fsc[third*2:third*3] # number of voxels used for each value
Util.save_data(saxis[1],saxis[1]-saxis[0],fsc[1:-1],output_filename) # skips the value at the origin
If you can describe your use-case, we can certainly add an option to e2proc2d.py to do this sort of thing.
--------------------------------------------------------------------------------------
Steven Ludtke, Ph.D. <
slu...@bcm.edu> Baylor College of Medicine
Charles C. Bell Jr., Professor of Structural Biology
Dept. of Biochemistry and Molecular Biology (
www.bcm.edu/biochem)