newMolecularSurface(cls,
proj,
row,
name,
asl=None,
atoms=None,
resolution=0.5,
probe_radius=None,
vdw_scaling=1.0,
mol_surf_type=<MolSurfType.molecular: 2>,
overwrite=True)
Class Method
|
|
Create a new molecular surface for the specified project row
- Parameters:
proj (schrodinger.project.Project) - The project that this surface will be part of
row (schrodinger.project.ProjectRow) - The project row that this surface will belong to. This is the
structure that the surface will be created around.
name (str) - The name of the surface. Note that project rows require all
surfaces to be named uniquely. See overwrite .
asl (str or NoneType) - If given, the surface will only be created for atoms in the
structure that match the provided ASL. Note that only one of
asl and atoms may be given. If neither
are given, then the surface will be created for all atoms in the
structure.
atoms (list or NoneType) - An optional list of atom numbers. If given, the surface will
only be created for the specified atoms. Note that only one of
asl and atoms may be given. If neither
are given, then the surface will be created for all atoms in the
structure.
resolution (float) - The resolution of the surface, generally between 0 and 1.
Smaller numbers lead to a more highly detailed surface.
probe_radius (float) - The radius of the rolling sphere used to calculate the surface.
Defaults to 1.4 if mol_surf_type is MolSurfType.Molecular or MolSurfType.Extended . May not be given if
mol_surf_type is MolSurfType.vdw.
vdw_scaling (float) - If given, all atomic radii will be scaled by the provided value
before the surface is calculated.
mol_surf_type (MolSurfType) - The type of surface to create.
overwrite (bool) - What to do if the new surface has the same name as an existing
surface for this project row. If True, the existing surface will
be overwritten. In False, a ValueError will be raised.
- Returns: ProjectSurface
- The new surface
- Overrides:
Surface.newMolecularSurface
|