Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
noise_simulation [2013/04/22 23:43]
johnsoevans created
noise_simulation [2013/05/02 16:30]
alancoelho
Line 1: Line 1:
-====== Noise Simulation ======+====== Noise Simulation ​- Version 5 ======
  
 To add noise to a simulated pattern (e.g. use the "​simulate pattern from cif" command in jEdit menus you can use the function Rand_Normal(Mean,​ Std_Deviation);​ for example: To add noise to a simulated pattern (e.g. use the "​simulate pattern from cif" command in jEdit menus you can use the function Rand_Normal(Mean,​ Std_Deviation);​ for example:
Line 6: Line 6:
    {    {
        "​ %11.6f " = X;        "​ %11.6f " = X;
-       "​ %11.6f\n"​ = Rand_Normal(Ycalc,​ Sqrt(Ycacl)));+       "​ %11.6f\n"​ = Rand_Normal(Ycalc,​ Sqrt(Ycalc));
    ​}</​code>​    ​}</​code>​
  

Personal Tools