[SyneRBI/SIRF] Continue working on moving Challenge data preparation utilities to SIRF. (PR #1266)

0 views
Skip to first unread message

Evgueni Ovtchinnikov

unread,
Jun 11, 2024, 8:14:49 AMJun 11
to SyneRBI/SIRF, Subscribed

Changes in this pull request

Testing performed

Related issues

PR #1241

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have added docstrings/doxygen in line with the guidance in the developer guide
  • I have implemented unit tests that cover any new or modified functionality
  • The code builds and runs on my machine
  • CHANGES.md has been updated with any functionality change

Contribution Notes

Please read and adhere to the contribution guidelines.

Please tick the following:

  • The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in SIRF (the Work) under the terms and conditions of the Apache-2.0 License.

You can view, comment on, or merge this pull request online at:

  https://github.com/SyneRBI/SIRF/pull/1266

Commit Summary

  • c25c1e0 started moving Challenge nema-data utilities to SIRF
  • a2691ac reimplemented two nema data processing functions in SIRF (C++)
  • df408d2 moved the functions of the previous commit to more sensible places
  • f7c417d added C++ code for testing ScatterEstimator in test7.cpp
  • e6300c7 rewrote all my Challenge functions in C++, hit incompatible proj data bug [ci skip]
  • ab00641 fixed incompatible proj data bug
  • a5e8ba0 added simpler set up for PETAcquisitionSensitivityModel
  • c4b254c implemented Python interface for sinograms_and_randoms_from_listmode
  • 83fbbd0 implemented Python interface to compute_ac_factors (not tested yet)
  • ea6a736 fixed typos in STIR.py lines 1740 and 1741
  • de8e615 interfaced all C++ nema-data utilities in SIRF into Python
  • e40bdc1 made some corrections/amendments suggested by KT
  • 4db5527 attended to Codacy issues
  • 8866464 removed hardwired prompts prefix from prompts and randoms computation code
  • 61a60f9 documented the type of objects returned by compute_attenuation_factors() [ci skip]
  • a7b4756 removed unused import of existing_filepath from test_data_preparation.py
  • 413808f compute_ac_factors now gets PETAcquisitionModel as an argument
  • b5a4b8d removed commented-out member function of ListmodeToSinograms
  • 1b30b55 attended to reviewers remarks on computing attenuation factors
  • d2585d9 simplified compute_ac_factors methods (C++/C/Python)
  • 85ebbde attended to reviewer's comments and suggestions
  • d43062e updated CHANGES.md
  • 7e44d4e added methods for computing prompts only from list-mode data
  • fc7eda8 corrected the return of prompts_from_listmpde [ci skip]
  • e8b4388 added modality() method to AcquisitionData objects
  • d4dcb6e commented out no longer used functions

File Changes

(13 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/pull/1266@github.com>

Evgueni Ovtchinnikov

unread,
Jun 11, 2024, 8:42:37 AMJun 11
to SyneRBI/SIRF, Push

@evgueni-ovtchinnikov pushed 2 commits.

  • 4ef1fbb commented out no longer used functions in stir_x.h
  • 118f4f0 removed commented out lines confusing Codacy


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/pull/1266/before/d4dcb6ebcb2ee2ccb0a9d693fd14050e82a6e6b3/after/118f4f0c659038eeb9bbd9fec3e15f57725bddb6@github.com>

Kris Thielemans

unread,
Jun 11, 2024, 9:08:49 AMJun 11
to SyneRBI/SIRF, Subscribed

I won't have time to review this today, but I think you've addressed my main concerns, so go ahead when you're ready.

Given the tortuous history here, I suggest a squash-merge, but please edit the commit message such that it not just a list of all the attempts, but an overall conclusion. (Note that I see you're adding modality, which is great, so add that to the CHANGES.md).

thanks!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/pull/1266/c2160724993@github.com>

Kris Thielemans

unread,
Jun 11, 2024, 9:09:33 AMJun 11
to SyneRBI/SIRF, Subscribed

looks like you still need to remove examples/Python/PET/test_data_preparation.py


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/pull/1266/c2160726682@github.com>

Evgueni Ovtchinnikov

unread,
Jun 11, 2024, 9:17:45 AMJun 11
to SyneRBI/SIRF, Push

@evgueni-ovtchinnikov pushed 2 commits.

  • 5444647 removed outdated PET/test_data_preparation.py [ci skip]
  • 99314f3 updated CHANGES.md [ci skip]


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/pull/1266/before/118f4f0c659038eeb9bbd9fec3e15f57725bddb6/after/99314f3b80c1ca16fdefcd1226ec54af296e5074@github.com>

Evgueni Ovtchinnikov

unread,
Jun 11, 2024, 9:30:35 AMJun 11
to SyneRBI/SIRF, Subscribed

Merged #1266 into master.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF/pull/1266/issue_event/13117304143@github.com>

Reply all
Reply to author
Forward
0 new messages