generate 3d mask of ellipsoid shape

381 views
Skip to first unread message

kmani

unread,
Aug 20, 2013, 9:23:07 AM8/20/13
to em...@googlegroups.com
Hi,

How to make a 3d mask of ellipsoid in EMAN2?

thanks

with kind regards

Mani.

Paul Penczek

unread,
Aug 20, 2013, 11:29:56 AM8/20/13
to em...@googlegroups.com
from sparx import *

g = model_gauss(sigmax, nx, ny, nz)

see:



From: kmani <manikandan....@gmail.com>
To: em...@googlegroups.com
Sent: Tuesday, August 20, 2013 8:23 AM
Subject: [EMAN2] generate 3d mask of ellipsoid shape

--
--
----------------------------------------------------------------------------------------------
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.
For more options, visit https://groups.google.com/groups/opt_out.


Ludtke Steven

unread,
Aug 20, 2013, 11:38:31 AM8/20/13
to em...@googlegroups.com
In EMAN2 parlance, you can use the

mask.gaussian.nonuniform processor, eg:

e2proc3d.py map.hdf masked.hdf --process=mask.gaussian.nonuniform:radius_x=30:radius_y=20:radius_z=10

but this is a gaussian falloff, not a 'sharp' elliptical mask. Not sure what Pawel's response does either...

Can you clarify exactly what you're after ?
----------------------------------------------------------------------------
Steven Ludtke, Ph.D.
Professor, Dept of Biochemistry and Mol. Biol.         (www.bcm.edu/biochem)
Co-Director National Center For Macromolecular Imaging        (ncmi.bcm.edu)
Co-Director CIBR Center                          (www.bcm.edu/research/cibr)
Baylor College of Medicine                             





Manikandan Karuppasamy

unread,
Aug 21, 2013, 3:35:54 AM8/21/13
to em...@googlegroups.com
Hi Stefen,

We would like to make a 3d (binary) mask of ellipsoid shape for refinement purpose. Our molecule is elongated in one direction (and a spherical mask includes more noise in other two directions).

with kind regards

Mani.

Ludtke Steven

unread,
Aug 21, 2013, 8:40:42 AM8/21/13
to em...@googlegroups.com
Hi. Are you refining in EMAN2 or SPARX ?   EMAN2's refinement script intentionally lacks an option to impose a specific binary mask during refinement.

Rather, EMAN2 makes use of autogenerated masks based on the shape of your particle, rather than geometric masks (spheres, ellipsoids, etc.). A "hard" mask (one that goes suddenly from 1.0 to 0.0) can induce significant model/noise bias, and exaggerate resolutions (due to mask correlation effects). The automask EMAN2 generates has a soft edge, which limits the effect of mask correlation and bias, and is generated directly from the data in each iteration. The new e2refine_easy.py refinement strategy in the pre-release of 2.1 takes this a step further with 'gold standard' refinement (halves of the data set are refined completely independently). In any case, neither the old nor new refinement strategies permit the user to define a fixed mask of any shape.
Reply all
Reply to author
Forward
0 new messages