[gate-users] Using local efficiency coomand
Schmidtlein, Ross/Sloan-Kettering Institute
schmidtr at mskcc.org
Tue Mar 7 01:26:41 CET 2006
Hi Sophie,
It still didn't work. I'll send it to you tomorrow.
Thanks for all the help,
ross
-----Original Message-----
From: gate-users-bounces at lphe1pet1.epfl.ch [mailto:gate-users-bounces at lphe1pet1.epfl.ch] On Behalf Of Sophie Kerhoas
Sent: Monday, March 06, 2006 6:18 PM
To: 'GATE feedback and helpline for Users'
Subject: RE: [gate-users] Using local efficiency coomand
Hi Ross,
If your system is a cylindricalPET, your crystal level is attached to level number 4. You should try the following lines in your digitizer with a file which has 36 lines of one number per line
/gate/digitizer/Singles/localEfficiency/disableLevel 1 -> rsector /gate/digitizer/Singles/localEfficiency/disableLevel 2 -> module /gate/digitizer/Singles/localEfficiency/disableLevel 3 -> submodule /gate/digitizer/Singles/localEfficiency/enableLevel 4 -> crystal
If this is not working, send me your geometry and digitizer macros, I will try with my environment. Bye Sophie
-----Message d'origine-----
De : gate-users-bounces at lphe1pet1.epfl.ch
[mailto:gate-users-bounces at lphe1pet1.epfl.ch] De la part de Schmidtlein, Ross/Sloan-Kettering Institute Envoyé : lundi 6 mars 2006 21:36 À : GATE feedback and helpline for Users Objet : RE: [gate-users] Using local efficiency coomand
Hi Sophie,
I tried a several combinations for the .dat file and I tired to use it at level 1 to see if I could get that to work, but no luck.
These included putting all of the numbers all on the same line and putting block and crystal numbers first and last and using 0 to 35 instead of 1 to 36 and omitting the block numbers.
My geometry is Cylindrical_PET/Rsector(35)/Module(2x4)/Crystal(6x6)
I hope you can help me figure this out.
Thanks,
ross
-----Original Message-----
From: gate-users-bounces at lphe1pet1.epfl.ch
[mailto:gate-users-bounces at lphe1pet1.epfl.ch] On Behalf Of Sophie Kerhoas
Sent: Monday, March 06, 2006 1:19 PM
To: 'GATE feedback and helpline for Users'
Subject: RE: [gate-users] Using local efficiency coomand
Hello Ross,
Did you try with only one number per line and 36 lines. 0.8044 0.8271 0.85 . . . and so one until 36 lines. With the following lines: /gate/digitizer/Singles/localEfficiency/disableLevel 1 /gate/digitizer/Singles/localEfficiency/enableLevel 2
If your level 2 is attached to a volume wich has 36 repetitions, a file with 36 numbers should work...
Bye
Sophie
-----Message d'origine-----
De : gate-users-bounces at lphe1pet1.epfl.ch
[mailto:gate-users-bounces at lphe1pet1.epfl.ch] De la part de Schmidtlein, Ross/Sloan-Kettering Institute Envoyé : lundi 6 mars 2006 17:40 À : GATE feedback and helpline for Users Objet : RE: [gate-users] Using local efficiency coomand
Hi Sophie,
Thanks for the help. I have tried one number per line and I am still getting the error. Here is what my input looks like:
/gate/distributions/name efficiency
/gate/distributions/insert yourFile
/gate/distributions/efficiency/autoX true
/gate/distributions/efficiency/setFileName yourfile.dat
/gate/distributions/efficiency/read
/gate/digitizer/Singles/insert localEfficiency /gate/digitizer/Singles/localEfficiency/disableLevel 1
/gate/digitizer/Singles/localEfficiency/enableLevel 2
/gate/digitizer/Singles/localEfficiency/setEfficiency efficiency
My file is then entered as (this gets me the smallest number of
warnings):
0.8044 1
0.8271 2
And so on from 1 to 36.
I've tried this and several other variations and error I am getting is:
[GateLocalEfficiency::ProcessOnePulse]Warning : vector size is modified (from 0 to 6) and set all entries to 0
I tried to look at the source code to see why this Warning was being called but I'm still not sure what's going on.
Thanks,
ross
-----Original Message-----
From: gate-users-bounces at lphe1pet1.epfl.ch
[mailto:gate-users-bounces at lphe1pet1.epfl.ch] On Behalf Of Sophie Kerhoas
Sent: Monday, March 06, 2006 4:41 AM
To: GATE feedback and helpline for Users
Subject: Re: [gate-users] Using local efficiency coomand
Hi Ross,
The format of this ascii file is always one number per line and if you want to enter individual crystal efficiency for each block, you enter the numbers, block after block: For example: 4 crystal per block and 2
blocks: 0.98 block 1 crystal 1 0.95 block 1 crystal 2 0.92 block 1 crystal 3 0.97 block 1 crystal 4 0.93 block 2 crystal 1 0.96 block 2 crystal 2 0.97 block 2 crystal 3 0.98 block 2 crystal 4
and in the digitizer, you must specify at which level of your system you will define local efficiency. Here I suppose that blocks are attached to the level 1 and crystals are attacehd to the level 2.
/gate/distributions/name efficiency
/gate/distributions/insert yourFile /gate/distributions/efficiency/autoX
true /gate/distributions/efficiency/setFileName yourfile.dat /gate/distributions/efficiency/read
/gate/digitizer/Singles/insert localEfficiency /gate/digitizer/Singles/localEfficiency/enableLevel 1
/gate/digitizer/Singles/localEfficiency/enableLevel 2
/gate/digitizer/Singles/localEfficiency/setEfficiency efficiency
a bientot,
perhaps in Delft...
Sophie
On Fri, 2006-03-03 at 16:57 -0500, Schmidtlein, Ross/Sloan-Kettering Institute wrote:
> What is the format for that file for a
> block of detectors that has 36 crystals?
>
--
Sophie Kerhoas <skerhoas at cea.fr>
_______________________________________________
gate-users mailing list
gate-users at lphe1pet1.epfl.ch http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
_______________________________________________
gate-users mailing list
gate-users at lphe1pet1.epfl.ch http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
_______________________________________________
gate-users mailing list
gate-users at lphe1pet1.epfl.ch http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
_______________________________________________
gate-users mailing list
gate-users at lphe1pet1.epfl.ch http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
_______________________________________________
gate-users mailing list
gate-users at lphe1pet1.epfl.ch http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
More information about the Gate-users
mailing list