-
Notifications
You must be signed in to change notification settings - Fork 54
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
Scattering in Abs_objects #1620
Comments
Also, considering that we want to detect scattered radiation, should we change the type of detector? (PSD_monitor is being used) |
Hello @vribgar, I would suggest that you try the Look into the |
Hello again! Could you provide an example where Fluorescence sample is used with .PLY geometries ? I have tried some examples (content of the Sferes_templ_fl.dat file from where the geometry is read): 5 but I am getting problems: “Loading geometry file (OFF/PLY): Sferes_templ_fl.dat I also provide you how I am defining the Fluorescence component, in case it would be helpful to solve the problem: COMPONENT sample_scan = Fluorescence( Thank you very much for your attention. |
Hello Verónica, The fluorescence appears indeed as a background in your case. Cheers, Emmanuel. |
Hi! We are launching simulations and using samples designed by us (in Blender 4.0), saved in .ply format and stored in a .dat file, as shown in the following code:
DEFINE INSTRUMENT CamaraTDI(string SFILE="carne_template_3.dat", string SFILE2="placa.dat",ANGLE=0, posX=0, posY=0, posZ=0, Ncount=0)
DEPENDENCY " -DLOADPATH=@MCCODE_LIB@/data "
DECLARE
%{
unsigned long long phid;
double deth, detw;
double troh=1.4;
double trow=0.6;
int dNx, dNy;
%}
INITIALIZE
%{
/* set some geometry parameters */
double s=1;
deth=sdNy1e-3; // Altura del detector 1 m
detw=sdNx1e-3; // Anchura del detector 1 m
if (Ncount>0)
mcset_ncount(Ncount);
%}
TRACE
COMPONENT Origin = Progress_bar(percent=1)
AT (0,0,0) ABSOLUTE
// Aumentar la energa de la fuente para mejorar la penetracion en materiales de alto Z
COMPONENT source = Source_div(E0=20, dE=0.1, xwidth=0.7, yheight=0.8, focus_aw=0.001, focus_ah=0, dist=0.625)
AT(0,0,0) RELATIVE Origin
COMPONENT sample_scan=Abs_objects(objects=SFILE)
AT (0,0,0.4525) RELATIVE Origin ROTATED (0, 0, 0) RELATIVE Origin
COMPONENT sample_Pb=Abs_objects(objects=SFILE2)
AT (0.00025,0,0.6) RELATIVE Origin ROTATED (0, 0, 0) RELATIVE Origin
COMPONENT psd2 = PSD_monitor(restore_xray=1, nx=64, ny=6680, filename="tdi.dat", xwidth=0.0064, yheight=0.6655)
AT (0,0,0.652) RELATIVE Origin
END
This is the graphical representation (XY view):
As you can see, the sample to scan is defined as Abs_objects:
COMPONENT sample_scan=Abs_objects(objects=SFILE)
AT (0,0,0.4525) RELATIVE Origin ROTATED (0, 0, 0, 0) RELATIVE Origin
But we are really interested in measuring the scattered radiation reaching the detector. Is this being taken into account? Or are only the X-rays that are attenuated by the sample being recorded in the detector?
Thank you so much for your attention.
Regards,
Verónica.
The text was updated successfully, but these errors were encountered: