On 23/06/16 16:38, Oliver Clarke wrote:
> Hi Ali,
>
> In addition to the excellent advice from Martyn and Paul, I would suggest that you make 100% sure that you are in the right spot - if your map is in a large P1 cell and you don't have a model, it can sometimes be hard to find where your density ought to be (as the default view will be centered on the origin).
>
> I use the following function (attached to a menu item) as a shortcut to go to the center of the scrollable map:
>
> def goto_center_of_map():
> if (scroll_wheel_map()==-1):
> info_dialog("You need a map!")
> else:
> mol_id=scroll_wheel_map()
> a=float(cell(mol_id)[0])
> b=float(cell(mol_id)[1])
> c=float(cell(mol_id)[2])
> x=a*0.5
> y=b*0.5
> z=c*0.5
> set_rotation_centre(x,y,z)
>
> (The rest of my custom bits and pieces are here: https://www.dropbox.com/s/0b4bebwxw0p9x0e/oli_custom.py?dl=0)
FYI:
https://github.com/pemsley/coot/commit/7298a2294a1396367c5897019420fb39114e40e1
Recentre am EM map if it is the 0th molecule.
|