[Gate-users] gateSingles.dat using NCAT phantom

Seyjoon seyjoon at yahoo.co.kr
Sat Nov 24 10:40:42 CET 2007


Hi gate-users


After simulation with NCAT phantom, I tried to do scatter analysis.
But it did not work. Infinite loop error was shown.

I have found the reason. The problem was in the gateSingles.dat.
There are 'NCATVoxel_PVP' in column 22 or 23.
I doubt the problem is in the benchmark_projection.c, line number 262 to 288.
----------------------------------------------
      if(chars[i+3] != 'L')
 {
   c = fgetc(fin);
   while(c != '_')
     {
       c = fgetc(fin);
     }
   c = fgetc(fin);
 }
if(chars[i+3] == 'L')
  {c='Z';}
if(c == 'P')
  c = fgetc(fin);
      fscanf(fin,"%c\n", &chars2[i]);
      fscanf(fin,"%c\n", &chars2[i+1]);
      fscanf(fin,"%c\n", &chars2[i+2]);
      fscanf(fin,"%c\n", &chars2[i+3]);
      if(chars2[i+3] != 'L')
        {
          c = fgetc(fin);
          while(c != '_')
            {
              c = fgetc(fin);
            }
          c = fgetc(fin);
   }
----------------------------------------------
I can not understand exactly what these means.
But when I changed 'NCATVoxel_PVP' to 'NCATVoxel_P' in gateSingles.dat
I could do scatter analysis normally with benchmark_projection.c
(of course, with benchmark_projection_seyjoon.c)


Anyone knows why I get not 'NCATVoxel_P' but 'NCATVoxel_PVP'?


Seyjoon

 
----------------------------------------------------------------
Sungkyunkwan University, School of Medicine
Samsung Medical Center, Department of Nuclear Medicine 
50, Irwon-Dong, Gangnam-Gu, Seoul, Korea 135-710
 
Tel : 82-2-3410-2652
Cell : 82-10-7593-7577
 
Seyjoon Park


      ________________________________________________________ 
180도 달라진 야후! 메일 - 여러 개의 메시지를 동시에 확인? 새로운 야후! 메일의 탭으로 가능해집니다.
http://kr.content.mail.yahoo.com/cgland



More information about the Gate-users mailing list