Dear PyMOL-ers,

I have written a PyMOL extension which is useful when manipulating
multiple density maps at once.

This script creates a new window containing one slider bar for each map
currently loaded into PyMOL, and creates an isomesh object for each
map.  By moving a slider bar, the contour level of the appropriate mesh
object is changed interactively.

The script is available from my PyMOL webpage, where you can also see a
screenshot of it in action:
    http://www.ebi.ac.uk/~gareth/work/pymol

To use it, try the following PyMOL commands:

    run density_slider.py
    load any_old_map.ccp4
    load another_map.ccp4
    density_sliders

Gareth

P.S. I tried to add a button which, when clicked, would toggle the
appropriate isosurface representation between mesh and solid ... but my
Python/Tk programming leaves a lot to be desired!  Maybe there are some
gurus out there who can sort it out...?



-- 
-------------------------------------------------------------------------------
 Gareth Stockwell
 EMBL - European Bioinformatics Institute
 Wellcome Trust Genome Campus
 Hinxton
 Cambridge CB10 1SD                                         gar...@ebi.ac.uk
 Tel 01223 492548                               http://www.ebi.ac.uk/~gareth


Reply via email to