|
Figure 2
Pseudocode for updating the structure factors using the intermediate results and a nested for loop of size n1 × n2 × n3. Multiplying the updated Fourier components by precomputed fixed factors into a product array, the structure factor is updated by simply adding the difference between the candidate and original arrays. A mapping function is used to account for nearest-neighbor interpolation due to differences in reciprocal-space and Fourier-space resolution. |
Open
access
