<div dir="ltr"><div><div>Hi,<br><br>The problem and its solution is in the error message, so simply read it.<br></div>It asks you for the header file (h33) not the data file (i33), so change your macro line and that's it.<br>
<br></div>Cheers,<br>Simon<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 27, 2013 at 5:08 PM, mojtaba jahdasa <span dir="ltr"><<a href="mailto:mjahdasa@yahoo.com" target="_blank">mjahdasa@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:14pt;font-family:bookman old style,new york,times,serif"><div>Hi<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
I used 3D NCAT phantom(128*128*128   uint16) for SPECT simulation(with gate6.1).</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">It always shows could not open header file NCAT_atn.i33</div>
<div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">.................</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
Error: Could not open header file
 'NCAT_atn.i33</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">.</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
.</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">Error: Could not open header file 'NCAT_act.i33</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
.................</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">i chek 2 suggestions (Panagiotis Papadimitroulas )but not work:</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">1) Try to write in your header file in the line<br>     !name of data file := NCAT_act.i33         the whole path of your file, like this:<br>
    !name of data file := /home/username/NCAT_act.i33 ,or check where is your file. maybe in the data folder,<br>so just write for your path the: data/NCAT_act.i33   (from where you run Gate)<br><br>2) My second suggestion if the above doesn't work, is just to copy the header file from the examples of GATE<br>
for voxelized phantoms... And just change there the written parameters with the parameters you have from<br>your header file. Do not add more.. I put here an example for not searching... just copy this and change with<br>
your numbers (mostly the
 appropriate one, like pixel scaling, number of images, matrix size etc..)<br>......................................</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">do you know other way to solve this problem ?!</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">Thank you!</div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style""><br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style""><br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style""><br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style""><br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style""><br></div><div style="font-style:normal;font-size:18.67px;background-color:transparent;font-family:"Bookman Old Style"">
<br></div></div></div><br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br></div>