httk quickstart

Install

Clone the master branch of the source code repository:

Then, every time you want to use httk, initialize the environtment with:

Structures

Load a cif file or poscar

This is a very simple example of just loading a structure from a .cif file and writing out some information about it.

Running this generates the output:

('Formula:', 'BO2Tl')
('Volume', 509.24213999999984)
('Assignments',['B', 'O', 'Tl'])
('Counts:', [8, 16, 8])
('Coords', FracVector(((1350,4550,4250) , ... , ,10000)))

Create structures in code

Databases

Create database file, store a structure in it, and retrive it

Create database file and store your own data in it