Skip to content

Commit 86f804a

Browse files
committed
Fixing mistake in docs
1 parent 71c3ad9 commit 86f804a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/symmetry_adapted_basis.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,16 @@ visualization of the resulting SALCs.
188188
# 8) Visualize symmetry-adapted basis functions (SALCs)
189189
# as real-space contour plots
190190
# --------------------------------------------------------------------------
191+
# simple hack to visualize the basis functions
192+
res_salc['orbc'] = np.identity(res_salc['orbc'].shape[0])
193+
# custom defined planes
194+
planes = ['yz'] * res_salc['orbc'].shape[0]
195+
planes[8] = 'xy'
196+
planes[9] = 'xz'
191197
ContourPlotter.build_contourplot(
192198
res=res_salc,
193199
filename="ethylene_salcs_yz.png",
194-
plane="yz",
200+
plane=planes,
195201
sz=5.0,
196202
npts=101,
197203
nrows=2,

0 commit comments

Comments
 (0)