Skip to content

Incorporation of NeuroLF and Bruker PET/MRI 3T - #44

Merged
txusser merged 4 commits into
txusser:developfrom
claudiadom:main
Aug 7, 2026
Merged

txusser merged 4 commits into
txusser:developfrom
claudiadom:main

Conversation

@claudiadom

@claudiadom claudiadom commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Functions added for working with the Neuro LF and Bruker PET/MRI scanners:

  • calculate_center_slices – Takes into account whether one or multiple bed positions should be generated, depending on the parameters provided.
  • calculate_map_into_fov – Determines the exact portion of the activity map within the scanner's Field of View (FOV). This function is used in subsequent processing steps that require information restricted to the region inside FOV, such as calculating the total activity within the FOV.
  • correction_for_NECR – Applies an experimentally derived correction to the simulation time in order to reproduce the number of detected events expected for each activity level. This allows the simulated acquisition to better match the scanner's real performance across different activity concentrations.
  • join_beds_wb – It has been modified to improve the blending of the beds, reducing artifacts at the junction between them.
  • normalization_factor_correction – Applies an experimentally derived normalization factor to convert reconstructed image values into quantitative activity units (Bq), enabling accurate image quantification.
  • change_act_dimensions – Adjusts the dimensions of the activity map so it can be used as a mask for extracting quantitative metrics, such as the mean activity within a Volume of Interest (VOI).
  • total_quantification – Uses the values extracted from the VOI mask to quantify the final reconstructed image.
  • total_fov_correction – Corrects the emission sinogram using a normalization sinogram to compensate for scanner sensitivity variations across the Field of View.

@txusser

txusser commented Jul 28, 2026

Copy link
Copy Markdown
Owner

An general lo veo bien. No estaría de más revisar los espaciados y algunos comentarios ya que he visto algunas cosas raras (aunque las he aceptado).

Comment thread src/simset/simset_sim.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Por favor @claudiadom revisa y borra los comentarios del tipo # Borrar hasta aqui y similares. Tampoco entiendo muy bien el objetivo de contar las labels no parece que luego se utilicen para nada

Comment thread wholebody.py

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Al final del archivo hay un montón de texto comentado. Eliminar si no es necesario

@txusser
txusser merged commit aba2268 into txusser:develop Aug 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants