Skip to content

Commit

Permalink
comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
toastisme committed Jul 23, 2024
1 parent c757d89 commit 14ce053
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/dials/algorithms/scaling/tof/tof_scaling.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,6 @@ const double pc[8][19] = {{-6.4910e-07,
0.0000e+00,
0.0000e+00}};

/*
* As outlined in
// C.W Dwiggins Jnr, Rapid calculation of X-ray absorption correction factors for
// spheres to an accuracy of 0.05%, Acta Cryst. 1975, A31, 395-396
// https://doi.org/10.1107/S0567739475000873
*/
double tof_pixel_spherical_absorption_correction(double pixel_data,
double muR,
double two_theta,
Expand Down Expand Up @@ -332,7 +326,7 @@ void tof_extract_shoeboxes_to_reflection_table(
int6 bbox = bboxes[i];
int panel = shoebox.panel;

// Shoeboxe data are ordered (z, y, x)
// Shoebox data are ordered (z, y, x)
for (std::size_t z = 0; z < shoebox.zsize(); ++z) {
int frame_z = bbox[4] + z;
double tof = img_tof[frame_z] * std::pow(10, -6); // (s)
Expand Down Expand Up @@ -490,7 +484,7 @@ void tof_extract_shoeboxes_to_reflection_table(
int6 bbox = bboxes[i];
int panel = shoebox.panel;

// Shoeboxe data are ordered (z, y, x)
// Shoebox data are ordered (z, y, x)
for (std::size_t z = 0; z < shoebox.zsize(); ++z) {
int frame_z = bbox[4] + z;
double tof = img_tof[frame_z] * std::pow(10, -6); // (s)
Expand Down Expand Up @@ -553,7 +547,8 @@ void tof_extract_shoeboxes_to_reflection_table(

/*
* Extracts shoeboxes to reflection_table with each pixel corrected w.r.t
* an incident run, an empty run, and optionally the Lorentz correction
* an incident run, an empty run, a spherical absorption correction,
* and optionally the Lorentz correction
*/
void tof_extract_shoeboxes_to_reflection_table(
dials::af::reflection_table &reflection_table,
Expand Down Expand Up @@ -666,7 +661,7 @@ void tof_extract_shoeboxes_to_reflection_table(
int6 bbox = bboxes[i];
int panel = shoebox.panel;

// Shoeboxe data are ordered (z, y, x)
// Shoebox data are ordered (z, y, x)
for (std::size_t z = 0; z < shoebox.zsize(); ++z) {
int frame_z = bbox[4] + z;
double tof = img_tof[frame_z] * std::pow(10, -6); // (s)
Expand Down

0 comments on commit 14ce053

Please sign in to comment.