65 this_proj -> analysis[sqk] -> curves[0] -> name = g_strdup_printf (
"S(q) %s", _(
"Neutrons"));
66 this_proj -> analysis[sqk] -> curves[1] -> name = g_strdup_printf (
"S(q) %s - %s", _(
"Neutrons"), _(
"smoothed"));
67 this_proj -> analysis[sqk] -> curves[2] -> name = g_strdup_printf (
"Q(q) %s", _(
"Neutrons"));
68 this_proj -> analysis[sqk] -> curves[3] -> name = g_strdup_printf (
"Q(q) %s - %s", _(
"Neutrons"), _(
"smoothed"));
69 this_proj -> analysis[sqk] -> curves[4] -> name = g_strdup_printf (
"S(q) %s", _(
"X-rays"));
70 this_proj -> analysis[sqk] -> curves[5] -> name = g_strdup_printf (
"S(q) %s - %s", _(
"X-rays"), _(
"smoothed"));
71 this_proj -> analysis[sqk] -> curves[6] -> name = g_strdup_printf (
"Q(q) %s", _(
"X-rays"));
72 this_proj -> analysis[sqk] -> curves[7] -> name = g_strdup_printf (
"Q(q) %s - %s", _(
"X-rays"), _(
"smoothed"));
74 for ( i = 0 ; i < this_proj -> nspec ; i++ )
76 for ( j = 0 ; j < this_proj -> nspec ; j++ )
78 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"AL(q)[%s,%s]",
active_chem -> label[i],
active_chem -> label[j]);
80 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"AL(q)[%s,%s] - %s",
active_chem -> label[i],
active_chem -> label[j], _(
"smoothed"));
84 for ( i = 0 ; i < this_proj -> nspec ; i++ )
86 for ( j = 0 ; j < this_proj -> nspec ; j++ )
88 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"FZ(q)[%s,%s]",
active_chem -> label[i],
active_chem -> label[j]);
90 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"FZ(q)[%s,%s] - %s",
active_chem -> label[i],
active_chem -> label[j], _(
"smoothed"));
94 if ( this_proj -> nspec == 2 )
96 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[NN]");
98 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[NN] - %s", _(
"smoothed"));
100 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[NC]");
102 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[NC] - %s", _(
"smoothed"));
104 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[CC]");
106 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[CC] - %s", _(
"smoothed"));
108 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[ZZ]");
110 this_proj -> analysis[sqk] -> curves[k] -> name = g_strdup_printf (
"BT(q)[ZZ] - %s", _(
"smoothed"));
113 this_proj -> analysis[sqk] -> init_ok = TRUE;
127 if (this_proj -> analysis[sqk] -> calc_buffer == NULL) this_proj -> analysis[sqk] -> calc_buffer =
add_buffer (NULL, NULL, NULL);
128 view_buffer (this_proj -> analysis[sqk] -> calc_buffer);
129 if (sqk ==
SKD || sqk ==
SQD)
131 print_info (_(
"\n\nStructure factor(s)"),
"heading", this_proj -> analysis[sqk] -> calc_buffer);
135 print_info (_(
"\n\nDynamic structure factor(s)"),
"heading", this_proj -> analysis[sqk] -> calc_buffer);
137 if (sqk ==
SKD || sqk ==
SKT)
139 print_info (_(
" - reciprocal space calculation\n\n"),
"heading", this_proj -> analysis[sqk] -> calc_buffer);
143 print_info (
" - FFT[g(r)]\n\n",
"heading", this_proj -> analysis[sqk] -> calc_buffer);
145 print_info (_(
"Calculation details:\n\n"), NULL, this_proj -> analysis[sqk] -> calc_buffer);
146 print_info (_(
"\tReciprocal space discretization:\n\n"), NULL, this_proj -> analysis[sqk] -> calc_buffer);
147 print_info (_(
"\t - Number of δq steps: "),
"bold", this_proj -> analysis[sqk] -> calc_buffer);
148 str = g_strdup_printf (
"%d", this_proj -> analysis[sqk] -> num_delta);
149 print_info (str,
"bold_blue", this_proj -> analysis[sqk] -> calc_buffer);
151 print_info (_(
"\n\n\t between "), NULL, this_proj -> analysis[sqk] -> calc_buffer);
152 print_info (
"Q",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
153 print_info (
"min",
"sub_bold", this_proj -> analysis[sqk] -> calc_buffer);
154 print_info (
" ", NULL, this_proj -> analysis[sqk] -> calc_buffer);
155 print_info (_(
"and"), NULL, this_proj -> analysis[sqk] -> calc_buffer);
156 print_info (
" ", NULL, this_proj -> analysis[sqk] -> calc_buffer);
157 print_info (
"Q",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
158 print_info (
"max",
"sub_bold", this_proj -> analysis[sqk] -> calc_buffer);
159 print_info (_(
"\n\t where "), NULL, this_proj -> analysis[sqk] -> calc_buffer);
160 print_info (
"Q",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
161 print_info (
"min",
"sub_bold", this_proj -> analysis[sqk] -> calc_buffer);
162 print_info (_(
" is the minimum wave vector, and "), NULL, this_proj -> analysis[sqk] -> calc_buffer);
163 print_info (
"Q",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
164 print_info (
"max",
"sub_bold", this_proj -> analysis[sqk] -> calc_buffer);
165 print_info (_(
" is the maximum wave vector:\n\n"), NULL, this_proj -> analysis[sqk] -> calc_buffer);
166 print_info (
"\t\tQ",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
167 print_info (
"min",
"sub_bold", this_proj -> analysis[sqk] -> calc_buffer);
168 print_info (
" = ",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
169 str = g_strdup_printf (
"%f", this_proj -> analysis[sqk] ->
min);
170 print_info (str,
"bold_blue", this_proj -> analysis[sqk] -> calc_buffer);
172 print_info (
" Å",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
173 print_info (
"-1",
"sup_bold", this_proj -> analysis[sqk] -> calc_buffer);
174 print_info (
"\t", NULL, this_proj -> analysis[sqk] -> calc_buffer);
175 print_info (_(
"and"), NULL, this_proj -> analysis[sqk] -> calc_buffer);
176 print_info (
"\t", NULL, this_proj -> analysis[sqk] -> calc_buffer);
177 print_info (
"Q",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
178 print_info (
"max",
"sub_bold", this_proj -> analysis[sqk] -> calc_buffer);
179 print_info (
" = ",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
180 str = g_strdup_printf (
"%f", this_proj -> analysis[sqk] ->
max);
181 print_info (str,
"bold_blue", this_proj -> analysis[sqk] -> calc_buffer);
183 print_info (
" Å",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
184 print_info (
"-1",
"sup_bold", this_proj -> analysis[sqk] -> calc_buffer);
186 print_info (
"\n\n\t - δq = ",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
187 str = g_strdup_printf (
"%f", this_proj -> analysis[sqk] -> delta);
188 print_info (str,
"bold_blue", this_proj -> analysis[sqk] -> calc_buffer);
190 print_info (
" Å",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
191 print_info (
"-1",
"sup_bold", this_proj -> analysis[sqk] -> calc_buffer);
192 print_info (
"\n",
"bold", this_proj -> analysis[sqk] -> calc_buffer);
195 print_info (
calculation_time(TRUE, this_proj -> analysis[sqk] -> calc_time), NULL, this_proj -> analysis[sqk] -> calc_buffer);