Skip to content

Conversation

@jeremieglt
Copy link

@jeremieglt jeremieglt commented Feb 4, 2025

Please check the following before creating the pull request (PR):

  • Did you run automatic tests?
  • Did you run manual tests?
  • Is the code provided in the PR still backwards compatible to previous SIMPA versions?

Code review
The only modifications were made in the optical_adapter_base.py (adding possibility of selecting mutiple laser energies dependant on the wavelengths) and tags.py (modification of the description of the LASER_PULSE_ENERGY_IN_MILLIJOULE tag). There is also an addition of a test file (see next section).

Testing requirements
The tests specific to this modification were written under : simpa/simpa_tests/automatic_tests/test_laser_energy.py. They ensure that all formats are possible for entering the laser energy.

Additional context
Calibration study at iThera Medical with MSOT Acuity revealed that simulating with wavelength dependant laser energy could refine the simulation precision without any additional additional computing cost.

Issue fixed
Fixes feature request #417

@jeremieglt jeremieglt marked this pull request as ready for review February 5, 2025 14:48
@jeremieglt jeremieglt changed the title pushing the required modifications T417 : Adding possibility of wavelength-dependant laser energy Feb 6, 2025
@jeremieglt jeremieglt changed the title T417 : Adding possibility of wavelength-dependant laser energy T417 Adding possibility of wavelength-dependant laser energy Feb 6, 2025
@kdreher kdreher changed the base branch from main to develop February 21, 2025 09:32
Added an example path configuration file with required paths for simulations.
jgroehl
jgroehl previously approved these changes Nov 18, 2025
Copy link
Collaborator

@jgroehl jgroehl left a comment

Choose a reason for hiding this comment

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

I really appreciate the addition of the test case and the added documentation, which will be valuable down the line. Thanks!

@jgroehl
Copy link
Collaborator

jgroehl commented Nov 18, 2025

This PR is good to go now, since 3.9 is no longer supported and the checks will not fail on 3.10-3.14 anymore.

@jgroehl jgroehl self-assigned this Nov 18, 2025
@jgroehl jgroehl merged commit 1b47e7e into IMSY-DKFZ:develop Dec 9, 2025
15 checks 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