<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Have you tried attaching it to world instead? In my case that produced the attenuation map of the phantom. I also added the actor before initialization, but I don't know if that has any significance.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Ville-Veikko Wettenhovi<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Gate-users <gate-users-bounces@lists.opengatecollaboration.org> on behalf of Hadi Rezaei <hrezaei.m.ph@gmail.com><br>
<b>Sent:</b> Sunday, April 25, 2021 13:22<br>
<b>To:</b> gate-users@lists.opengatecollaboration.org <gate-users@lists.opengatecollaboration.org><br>
<b>Subject:</b> [Gate-users] Mu Map Actor</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear GATE users
<div>I use GATE_v9 and I need to obtain an attenuation map of a phantom. I use Mu MAP Actor in my main macro but no output (.mhd) is obtained. Did anyone work with this actor and face this issue.? </div>
<div>
<div>
<div>
<div>##### mumap actor<br>
/gate/actor/addActor MuMapActor getMuMap<br>
/gate/actor/getMuMap/attachTo NEMA_IQ<br>
/gate/actor/getMuMap/save mhdoutput/myMapFileName.mhd<br>
/gate/actor/getMuMap/setPosition 0 0 0 mm<br>
/gate/actor/getMuMap/setVoxelSize 2 2 2 mm<br>
/gate/actor/getMuMap/setResolution 300 300 900<br>
/gate/actor/getMuMap/setEnergy 511 keV<br>
/gate/actor/getMuMap/setMuUnit 1 1/cm<br>
<br>
#######<br>
</div>
</div>
</div>
</div>
<div>Thank you.</div>
<div>Hadi</div>
</div>
</div>
</body>
</html>