<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;">Hi everybody,</p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;"><br></p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;">I'm looking for introducing the XCAT4D phantom with 16 frames into my simulation and I have a few (basic) questions the mailing list couldn't answer.</p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;"><br></p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;">In output of the XCAT phantom, I have the emission map caracterized by _act_(1->16).bin and the attenuation map : _atn(1->16).bin. Then, <span style="font-family: Calibri, Arial, Helvetica, sans-serif; line-height: 19.05px;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif; line-height: 19.05px;">I know that I have to convert the 32 bits float data into 16 bits unsigned integer, it's done for the 32 files.</span></p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;"><br></p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;">In the examples I could see I referred to gate/examples/example_TimeActivityCurve, which is a 4D simulation as I want, and when I looked at the header, it only calls the _atn_1 file.</p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;"><br></p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;">1. My first question is so what about the _act.bin files, is it unuseful? Do I have tu use only _act or _atn and not both?</p><p style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;">2. How to simulate a gated acquisition as I have in output in my case 16_atn.bin and 16 _act.bin, taking into account all the frames and _atn and _act? </p><p style="margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="Calibri, Arial, Helvetica, sans-serif" style="font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif;">In the wiki, here is what we found: </span></p><ul style="font-family: sans-serif; font-size: 12.7px; line-height: 19.05px; list-style-type: square; margin: 0.3em 0px 0px 1.5em; padding: 0px; list-style-image: url('bullet.gif');" data-mce-style="font-family: sans-serif; font-size: 12.7px; line-height: 19.05px; list-style-type: square; margin: 0.3em 0px 0px 1.5em; padding: 0px; list-style-image: url('bullet.gif');"><li style="margin-bottom: 0.1em;" data-mce-style="margin-bottom: 0.1em;">Generate N frames for the phantom corresponding to the time acquisition desired for example 50 frames for 5s so each frame is for .1 s ;</li><li style="margin-bottom: 0.1em;" data-mce-style="margin-bottom: 0.1em;">I assume the 50 frames are NCAT_frame_.i33, NCAT_frame_2.i33, NCAT_frame_3.i33, NCAT_frame_4.i33 $...$ NCAT_frame_N.i33.</li></ul><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span style="font-size: 12.7px; line-height: 19.05px;" data-mce-style="font-size: 12.7px; line-height: 19.05px;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 19.05px;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 19.05px;">But it doesn't distinguish _the _atn files and _the act files.</span><br></span></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span style="font-size: 12pt; line-height: 19.05px;" data-mce-style="font-size: 12pt; line-height: 19.05px;"><span style="font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif;">And the part of the macro when it is called:</span> </span></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span style="font-size: 12pt; line-height: 19.05px;" data-mce-style="font-size: 12pt; line-height: 19.05px;"></span></span></span><pre style="padding: 1em; border: 1px dashed #2f6fab; line-height: 1.1em; background-color: #f9f9f9;" data-mce-style="padding: 1em; border: 1px dashed #2f6fab; line-height: 1.1em; background-color: #f9f9f9;">/gate/RTVPhantom/setHeaderFileName NCAT_header.h33
/gate/RTVPhantom/SetNumberOfFrames 50
/gate/RTVPhantom/SetTimePerFrame 0.1 s</pre></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;">Do I only have to call the _atn_1 or the _act_1 and with this command, Gate will read all the other frames?</span></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;"><br></span></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;">I hope to be clear, and I would be really grateful for helping me, it's been a long time I'm trying but I don't find.</span></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><span style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;" data-mce-style="font-size: 12pt; line-height: 19.05px; font-family: Calibri, Arial, Helvetica, sans-serif;">Julien JURCZAK</span></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><br></span></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;" data-mce-style="font-family: Calibri, Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;"><span face="sans-serif" style="font-family: sans-serif;" data-mce-style="font-family: sans-serif;"><br></span></div></div></body></html>