![]() ![]() ![]() ![]() points3d ( atoms_x, atoms_y, atoms_z, scale_factor = 3, resolution = 20, color = ( 1, 0, 0 ), scale_mode = 'none' ) H1 = mlab. clf () # The position of the atoms atoms_x = np. read ()) # Plot the atoms and the bonds # import numpy as np from mayavi import mlab mlab. exists ( 'h2o-elf.cube' ): # Download the data try : from urllib import urlopen except ImportError : from urllib.request import urlopen print ( 'Downloading data, please wait' ) opener = urlopen ( '' ) open ( 'h2o-elf.cube', 'wb' ). # Retrieve the electron localization data for H2O # import os if not os. # Author: Gael Varoquaux # Copyright (c) 2008-2020, Enthought, Inc.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |