Warning: Trying to access array offset on value of type null in /home/site/wwwroot/lib/plugins/move/action/rename.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/common.php on line 1955

Warning: Cannot modify header information - headers already sent by (output started at /home/site/wwwroot/lib/plugins/move/action/rename.php:42) in /home/site/wwwroot/inc/actions.php on line 38
out_powdercifdatablock [topas wiki]

User Tools

Site Tools


out_powdercifdatablock

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
out_powdercifdatablock [2020/07/16 10:29] – external edit 127.0.0.1out_powdercifdatablock [2022/11/03 15:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +Output refinement fit in IUCr-friendly CIF format
  
 +Using Get(weighting) should work with fixed and variable step/counts.
 +pdCIFplot seems happy with everything thrown at it so far
 +
 +<code topas>macro Out_PowderCIFDataBlock(file)
 +{
 +   out file
 +   Out_String("loop_")
 +   Out_String("\n_pd_proc_point_id")
 +   Out_String("\n_pd_meas_2theta_scan")
 +   Out_String("\n_pd_calc_intensity_total")
 +   Out_String("\n_pd_proc_intensity_total")
 +   Out_String("\n_pd_proc_ls_weight")
 +   Out_String("\n"     
 +   xdd_out file append load out_record out_fmt out_eqn
 +   {
 +" %9.0f" = Xi+1;
 +" %11.5f" = X;
 +" %11.5f" = Ycalc;
 +" %11.5f" = Yobs;
 +" %11.5f\n" = Get(weighting);
 +   }
 +}
 +</code>