[Gate-users] Gate simulation binary file output

Ville-Veikko Wettenhovi ville-veikko.wettenhovi at uef.fi
Tue Jul 26 10:00:33 CEST 2022


Hi,

gjs does not natively support binary. However, it is possible to modify the source code to enable binary support. Alternatively, you could initially use ASCII and then modify the macros to use binary instead.

Regards,
Ville-Veikko Wettenhovi
________________________________
From: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> on behalf of ‍이인범[ 학부재학 / 바이오의공학부 ] <zeusrornfl at korea.ac.kr>
Sent: Monday, July 25, 2022 10:34
To: gate-users at lists.opengatecollaboration.org <gate-users at lists.opengatecollaboration.org>
Subject: [Gate-users] Gate simulation binary file output


Hi, GATE users.

I’m new to GATE simulation.



Ever since I started using GATE, I’ve got only Singles data in ASCII type.

But from now on in my situation, I should get output data in binary type.

Unfortunately, when I revised code like below, there was a message ‘Warning: No output module nor actor are enabled !’



<Before>

…

/gate/output/ascii/enable

/gate/output/ascii/setFileName ./five4mm/4five

/gate/output/ascii/setOutFileSinglesFlag 1

…

<After>

…

/gate/output/binary/enable

/gate/output/binary/setFileName ./five4mm/4five

/gate/output/binary/setOutFileSinglesFlag 1

…



I think that I followed the Documentation’s Data output part… I can’t find this error…

Can I get your advice, please?



For detailed information, I attach my simulation environment, code, and error message.

1. OS : ubuntu 20.04

2. GATE version : 9.1

3. Using Gjs job splitter


[image.png]



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220726/088de5c9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 12794 bytes
Desc: image.png
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20220726/088de5c9/attachment-0001.png>


More information about the Gate-users mailing list