Skip to content

Commit

Permalink
FIX: Do better with test_DataSymmetries...
Browse files Browse the repository at this point in the history
Now passes until non-standard range of planes.
  • Loading branch information
ashgillman committed Dec 19, 2019
1 parent ad686ac commit 120419c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/include/stir/ProjDataInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class ProjDataInfo

// Convert coordinates from a sinogram-based
inline CartesianCoordinate3D<float>
get_relative_coordinates_for_gantry_coordinates
get_physical_coordinates_for_gantry_coordinates
(const CartesianCoordinate3D<float>& coords) const;

protected:
Expand Down
2 changes: 1 addition & 1 deletion src/include/stir/ProjDataInfo.inl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ProjDataInfo::get_scanner_sptr() const

CartesianCoordinate3D<float>
ProjDataInfo::
get_relative_coordinates_for_gantry_coordinates
get_physical_coordinates_for_gantry_coordinates
(const CartesianCoordinate3D<float>& coords) const
{
// TODO: bed postion
Expand Down
4 changes: 2 additions & 2 deletions src/recon_buildblock/ProjMatrixByBinUsingRayTracing.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ get_point_on_lor_in_index_coordinates
const DiscretisedDensity<3, float>& density_info,
const ProjDataInfo& proj_data_info)
{
return density_info.get_index_coordinates_for_relative_coordinates
(proj_data_info.get_relative_coordinates_for_gantry_coordinates
return density_info.get_index_coordinates_for_physical_coordinates
(proj_data_info.get_physical_coordinates_for_gantry_coordinates
(proj_data_info.get_point_on_lor_in_gantry_coordinates
(s_in_mm, m_in_mm, a_in_mm, cphi, sphi, tantheta)));
}
Expand Down

0 comments on commit 120419c

Please sign in to comment.