Slice: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
		
	
| mNo edit summary | mNo edit summary | ||
| Line 32: | Line 32: | ||
| == NOTES == | == NOTES == | ||
| Occasionally mis-identified as "slice_map" in documentation. [[slice | Occasionally mis-identified as "slice_map" in documentation. [[Category:Commands|slice]] or [[Category:Commands|slice_new]] is the correct command. | ||
| == SEE ALSO == | == SEE ALSO == | ||
| Line 39: | Line 39: | ||
| == References == | == References == | ||
| * PyMOL Source code | * PyMOL Source code | ||
| [[Category:Commands|Slice]] | [[Category:Commands|Slice]] | ||
| [[Category: | [[:Category:Maps|Slice]] | ||
Revision as of 13:33, 16 March 2011
slice creates a slice object from a map object.
USAGE
slice_new name, map, [opacity, [resolution, [state, [source_state]]]]
or
slice name, map, [opacity, [resolution, [state, [source_state]]]]
ARGUMENTS
- name = the name for the new slice object (string)
- map = the name of the map object to use for computing the slice (string)
- opacity = opacity of the new slice (default=1 [opaque])
- resolution = the number of pixels per sampling (default=5)
- state = the state into which the object should be loaded (default=1; set state=0 to append new mesh as a new state)
- source_state = the state of the map from which the object should be loaded (default=0)
EXAMPLES
 
# Create a map slice plane perpendicular to current view
slice_new my_new_slice_1, my_map
PYMOL API
 
cmd.slice_new(string slice_name, string map_name, integer opacity=1, integer resolution=5, integer state=0, integer source_state=0)
NOTES
Occasionally mis-identified as "slice_map" in documentation. or is the correct command.
SEE ALSO
References
- PyMOL Source code