[cctbxbb] Miller arrays from lists of indices
Pavel Afonine
pafonine at lbl.gov
Mon Oct 6 17:50:05 PDT 2014
Hi Oliver,
for example:
from cctbx.array_family import flex
x = [(1,2,3),(4,5,6)]
mi = flex.miller_index(x)
xs = crystal.symmetry((3,4,5), "P 2 2 2")
ms = miller.set(xs, mi)
Pavel
On 10/6/14 5:24 PM, Oliver Zeldin wrote:
> Dear cctbx devs,
>
> Does anyone know how to make a miller set from a list of (h, k, l)
> indices?
>
> e.g. [(1,2,3), (34, 1, 45), .... ]
>
> Cheers,
>
> Oliver
>
> --
> Dr. Oliver B. Zeldin
> Brunger Group
> Stanford University
>
>
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20141006/159d0fae/attachment.htm>
More information about the cctbxbb
mailing list