simpa icon indicating copy to clipboard operation
simpa copied to clipboard

Implement a function for creating a generic tissue from optical parameters

Open RecurvedBow opened this issue 1 year ago • 0 comments

Please describe your :rocket: feature request. As a user with access to custom data about optical parameters, I would like to define a tissue from these optical parameters instead of using the predefined tissue compositions in the tissue library. While TissueLibrary.constant(...) exists, it does not work if my optical parameters are different depending on the wavelength.

Describe the solution you'd like Add a function get_generic_tissue in the tissue library returning the correct tissue composition from the optical properties mu_a, mu_s, g which are defined as a spectrum.

Describe alternatives you've considered

Additional context TissueLibrary.constant(...) should be refactored into a special case of TissueLibrary.get_generic_tissue(...).

RecurvedBow avatar May 08 '24 12:05 RecurvedBow