ImageD11.sym_u | index /sware/exp/fable/standalone/redhate4-a64/lib/python2.5/site-packages/ImageD11/sym_u.py

`## Automatically adapted for numpy.oldnumeric Sep 06, 2007 by alter_code1.py`

Modules
`` |  |
logging | numpy |  |

Classes
`` |  | group trans_group
class group
`` | `An abstract mathematical finite(?) point rotation groups`
| Methods defined here: __init__(self, tol=1.0000000000000001e-05) `Basic group is identity tol is for numerical comparison of group membership` additem(self, item) `add a new member` comp(self, x, y) `Compare two things for equality` isMember(self, item) `Decide if item is already in the group` makegroup(self) `ensure all items = op(x,y) are in group` op(self, x, y) `Normally multiplication ? Means of generating new thing from two others`
class trans_group(group)
`` | `Translation group (eg crystal lattice) FIXME - this is mostly done in lattice_reduction.py instead now`
| Methods defined here: __init__(self, tol=1.0000000000000001e-05) `Identity is to not move at all` additem(self, x) `Do lattice reduction before adding as infinite group` isMember(self, x) mod(self, x, y) `Remove y from x to give smallest possible result Find component of x || to y and remove it` op(self, x, y) `Means of generating new thing from two others In this case add them and mod by group members` reduce(self, v) `Perform lattice reduction` Methods inherited from group: comp(self, x, y) `Compare two things for equality` makegroup(self) `ensure all items = op(x,y) are in group`

Functions
`` |  | cubic() find_uniq_u(u, grp, debug=0, func=<function trace at 0x2a98d2cf50>) generate_group(*args) getgroup(s) `convert a user supplied string to a group ... a little vague still` hexagonal() `P6 168` m_from_string(s) `Creates a symmetry operator from a string` monoclinic_a() monoclinic_b() monoclinic_c() orthorhombic() `P222 16` test() tetragonal() `P4 75` triclinic() trigonal() `P3 143`

Data
`` |  | DEBUG = False