Skip to main content

A grid lattice sample generator

Project description


A lattice generator part of the vegas software initiative, it provides the esential routines to generate regular graph lattices in linear time, as well as some cuts of those lattices for nano particles and randomly depleted lattices.


The vegas-lattice program has been tested in python 3.4 and 3.5 to work properly, you can install the package from the python package index using the following command:

pip install vegas-lattice   # this might require sudo

After that the vegas-lattice command should be available to your command prompt.

Feel free to use the descriptor files provided in the docs directory to do some tests, and also to run

vegas-lattice --help

to get some instructions in how to use the program.


The vegas-lattice package currently features three main routines:

  • bulk creates a cubic lattice with the specified periodic boundary conditions.
  • nanoparticle creates a spherical nanoparticle of the given diameter.
  • depleted creates a bulk lattice with random site depletion.
  • describe bootstraps a descriptor file using a simple site list.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vegas-lattice, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size vegas-lattice-0.4.0.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page