Dear all.
Is there a way to output all the hkl details for
all phases into one file at once, with the phase number indicated in a column?
I have looked carefully at the Create_hklm_d_Th2_Ip_file macro (in topas.inc) and can't quite get it to do what I exactly want with tweaking.
macro Create_hklm_d_Th2_Ip_file(file, wI)
{
phase_out file 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" = 2 Rad Th;
" %11.5f\n" = wI;
}
What is wI?
Ideally I would like something like this:
phase_out hkls.ascii 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" = 2 Rad Th;
" %11.5f\n" = phase_number;
}
Is there a way to define a keyword such as phase_number (similar perhaps to phase_name)?
Can I get all phases output at once, rather than having to repeat the macro after each str block?
Thanks
Adrian