Question 1: How do I infer this, beyond z=0, which is the surface of the model?
Question 2: Is this due to lack of photons in the area or do I need to remove additional lines from the infile?
{
"TallyType": "FluenceOfXAndYAndZ",
"Name": "FluenceOfXAndYAndZ",
"X": {
"Start": -10.0,
"Stop": 10.0,
"Count": 201
},
"Y": {
"Start": -10.0,
"Stop": 10.0,
"Count": 2
},
"Z": {
"Start": 0.0,
"Stop": 10.0,
"Count": 101
},
"TallySecondMoment": false,
"TallyDetails": {
"IsReflectanceTally": false,
"IsTransmittanceTally": false,
"IsSpecularReflectanceTally": false,
"IsInternalSurfaceTally": false,
"IspMCReflectanceTally": false,
"IsDosimetryTally": false,
"IsVolumeTally": true,
"IsCylindricalTally": false,
"IsNotImplementedForDAW": false,
"IsNotImplementedForCAW": true,
"IsNotImplementedYet": false
}
},
Here is documentation about the most commonly used detectors we have:
https://github.com/VirtualPhotonics/VTS/wiki/MCCL-Capabilities-And-Implementation
2) The MCCL actually gives better image results than the GUI. And since it uses MATLAB to
visualize the results, you have other MATLAB commands at your disposal to enhance the plot,
e.g. axis labels, font sizes, etc.
Don't hesitate to post again if you get stuck.
Best,
Carole
{
"Rho": {
"Start": 0.0,
"Stop": 10.0,
"Count": 201
},
"ZDepth": 6.0,
"TallyCount": 1806112,
"TallyType": "RadianceOfRhoAtZ",
"Name": "RadianceOfRhoAtZAt6",
"TallySecondMoment": false,
"TallyDetails": {
"IsReflectanceTally": false,
"IsTransmittanceTally": false,
"IsSpecularReflectanceTally": false,
"IsInternalSurfaceTally": true,
"IspMCReflectanceTally": false,
"IsDosimetryTally": false,
"IsVolumeTally": false,
"IsCylindricalTally": true,
"IsNotImplementedForDAW": false,
"IsNotImplementedForCAW": false,
"IsNotImplementedYet": false
}
}Absorbed energy captured by AOfRhoAndZ detector: 0.79695
Total absorption captured by ATotal detector: 0.79695
Fluence captured by FluenceOfRhoAndZAndTime detector: 2.5691
Fluence captured by FluenceOfRhoAndZ detector: 2.5691
Total reflectance captured by RDiffuse detector: 0.1817
Total reflectance captured by ROfRhoAndTime detector: 0.1817
Total reflectance captured by ROfRho detector: 0.1817
Total reflectance captured by RSpecular detector: 0.021297
Total transmittance captured by TDiffuse detector: 5.552e-05
Total transmittance captured by TOfRho detector: 5.552e-05 if isfield(results{di}, 'ROfRho') && show.ROfRho figname = sprintf('log(%s)',results{di}.ROfRho.Name); figure; plot(results{di}.ROfRho.Rho_Midpoints, log10(photonWeight*results{di}.ROfRho.Mean)); title(figname); set(gcf,'Name', figname); xlabel('$\rho$ [mm]','Interpreter','latex'); ylabel('R($\rho$) [mm$^{-2}$]','Interpreter','latex'); rhodelta = photonWeight*(results{di}.ROfRho.Rho(2)-results{di}.ROfRho.Rho(1)); rhonorm = 2 * pi * results{di}.ROfRho.Rho_Midpoints * rhodelta; disp(['Total reflectance captured by ROfRho detector: ' num2str(sum(photonWeight*results{di}.ROfRho.Mean.*rhonorm'))]); enddatanames = { 'infile_name' };photonWeight = 4.5; % Input Power rhodelta = photonWeight*(results{di}.ROfRho.Rho(2)-results{di}.ROfRho.Rho(1));