<div dir="ltr">Thanks! common_sets is what I wanted of course. Then fc.amplitudes().data() is comparable to fobs.data()<div><br></div><div>Cheers<br clear="all"><div><div dir="ltr" class="gmail_signature">-- David<br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 14 Aug 2018 at 11:54, <a href="mailto:Graeme.Winter@Diamond.ac.uk">Graeme.Winter@Diamond.ac.uk</a> &lt;<a href="mailto:Graeme.Winter@diamond.ac.uk">Graeme.Winter@diamond.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI David<br>
<br>
dials/command_line/rfactor.py contains some useful hints - you want to work with miller arrays and common sets<br>
<br>
All the best Graeme<br>
<br>
<br>
<br>
&gt; On 14 Aug 2018, at 11:37, David Waterman &lt;<a href="mailto:dgwaterman@gmail.com" target="_blank">dgwaterman@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt; Hi all,<br>
&gt; <br>
&gt; I have a script that extracts Fobs and Fcalc from an MTZ file produced by Refmac for some analysis. I was just doing this in a trivial way:<br>
&gt; <br>
&gt;       fobs = m.extract_reals(&quot;F&quot;).data<br>
&gt;       fc = m.extract_reals(&quot;FC_ALL&quot;).data<br>
&gt; <br>
&gt; and this worked fine, until I came across a file with missing observations, so that the lengths of fobs and fc do not match.<br>
&gt; <br>
&gt; Can anybody advise a better way to do this please? I&#39;m inexperienced with iotbx.mtz. I don&#39;t need anything other than the values of the structure factors, but I need each element of fobs and fc to contain the equivalent values.<br>
&gt; <br>
&gt; Thanks<br>
&gt; <br>
&gt; -- David<br>
&gt; _______________________________________________<br>
&gt; cctbxbb mailing list<br>
&gt; <a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
&gt; <a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br>
<br>
-- <br>
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.<br>
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. <br>
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.<br>
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom<br>
<br>
<br>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote></div>