[cctbxbb] Miller array by index

James Stroud xtald00d at gmail.com
Wed Mar 27 23:56:27 PDT 2013


Hello All,

I ask this question mostly out of curiosity, but what is the most direct way to access the value for a Miller index?

The best I can do is the method below, but it seems rather indirect.

James


py> miller 
<cctbx.miller.array at 0x107bfa290>
py> idx = (0, 0, 2)
py> miller.select_indices([idx]).data()[0]
(-26338.974329482127+0j)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20130328/1d3f5848/attachment.htm>


More information about the cctbxbb mailing list