molsysmt.third_party.nglview.standardize_view#

molsysmt.third_party.nglview.standardize_view(view, atom_indices='all', structure_indices='all')[source]#

Applying standardized camera perspective and background rendering settings to an NGLWidget view.

Parameters:
  • view (nglview.NGLWidget) – Target molecular viewer instance.

  • atom_indices (int, list, tuple, or numpy.ndarray, default='all') – Atom indices (0-based) to include.

  • structure_indices (int, list, tuple, or numpy.ndarray, default='all') – Structure indices (0-based) to include or process.

  • versionadded: (..) – 1.0.0: