Skip to main content

A symmetry adapted basis function (SABF) generator.

Project description

gyroid is a python package that generates symmetry adapted basis functions based on the space group of a unit cell.

Quickstart

1. Install

$ easy_install gyroid

or

$ tar -xvf gyroid-xxx.tar.gz
$ cd gyroid-xxx
$ python setup.py install

2. Usage

>>>import gyroid as gy

>>>uc = gy.UnitCell(3)
>>>group = gy.Group(3,gy.BRAVAIS,uc.shape,"Ia-3d")
>>>grid = gy.Grid(np.array([4,4,4]),group)
>>>basis = gy.Basis(group,grid)

>>>render_structure_3d(basis,32,32,32,1.0)

Ask for Help

Project details


Download files

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

Source Distribution

gyroid-0.1.tar.gz (654.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page