<div dir="ltr"><div>Thank you Jan-Mathijs! This solved the first part of my problem. However, after indicating the fiducial positions in the interactive window, when I check the position of the axes the positive and negative y-axes don't go through the preauricular points, and also the X axes is shifted on the forehead.</div><div>I am following exactly the steps of this tutorial: <br><a href="https://www.fieldtriptoolbox.org/tutorial/electrode/">https://www.fieldtriptoolbox.org/tutorial/electrode/</a></div><div><br></div><div>But I can't figure out the problem <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mer 5 giu 2024 alle ore 10:01 Schoffelen, J.M. (Jan Mathijs) via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div style="overflow-wrap: break-word;">
Hi Irene,
<div><br>
<div>Typically, obj-files do not contain explicit information w.r.t. the metrical units in which the coordinates are expressed. FieldTrip tries to do an educated guess, but may fail depending on the contents of the file.</div>
<div>If ‘dm’ is wrong, you can just change this ‘by hand’, after the file has been read in.</div>
<div><br>
</div>
<div>hs = ft_read_headshape(filename);</div>
<div>hs.unit = ‘cm’/‘m’/‘km’/‘mm’/‘feet’/‘inch' <-choose one of those (apart from feet or inch)</div>
<div><br>
</div>
<div>Best wishes,</div>
<div>Jan-Mathijs</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On 4 Jun 2024, at 10:09, Irene Petrizzo via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a>> wrote:</div>
<br>
<div>
<div dir="ltr">When trying to read a headshape in the .obj format I get the following warning:
<br>
<br>
<div>Warning: the estimated units are not very decisive, assuming that the units are "dm"
<br>
</div>
<div><br>
</div>
<div>The displayed headshape is out of dimensions and when trying to set the fiducials the indicated position is not recognized correctly by the script. This happens only with this headmodel. Is there a way to correct this or is the .obj file corrupted?<br>
</div>
<div><br>
</div>
<div>Thank you,<br>
</div>
<div><span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div><span style="color:rgb(102,102,102)">Irene Petrizzo<br>
</span></div>
<div dir="ltr"><span style="color:rgb(102,102,102)">Postdoctoral Fellow<br>
</span></div>
<div dir="ltr"><span style="color:rgb(102,102,102)"><br>
</span></div>
<div dir="ltr">
<div><font size="2" color="#666666">University of Trento</font></div>
<div><font size="2" color="#666666"><span style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;font-stretch:inherit;line-height:inherit">CIMeC - Center for Mind/Brain Sciences</span>
 |  </font><span style="font-size:small"></span><i><a href="https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fr.unitn.it%2Fen%2Fcimec%2Fper2con&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cb3b46bb665a7485fbcd608dc8533c981%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638531704658744862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=yzjS8L%2FnavnZs13LxDB4TzYplGR%2BC3NS6wsTbgzBqGQ%3D&reserved=0" style="color:rgb(17,85,204)" target="_blank">http://r.unitn.it/en/cimec/per2con</a><br>
</i></div>
<div><font size="2" color="#666666">Palazzo Fedrigotti - corso Bettini 31, 38068 Rovereto (TN)
</font><font size="2" color="#666666">Italy</font>
<div><font size="2" color="#666666"><br>
</font></div>
<i><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4z7wvpwD2IoQq97FShlF8sLls1rFIjCXFsfHEfCItov2fU-iVsEupHbWm_rEwQur0YCxpbC2Gs" width="420" height="52"></i></div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Cb3b46bb665a7485fbcd608dc8533c981%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638531704658744862%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=70ee41Ta1yXGwi9EYeveStHZfMmSGNKMhPiAfOwG58A%3D&reserved=0" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>

_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(102,102,102)">Irene Petrizzo<br></span></div><div dir="ltr"><span style="color:rgb(102,102,102)">Postdoctoral Fellow<br></span></div><div dir="ltr"><span style="color:rgb(102,102,102)"><br></span></div><div dir="ltr"><div><font size="2" color="#666666">University of Trento</font></div><div><font size="2" color="#666666"><span style="margin:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;font-stretch:inherit;line-height:inherit">CIMeC - Center for Mind/Brain Sciences</span> |  </font><span style="font-size:small"></span><i><a href="http://r.unitn.it/en/cimec/per2con" style="color:rgb(17,85,204)" target="_blank">http://r.unitn.it/en/cimec/per2con</a><br></i></div><div><font size="2" color="#666666">Palazzo Fedrigotti - corso Bettini 31, 38068 Rovereto (TN) </font><font size="2" color="#666666">Italy</font><div><font size="2" color="#666666"><br></font></div><i> <img src="https://ci3.googleusercontent.com/mail-sig/AIorK4z7wvpwD2IoQq97FShlF8sLls1rFIjCXFsfHEfCItov2fU-iVsEupHbWm_rEwQur0YCxpbC2Gs" width="420" height="52"></i></div></div></div></div>