<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Irene,
<div class=""><br class="">
<div class="">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 class="">If ‘dm’ is wrong, you can just change this ‘by hand’, after the file has been read in.</div>
<div class=""><br class="">
</div>
<div class="">hs = ft_read_headshape(filename);</div>
<div class="">hs.unit = ‘cm’/‘m’/‘km’/‘mm’/‘feet’/‘inch' <-choose one of those (apart from feet or inch)</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class="">Jan-Mathijs</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 4 Jun 2024, at 10:09, Irene Petrizzo via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">When trying to read a headshape in the .obj format I get the following warning:
<br class="">
<br class="">
<div class="">Warning: the estimated units are not very decisive, assuming that the units are "dm"
<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">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 class="">
</div>
<div class=""><br class="">
</div>
<div class="">Thank you,<br class="">
</div>
<div class=""><span class="gmail_signature_prefix">-- </span><br class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class=""><span style="color:rgb(102,102,102)" class="">Irene Petrizzo<br class="">
</span></div>
<div dir="ltr" class=""><span style="color:rgb(102,102,102)" class="">Postdoctoral Fellow<br class="">
</span></div>
<div dir="ltr" class=""><span style="color:rgb(102,102,102)" class=""><br class="">
</span></div>
<div dir="ltr" class="">
<div class=""><font size="2" color="#666666" class="">University of Trento</font></div>
<div class=""><font size="2" color="#666666" class=""><span style="margin:0px;padding:0px;border:0px none;outline:currentcolor none 0px;vertical-align:baseline;font-stretch:inherit;line-height:inherit" class="">CIMeC - Center for Mind/Brain Sciences</span>
 |  </font><span style="font-size:small" class=""></span><i class=""><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" originalsrc="http://r.unitn.it/en/cimec/per2con" shash="hdq7KfUfpeRWmcyqjDKvb7vVLZFTm461GGEap9RP00pxY1EHnOcg17ElLK28DlJa9lc4+/dDU1YmxvUUr5Jq7ywMJQFcyQWkkGHbMVTnQImDTh62sjKSaiyo2hbF+IPOlGfC9KemyVWCed1ciKIx+Tj6c5wadEbZ/JhKBQLV37w=" originalsrc="http://r.unitn.it/en/cimec/per2con" shash="RaTP3FeYAVxGE31qO0ZLLBbZvReZkafIEu/YEQ8au0DmTdAKsObjEKhETb9YDzSplo6SoMdyyJfgp2QLwUFsYwLhcQFAa9j02aEhHkMqhCbh5qdvINBBrW9oW9y3zSIri684MW3S9SEZYDdPv03AMyUX8NuMlsk2LjTOwhTQstE=" style="color:rgb(17,85,204)" target="_blank" class="">http://r.unitn.it/en/cimec/per2con</a><br class="">
</i></div>
<div class=""><font size="2" color="#666666" class="">Palazzo Fedrigotti - corso Bettini 31, 38068 Rovereto (TN)
</font><font size="2" color="#666666" class="">Italy</font>
<div class=""><font size="2" color="#666666" class=""><br class="">
</font></div>
<i class=""><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4z7wvpwD2IoQq97FShlF8sLls1rFIjCXFsfHEfCItov2fU-iVsEupHbWm_rEwQur0YCxpbC2Gs" width="420" height="52" class=""></i></div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<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" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="C4n20ovqQJ9HnbasFFUaKFjYOlmQ2/7eY1o4tC7XfPC9VNr1cXda2F0x1fWkF/LD2QTWwdt2uxbb9BkUq0i3k6XoTxnRpGdNQhUapyEtJCPcZ3XGA/pi126sfwooXVtOr6iTScU68hwE0IlBe7Cs9/bvAjTjsDZuJUoiPba8Rho=" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>