Table of Contents

Class: Hits interface/csd.py

Class behaving a bit like a list of Hit() objects.

Methods   
__getitem__
__init__
__len__
refcodlist
report
writegcd
  __getitem__ 
__getitem__ ( self,  i )

Imitate a list.

  __init__ 
__init__ ( self,  list )

Constructor.

parameter:

list

python list of Hit() objects.

  __len__ 
__len__ ( self )

Imitate a list.

  refcodlist 
refcodlist ( self )

A list of refcodes

  report 
report ( self,  wide=0 )

A string giving some information on all hits formulated as a result of a unit cell query.

  writegcd 
writegcd ( self,  filename='collect.gcd' )

Write all refcodes to a virtual database.

parameters:

filename

the output file name. Conventionally, this should have a .gcd extension.


Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING