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.2.tar.gz (658.4 kB view details)

Uploaded Source

File details

Details for the file gyroid-0.2.tar.gz.

File metadata

  • Download URL: gyroid-0.2.tar.gz
  • Upload date:
  • Size: 658.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gyroid-0.2.tar.gz
Algorithm Hash digest
SHA256 ea9f2f59edcaaac0494951cf00c1bde3d0dd3973150dad644a41e961b642d552
MD5 d075476f17144b38957507db4d60a9aa
BLAKE2b-256 2e17b98dc03dc239a6f4bb4c29743561d8dedbdd7f9711716009957ae57bf36a

See more details on using hashes here.

Supported by

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