As we have discussed before, it is possible to obtain both LETd and LETt by using the GETLET function, but that was only in a water phantom, where the material index of water is a fix number 26.
ENDLET = GETLET(JTRACK,EKIN,PLA,ZERZER,26)
When I want to score the LET in a CT DICOM file, where the assigned material in each voxel might be different, how could I use the GETLET function with a correct material index?
Thank you for your question. To use the material of a certain region in the function GETLET you can use the function MEDFLK(MREG,1). It returns the material number as a function of the region number MREG. In this way, the material number is adjusted to each position where the function is evaluated.
I hope this helps.