<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt"><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;">Hi Philipp,<br><br>The two FFTs introduce a scale factor equivalent to the number of grid points. Please try adding this code:<br><br> x = abs(new_array).data()<br> y = abs(very_new_array).data()<br> lc = flex.linear_correlation(x, y)<br> lc.show_summary()<br> lr = flex.linear_regression(x, y)<br> lr.show_summary()<br><br>The correlation coefficient should be 1.0 exactly, and the linear-regression slope is the same as the "total number of grid points" shown in the output:<br><br>total number of grid points: 345600<br>...<br>is_well_defined: True<br>mean_x: 43.9292797741<br>mean_y: 15181959.0899<br>coefficient: 1.0<br>is_well_defined: True<br>y_intercept: 5.1687812285e-07<br>slope:
345600.0<br><br>Ralf<br><br></div></div><br>
<hr size=1>Sick sense of humor? Visit Yahoo! TV's
<a href="http://us.rd.yahoo.com/evt=47093/*http://tv.yahoo.com/collections/222">Comedy with an Edge </a>to see what's on, when.
</body></html>