STIR icon indicating copy to clipboard operation
STIR copied to clipboard

Documenting tof branch merge conflicts

Open ashgillman opened this issue 2 years ago • 12 comments

ML_norm.cxx

image image

Chosen strategy: Keep the functions

ashgillman avatar Oct 14 '21 08:10 ashgillman

ProjDataInfoCylindricalNoArcCorr.cxx

image

Chosen strategy: It seems ToF adds some extra swapping for rings and detectors. Respect this, while allowing updated to_0)2pi stuff:

image

ashgillman avatar Oct 14 '21 08:10 ashgillman

Scanner.cxx

image

Related to #181, 8b648897ff2a22157cf54cbac0d7fdde82c801ab

@KrisThielemans not confident on this one, but it seems just to keep the master version?

image

ashgillman avatar Oct 14 '21 08:10 ashgillman

MLnorm.cxx Chosen strategy: Keep the functions

incorrect. set_fan_data has been superseded by set_fan_data_add_gaps and similar with make_fan_data_remove_gaps. The modification is at the moment just the check if is_tof_data(), then call error

KrisThielemans avatar Oct 17 '21 13:10 KrisThielemans

ProjDataInfoCylindricalNoArcCorr.cxx Chosen strategy: It seems ToF adds some extra swapping for rings and detectors. Respect this, while allowing updated to_0)2pi stuff

Agreed. let's do that in this merge (and the get_psi_offset() of course). I don't think we want any extra swapping, but we don't want the merge to affect the actual working of the TOF code.

KrisThielemans avatar Oct 17 '21 13:10 KrisThielemans

Scanner.cxx not confident on this one, but it seems just to keep the master version?

There certainly shouldn't be any changes in list_all_names and get_names_of_predefined_scanners w.r.t. master.

KrisThielemans avatar Oct 17 '21 13:10 KrisThielemans

Anything else?

KrisThielemans avatar Oct 17 '21 13:10 KrisThielemans

MLnorm.cxx Chosen strategy: Keep the functions

incorrect. set_fan_data has been superseded by set_fan_data_add_gaps and similar with make_fan_data_remove_gaps. The modification is at the moment just the check if is_tof_data(), then call error

Removed

ashgillman avatar Oct 18 '21 01:10 ashgillman

Bin.h

image

Resolution: Keep both

image

ashgillman avatar Oct 18 '21 01:10 ashgillman

Bin.inl

image

Resolution: We're happy to not have a constructor for time_frame? Just add time_frame(1) to each

ashgillman avatar Oct 18 '21 03:10 ashgillman

Scanner.h

image

Resolution: Just looks more complicated because of whitespace chages. Need to add max_num_of_timing_poss, size_timing_pos, timing_resolution to master. Unfortunately, the order chosen means no more default values are possible for energy parameters - is this okay?

image

ashgillman avatar Oct 18 '21 03:10 ashgillman

ProjDataInfoCylindrical.h

image

Resolution: Keep both

image

ashgillman avatar Oct 18 '21 03:10 ashgillman

Scanner.h Resolution: Just looks more complicated because of whitespace chages. Need to add max_num_of_timing_poss, size_timing_pos, timing_resolution to master. Unfortunately, the order chosen means no more default values are possible for energy parameters - is this okay?

can't spot the difference. Can you do a comparison without white-space and show that?

The Scanner constructor etc is a mess. Too many parameters!

KrisThielemans avatar Oct 18 '21 06:10 KrisThielemans

Obsolete

KrisThielemans avatar Sep 20 '23 08:09 KrisThielemans