File: tools.rst

package info (click to toggle)
python-ase 3.26.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,484 kB
  • sloc: python: 148,112; xml: 2,728; makefile: 110; javascript: 47
file content (90 lines) | stat: -rw-r--r-- 2,852 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
=====
Tools
=====

Graphs
------

Allows to graph different quantities for a given trajectory. A 'save' button
also gives the opportunity to save the data to file.

This example plots the maximal force for each image i and could help in
investigating the convergence properties for relaxations:

::

  i, e-min(E), fmax

These are the symbols that can be used:

================ ==================================================
 Symbol          Interpretation
================ ==================================================
e                total energy
epot             potential energy
ekin             kinetic energy
fmax             maximum force
fave             average force
d(n1,n2)         distance between two atoms
R[n,0-2]         position of atom number n
i                current image number
E[i]             energy of image number i
F[n,0-2]         force on atom number n
M[n]             magnetic moment of atom number n
A[0-2,0-2]       unit-cell basis vectors
s                path length
a(n1,n2,n3)      tangle between atoms n1, n2 and n3, centered on n2
dih(n1,n2,n3,n4) dihedral angle between n1, n2, n3, and n4
T                temperature (requires velocity)
================ ==================================================


Movie
-----

Allows to play the current trajectory as a movie using a number of
different settings. Default duration is 5 s.


Constraints
-----------

Allows to set (or remove) constraints based on the currently selected atoms.


Render scene
------------

(Currently disabled)

Graphical interface to the ASE povray interface, ideally it requires
that povray is installed on your computer to function, but it also can
be used just to export the complete set of povray files.

The texture of each atom is adjustable: The default texture is applied
to all atoms, but then additional textures can be defined based on
selections (``Create new texture from current selection``). These can
be obtained either from selecting atoms by hand or by defining a
selection with a boolean expression, for example ``Z==6 and x>5 and
y<0`` will select all carbons with coordinates x>5 and y<0. The
available commands are listed in the ``Help on textures`` window.

A movie-making mode (``render all N frames``) is also available. After
rendering, the frames can be stitched together using the ``convert``
unix program e.g.

::

    localhost:doc hanke$ convert -delay 4.17 temp.*.png temp.gif

For this particular application it might be a good idea to use a white
background instead of the default transparent option.


Move atoms
----------

Allows selected atoms to be moved using the arrow keys. The direction
is always parallel to the plane of the screen. Two possible movements
are available: Just pressing the arrow keys will move by 0.1
Angstrom, ``shift`` + arrow keys will move by 0.01 Angstrom.