This is a read-only mirror of pymolwiki.org

Difference between revisions of "Smooth"

From PyMOL Wiki
Jump to navigation Jump to search
m
 
m (3 revisions)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Overview =
+
 
 
[[Smooth]] performs a window average of coordinate states.
 
[[Smooth]] performs a window average of coordinate states.
 
   
 
   
Line 12: Line 12:
  
 
* ends = 0 or 1: controls whether or not the end states are also smoothed using a weighted asymmetric window
 
* ends = 0 or 1: controls whether or not the end states are also smoothed using a weighted asymmetric window
+
 
 +
To see smooth in context see this [http://www.pymolwiki.org/index.php/Protect#Example example]
 +
 
 
= NOTES =
 
= NOTES =
 
* This type of averaging is often used to suppress high-frequency vibrations in a molecular dynamics trajectory.
 
* This type of averaging is often used to suppress high-frequency vibrations in a molecular dynamics trajectory.
* This function is not memory efficient.  For reasons of flexibility, it uses two additional copies of every atomic coordinate for the calculation.  If you are memory-constrained in visualizing MD trajectories, hen you may want to use an external tool such as ptraj to perform smoothing before loading coordinates into PyMOL.
+
* This function is not memory efficient.  For reasons of flexibility, it uses two additional copies of every atomic coordinate for the calculation.  If you are memory-constrained in visualizing MD trajectories, then you may want to use an external tool such as ptraj to perform smoothing before loading coordinates into PyMOL.
+
 
 
= See Also =
 
= See Also =
*[[load_traj]]
+
[[Load_Traj]], [[protect]].
* To see this in action, see [[protect]].
 
  
 
[[Category:Commands|Smooth]]
 
[[Category:Commands|Smooth]]
 
[[Category:Performance|Smooth]]
 
[[Category:Performance|Smooth]]

Latest revision as of 01:22, 19 October 2015

Smooth performs a window average of coordinate states.

Usage

smooth [ selection [, passes [, window [, first [, last [, ends]]]]]]

# for example, smooth and object with 30 passes and
# a window size of 100.
smooth myObj, 30, 100
  • ends = 0 or 1: controls whether or not the end states are also smoothed using a weighted asymmetric window

To see smooth in context see this example

NOTES

  • This type of averaging is often used to suppress high-frequency vibrations in a molecular dynamics trajectory.
  • This function is not memory efficient. For reasons of flexibility, it uses two additional copies of every atomic coordinate for the calculation. If you are memory-constrained in visualizing MD trajectories, then you may want to use an external tool such as ptraj to perform smoothing before loading coordinates into PyMOL.

See Also

Load_Traj, protect.