Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T417 Adding possibility of wavelength-dependant laser energy #418

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

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
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.

1 participant