This is a read-only mirror of pymolwiki.org
Difference between revisions of "Dynamic mesh"
Jump to navigation
Jump to search
(Wizard > Density) |
m (4 revisions) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Infobox script-repo | ||
+ | |type = module | ||
+ | |filename = dynamic_mesh.py | ||
+ | |author = [[User:TakanoriNakane|Takanori Nakane]] | ||
+ | |license = BSD-2-Clause | ||
+ | }} | ||
+ | |||
'''dynamic_mesh''' displays [[isomesh]] around the center of the view. When the view is moved, the isomesh will be updated automatically. | '''dynamic_mesh''' displays [[isomesh]] around the center of the view. When the view is moved, the isomesh will be updated automatically. | ||
You can also change contour level by PageDown/PageUp keys. This script is intended to implement interface similar to Coot for examing electron density maps. | You can also change contour level by PageDown/PageUp keys. This script is intended to implement interface similar to Coot for examing electron density maps. | ||
Line 6: | Line 13: | ||
== Usage == | == Usage == | ||
− | dynamic_mesh | + | dynamic_mesh map_name [, level [, radius [, name [ sym_source ]]]] |
− | + | == Arguments == | |
− | + | * map_name = string: name of volumetric object(map) to display | |
− | + | * level = float: contour level of isomesh {default: 1.0} | |
− | + | * radius = float: radius of isomesh around the center of the view {default: 8} | |
+ | * name = string: name of mesh object {default: dynamic_mesh} | ||
+ | * sym_source = string: name of object from which symmetry information is derived {default: map_name} | ||
== Example == | == Example == | ||
Line 20: | Line 29: | ||
fetch 1HWK, 1hwk_map, type=2fofc, async=1 | fetch 1HWK, 1hwk_map, type=2fofc, async=1 | ||
run dynamic_mesh.py | run dynamic_mesh.py | ||
− | dynamic_mesh 1hwk_map | + | dynamic_mesh 1hwk_map, sym_source=1hwk |
show sticks, resn 117 | show sticks, resn 117 | ||
show ribbon | show ribbon | ||
Line 27: | Line 36: | ||
Note: On PyMOL <= 1.4, you have to download the electron density map from the Uppsala Electron Density Server manually. | Note: On PyMOL <= 1.4, you have to download the electron density map from the Uppsala Electron Density Server manually. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See Also == | == See Also == | ||
Line 139: | Line 42: | ||
* [[get_position]] | * [[get_position]] | ||
* [[Density Wizard]] | * [[Density Wizard]] | ||
+ | * [[map_auto_expand_sym]] | ||
* Coot http://lmb.bioch.ox.ac.uk/coot/ | * Coot http://lmb.bioch.ox.ac.uk/coot/ | ||
[[Category:Script_Library]] | [[Category:Script_Library]] | ||
[[Category:UI_Scripts]] | [[Category:UI_Scripts]] | ||
+ | [[Category:Pymol-script-repo]] |
Latest revision as of 01:43, 28 March 2014
Type | Python Module |
---|---|
Download | dynamic_mesh.py |
Author(s) | Takanori Nakane |
License | BSD-2-Clause |
This code has been put under version control in the project Pymol-script-repo |
dynamic_mesh displays isomesh around the center of the view. When the view is moved, the isomesh will be updated automatically. You can also change contour level by PageDown/PageUp keys. This script is intended to implement interface similar to Coot for examing electron density maps.
Note: PyMOL's Density Wizard (Menu > Wizard > Density) provides similar functionality. It is implemented using wizard framework, while this uses CallBack object.
Usage
dynamic_mesh map_name [, level [, radius [, name [ sym_source ]]]]
Arguments
- map_name = string: name of volumetric object(map) to display
- level = float: contour level of isomesh {default: 1.0}
- radius = float: radius of isomesh around the center of the view {default: 8}
- name = string: name of mesh object {default: dynamic_mesh}
- sym_source = string: name of object from which symmetry information is derived {default: map_name}
Example
fetch 1HWK, async=1
fetch 1HWK, 1hwk_map, type=2fofc, async=1
run dynamic_mesh.py
dynamic_mesh 1hwk_map, sym_source=1hwk
show sticks, resn 117
show ribbon
zoom chain A and resn 117
Note: On PyMOL <= 1.4, you have to download the electron density map from the Uppsala Electron Density Server manually.