schrodinger.trajectory.trajectoryviewer module¶
- schrodinger.trajectory.trajectoryviewer.has_player_toolbar()[source]¶
- Return type
bool
- Returns
True if player toolbar instance is already created.
- schrodinger.trajectory.trajectoryviewer.has_snapshot_panel()[source]¶
- Return type
bool
- Returns
True if snapshot panel instance is already created.
- schrodinger.trajectory.trajectoryviewer.get_player_toolbar()[source]¶
Return trajectory player toolbar or None if desmond is not available.
- schrodinger.trajectory.trajectoryviewer.include_only_entry(eid: int, unlock_locked_entries: bool)[source]¶
Include only given entry and exclude all other entries depending on unlocked locked entries option value.
- Parameters
eid – Entry id to be included only.
unlock_locked_entries – True if locked entries should be unlocked before including specified entry.
- schrodinger.trajectory.trajectoryviewer.include_and_show_trajectory(eid: int, include_only: bool, unlock_locked_entries: bool)[source]¶
Include only given trajectory entry and display trajectory player.
- Parameters
eid – Trajectory entry id.
include_only – Exclude all other entries and include only given trajectory entry.
unlock_locked_entries – Unlock locked entries if it is True.
Note caller must pass valid trajectory entry id present in the project.
- schrodinger.trajectory.trajectoryviewer.include_and_show_trajectory_snapshot(eid: int, include_only: bool)[source]¶
Include only given trajectory entry and display trajectory snapshot panel.
- Parameters
eid – Trajectory entry id.
include_only – Exclude all other entries and include only given trajectory entry.
Note caller must pass valid trajectory entry id present in the project.
- schrodinger.trajectory.trajectoryviewer.setup_snapshot_panel(player_visible: bool)[source]¶
Setup snapshot panel and show it.
- Parameters
player_visible – True if player is visible.
- schrodinger.trajectory.trajectoryviewer.setup_player_toolbar(eid, visible: bool)[source]¶
Setup player toolbar using given trajectory entry id.
- Parameters
eid – Trajectory entry id.
Note caller must pass valid trajectory entry id present in the project.