[FieldTrip] Help with units of measurements with ft_sourceanalysis
Schoffelen, J.M. (Jan Mathijs)
janmathijs.schoffelen at donders.ru.nl
Thu Oct 24 09:16:20 CEST 2024
Hi Sara,
If you want to change the units of the data, you can use ft_convert_units for that. I am not sure how smooth it will work in your case, and it should be noted that the prerequisite for this function to work is that the units are specified in the data. In your case, this probably means that you should have a field data.chanunit, or data.elec.chanunit or so, which specifies the units of the electrophysiological signal.
Also note, that a covariance is a quadratic measure, and that the units are in V^2 (or so), which results in doubling of the exponent if powers of 10 are involved (e.g. 10^-6 in amplitude of trial/avg results in 10^-12 in values for the covariance). To be on the safe side, I recommend to convert the units early in the pipeline, before calling ft_timelockanalysis instead of afterwards.
Good luck,
Jan-Mathijs
> On 22 Oct 2024, at 15:31, Sara Cinelli via fieldtrip <fieldtrip at science.ru.nl> wrote:
>
> Hello everyone,
> I have a question that is creating me some issues. I would like to ask you about the unit of measurements I have to use in the ft_sourceanalysis function. I already know that the data in input for ft_compute_leadfield (sourcemodel,headmodel and elec) has to be in the standard unit,i.e. meters (m) and volt (V), in order to obtain the measure in V/A*m.
> My question is the following: my TEP measure is microV and the elec unit is mm. Do I have to change the measures in V (and in m), so multiply the avg*10^-6? The TEP obtained from ft_timelockanalysis has differents measure inside, in particular the covariance. Do I have to change these other measures as well? If so, how? Thank you very much!
>
> Sara
> _______________________________________________
> fieldtrip mailing list
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Ce4f5e890ade64935987808dcf3fbc23c%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638653509811176371%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=h%2B6mJxvTD1xuRElYh7WU9n4AjqeUvIG30nOjMIiIWtc%3D&reserved=0
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Ce4f5e890ade64935987808dcf3fbc23c%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638653509811191284%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=%2BHIzB2tPMfISSR5HxTL2GMVpvb9CkOhaCAsbf8tceiY%3D&reserved=0
More information about the fieldtrip
mailing list