'input file for Cu data simulated in diffax with cu.dat 'this is the standard file distributed with diffax 'simulation from 2 to 170 degrees with step 0.01 and full adaptive quadrature options 'xye file generated from column 3 of cu.spc using I^0.5 for error iters 100 seed xdd cu.xye LP_Factor(0) bkg 1 start_X 10 finish_X 149.6 rebin_with_dx_of 0.01 lam ymin_on_ymax 0.0001 la 1 lo 1.5418 lh 1e-5 Zero_Error(@,-0.00733`) weighting 1 str for strs { space_group P1 a 2.5560 b 2.55560 c = Get(generated_c); ga 120 prm !pa 0.9999 prm !h 2.08690 prm s 28.78798` min 1e-15 scale = s 1e-6 / (Nv Nstr); generate_stack_sequences { number_of_sequences Nstr 100 number_of_stacks_per_sequence Nv 500 Transition(A, A, h) to A = pa; a_add = 1/3; b_add = 2/3; to B = 1-pa; a_add = 2/3; b_add = 1/3; Transition(B, A, h) to A = 1-pa; a_add = 1/3; b_add = 2/3; to B = pa; a_add = 2/3; b_add = 1/3; site Cu1 x =0; y =0; z = 0.0/Nv; occ Cu 1 beq @ -0.49524` layer A peak_buffer_based_on = Xo; peak_buffer_based_on_tol 0.1 TCHZ_Peak_Type( , 0.06032, ,-0.01272, ,-0.01003,,0, , 0.12249, , 0.01501) 'Instrument function refined with Nstr=100, Nv=5000 SF_smooth(@, 1, 1) } '{{{ output data xdd_out temp.xyd append load out_record out_fmt out_eqn { " %11.5f " = X; " %11.5f " = Yobs; " %11.5f " = Ycalc; " %11.5f\n " = Yobs-Ycalc; } '}}}