trajectory

Bindings for protocols::trajectory namespace

class pyrosetta.rosetta.protocols.trajectory.DbTrajectoryReader

Bases: pybind11_object

get_iterations(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryReader) pyrosetta.rosetta.utility.vector1_unsigned_long

Return a vector listing every iteration recorded for this job.

C++: protocols::trajectory::DbTrajectoryReader::get_iterations() const –> class utility::vector1<unsigned long, class std::allocator<unsigned long> >

get_num_iterations(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryReader) int

Return the number of iterations that were recorded for this job.

C++: protocols::trajectory::DbTrajectoryReader::get_num_iterations() const –> unsigned long

get_pose(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryReader, iteration: int) pyrosetta.rosetta.core.pose.Pose

Return the pose recorded for the given iteration.

C++: protocols::trajectory::DbTrajectoryReader::get_pose(unsigned long) const –> class core::pose::Pose

get_poses(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryReader) pyrosetta.rosetta.utility.vector1_core_pose_Pose

Return all the poses contained in this trajectory.

C++: protocols::trajectory::DbTrajectoryReader::get_poses() const –> class utility::vector1<class core::pose::Pose, class std::allocator<class core::pose::Pose> >

set_job_id(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryReader, job_id: int) None

Set the job id. This controls which records are selected.

C++: protocols::trajectory::DbTrajectoryReader::set_job_id(unsigned long) –> void

class pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter

Bases: pybind11_object

class Frame

Bases: pybind11_object

assign(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter.Frame, : pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter.Frame) pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter.Frame

C++: protocols::trajectory::DbTrajectoryWriter::Frame::operator=(const struct protocols::trajectory::DbTrajectoryWriter::Frame &) –> struct protocols::trajectory::DbTrajectoryWriter::Frame &

property iteration
property pose
finalize(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter) None

Make sure any cached poses have been saved.

C++: protocols::trajectory::DbTrajectoryWriter::finalize() const –> void

set_cache_limit(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter, setting: int) None

Specify the number of poses that can be cached.

C++: protocols::trajectory::DbTrajectoryWriter::set_cache_limit(unsigned long) –> void

set_frequency(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter, setting: int) None

Specify that a pose should be saved once every N iterations.

C++: protocols::trajectory::DbTrajectoryWriter::set_frequency(unsigned long) –> void

update(self: pyrosetta.rosetta.protocols.trajectory.DbTrajectoryWriter, pose: pyrosetta.rosetta.core.pose.Pose) None

Add the given pose to the trajectory being saved.

C++: protocols::trajectory::DbTrajectoryWriter::update(const class core::pose::Pose &) –> void