Cartoon smooth loops: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
[[Image:Smooth.JPG|frame|set cartoon_smooth_loops,1 : the cartoon is straighter but less conservative|center]]
[[Image:Smooth.JPG|frame|set cartoon_smooth_loops,1 : the cartoon is straighter but less conservative|center]]


===Sticks and Cartoons===
===Sticks and Smooth Loops===
When '''cartoon_smooth_loops''' is turned '''on''' and sticks are shown for some residue selection, often times the sticks don't touch the backbone or cartooned elements.  To fix this, turn this setting '''off'''.  See the images below for an example.
When '''cartoon_smooth_loops''' is turned '''on''' and sticks are shown for some residue selection, often times the sticks don't touch the backbone or cartooned elements.  To fix this, turn this setting '''off'''.  See the images below for an example.



Revision as of 09:40, 20 September 2006

Overview

This is a display setting. When set to off, the cartoon will follow a path that is splined between each alpha carbons. This sometimes yields representations that are pretty frizzy. Turning this setting on will make the cartoon follow a smoother (but less conservative) path so that the representation is easier on the eyes. Use with caution, since false conclusions can be drawn by solely examining a smoothed cartoon trace. It is always best (for non-representation purposes) to also have a line trace so that the backbone is precisely located.

set cartoon_smooth_loops,0 : the cartoon passes through each alpha-carbon
set cartoon_smooth_loops,1 : the cartoon is straighter but less conservative

Sticks and Smooth Loops

When cartoon_smooth_loops is turned on and sticks are shown for some residue selection, often times the sticks don't touch the backbone or cartooned elements. To fix this, turn this setting off. See the images below for an example.


Also, of note for this problem is Cartoon_flat_sheets.

Syntax

turn on:

set cartoon_smooth_loops, 1

turn off:

set cartoon_smooth_loops, 0

Additional remarks

I do not know precisely how the smoothed trace is generated, probably by some splining mode. Could someone more knowledgeable than me edit to be more precise ?