B2transparency: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
(created)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Infobox script-repo
{{Infobox script-repo
|type      = module
|type      = module
|filename  = b2transparency.py
|filename  = scripts/b2transparency.py
|author    = [[User:Speleo3|Thomas Holder]]
|author    = [[User:Speleo3|Thomas Holder]]
|license  = BSD-2-Clause
|license  = BSD-2-Clause
Line 7: Line 7:


[[b2transparency]] can set transparency settings like [[transparency]] or [[sphere_transparency]] for each atom scaled by b-factor (or any other numeric atomic property).
[[b2transparency]] can set transparency settings like [[transparency]] or [[sphere_transparency]] for each atom scaled by b-factor (or any other numeric atomic property).
[[Image:b2.png|300px]]


== Usage ==
== Usage ==

Latest revision as of 21:31, 22 June 2025

Type Python Module
Download scripts/b2transparency.py
Author(s) Thomas Holder
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

b2transparency can set transparency settings like transparency or sphere_transparency for each atom scaled by b-factor (or any other numeric atomic property).

B2.png

Usage

b2transparency [ selection [, setting [, minimum [, maximum [, var ]]]]]

Example

# some dummy molecule with increasing b-factor along the chain
fab AAAAAAAAAAAAA
alter all, b=resv

b2transparency all

as sticks
show surface

set surface_color, gray

See Also