|
2 | 2 | "cells": [ |
3 | 3 | { |
4 | 4 | "cell_type": "code", |
5 | | - "execution_count": 2, |
| 5 | + "execution_count": null, |
6 | 6 | "metadata": {}, |
7 | 7 | "outputs": [], |
8 | 8 | "source": [ |
|
47 | 47 | }, |
48 | 48 | { |
49 | 49 | "cell_type": "code", |
50 | | - "execution_count": 3, |
| 50 | + "execution_count": null, |
51 | 51 | "metadata": {}, |
52 | | - "outputs": [ |
53 | | - { |
54 | | - "name": "stdout", |
55 | | - "output_type": "stream", |
56 | | - "text": [ |
57 | | - "Help on method tile in module sisl.geometry:\n", |
58 | | - "\n", |
59 | | - "tile(self, reps, axis) unbound sisl.geometry.Geometry method\n", |
60 | | - " Tile the geometry to create a bigger one\n", |
61 | | - " \n", |
62 | | - " The atomic indices are retained for the base structure.\n", |
63 | | - " \n", |
64 | | - " Parameters\n", |
65 | | - " ----------\n", |
66 | | - " reps : int\n", |
67 | | - " number of tiles (repetitions)\n", |
68 | | - " axis : int\n", |
69 | | - " direction of tiling, 0, 1, 2 according to the cell-direction\n", |
70 | | - " \n", |
71 | | - " Examples\n", |
72 | | - " --------\n", |
73 | | - " >>> geom = Geometry([[0, 0, 0], [0.5, 0, 0]], sc=1.)\n", |
74 | | - " >>> g = geom.tile(2,axis=0)\n", |
75 | | - " >>> print(g.xyz)\n", |
76 | | - " [[ 0. 0. 0. ]\n", |
77 | | - " [ 0.5 0. 0. ]\n", |
78 | | - " [ 1. 0. 0. ]\n", |
79 | | - " [ 1.5 0. 0. ]]\n", |
80 | | - " >>> g = geom.tile(2,0).tile(2,axis=1)\n", |
81 | | - " >>> print(g.xyz)\n", |
82 | | - " [[ 0. 0. 0. ]\n", |
83 | | - " [ 0.5 0. 0. ]\n", |
84 | | - " [ 1. 0. 0. ]\n", |
85 | | - " [ 1.5 0. 0. ]\n", |
86 | | - " [ 0. 1. 0. ]\n", |
87 | | - " [ 0.5 1. 0. ]\n", |
88 | | - " [ 1. 1. 0. ]\n", |
89 | | - " [ 1.5 1. 0. ]]\n", |
90 | | - " \n", |
91 | | - " See Also\n", |
92 | | - " --------\n", |
93 | | - " repeat : equivalent but different ordering of final structure\n", |
94 | | - "\n" |
95 | | - ] |
96 | | - } |
97 | | - ], |
| 52 | + "outputs": [], |
98 | 53 | "source": [ |
99 | 54 | "%pdoc sisl.Geometry.tile\n", |
100 | 55 | "help(sisl.Geometry.tile)" |
|
212 | 167 | "- [Advanced 04](A04/run.ipynb) \n", |
213 | 168 | " Create a 3rd nearest neighbour graphene model." |
214 | 169 | ] |
215 | | - }, |
216 | | - { |
217 | | - "cell_type": "code", |
218 | | - "execution_count": null, |
219 | | - "metadata": {}, |
220 | | - "outputs": [], |
221 | | - "source": [] |
222 | 170 | } |
223 | 171 | ], |
224 | 172 | "metadata": { |
|
0 commit comments