schrodinger.maestro_utils.surface_manager.surface_info module

class schrodinger.maestro_utils.surface_manager.surface_info.SurfaceInfo(entry_id: int = None, surface_name: str = None, surface_visible: bool = False, volume_based: bool = False, volume_name: str = None, volume_visible: bool = None, view_asl: str = None, distance: float = None, surface_area: float = None, isovalue: float = None, sigma: float = None, active_grid_size: float = None, comment: str = None, surface_type: str = None, is_paired_surface: bool = False, style: Style = None, overlay_transparency: int = 0, underside_transparency: int = 0)

Bases: object

Data class holding information about a particular surface.

Variables:
  • entry_id – Entry ID of the surface.

  • surface_name – Name of the surface.

  • surface_visible – Boolean indicating whether the surface is visible.

  • volume_based – Boolean indicating whether the surface is volume-based.

  • volume_name – Name of the volume.

  • volume_visible – Boolean indicating whether the volume is visible.

  • view_asl – ASL expression for the surface view.

  • distance – The distance between the atoms in the ASL and the outermost atoms to be displayed.

  • surface_area – Area of the surface.

  • isovalue – Isovalue of the surface if it is volume-based.

  • sigma – Sigma of the surface if it is volume-based.

  • active_grid_size – Active grid size of the surface if it is volume-based.

  • comment – Comment associated with the surface.

  • surface_type – Type of the surface.

entry_id: int = None
surface_name: str = None
surface_visible: bool = False
volume_based: bool = False
volume_name: str = None
volume_visible: bool = None
view_asl: str = None
distance: float = None
surface_area: float = None
isovalue: float = None
sigma: float = None
active_grid_size: float = None
comment: str = None
surface_type: str = None
is_paired_surface: bool = False
style: Style = None
overlay_transparency: int = 0
underside_transparency: int = 0
classmethod getSurfaceInfo(surface_node_item: SurfaceNodeItem, project: Project) SurfaceInfo

Get surface info object from a surface node item.

Parameters:
  • surface_node_item – The surface node item.

  • project – The project containing the surface.

Returns:

Corresponding surface info object.

__init__(entry_id: int = None, surface_name: str = None, surface_visible: bool = False, volume_based: bool = False, volume_name: str = None, volume_visible: bool = None, view_asl: str = None, distance: float = None, surface_area: float = None, isovalue: float = None, sigma: float = None, active_grid_size: float = None, comment: str = None, surface_type: str = None, is_paired_surface: bool = False, style: Style = None, overlay_transparency: int = 0, underside_transparency: int = 0) None