trajectory
TrajectoryObserver ¶
Bases: TextObserver
Parameters:
-
atoms(Atoms) –The ASE Atoms object to write to the trajectory file.
-
file(IO | str | Path) –The file or path to the trajectory file.
-
interval(int, default:1) –The interval at which to write the trajectory, by default 1.
-
mode(str, default:'a') –The mode in which to open the file (e.g., 'a' for append), by default "a".
-
write_kwargs(dict[str, Any] | None, default:None) –Additional keyword arguments to pass to the writing function, by default None.
-
**observer_kwargs(Any, default:{}) –Additional keyword arguments for the observer class.