Hi everyone,
For making a quality plot for Rietveld refinements I use the keyword "phase_out" to get HKL ticks with the following code:
phase_out "phase_output.txt" append load out_record out_fmt out_eqn {
" %3.0f" = H;
" %3.0f" = K;
" %3.0f" = L;
" %3.0f" = M;
" %11.5f" = D_spacing;
" %11.5f\n" = 2 Rad Th;
}
Recently I had a powder pattern with a large background and used the code in the following link to fit the background:
http://topas.dur.ac.uk/topaswiki/doku.php?id=num_runs_2_0_determine_background_1_refine_structure&s%5b%5d=background
After fitting the background the "phase_out" keyword gives the following error when running the refinement:
"Cannot locate p_out from weighting in data structures"
When I do not fit the background the "phase_out" keyword works fine. And without the "phase_out" keyword the refinement of the background works. Anyone who has a clue why this error arises (I am using TOPAS v6)?
Best Regards
Andreas