.mat transfer function #654
-
Hello, could someone share an example to create a .mat file containing transfer function for SCR? Thanks in advance. Daniel |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 3 replies
-
Hi Daniel the transfer function defines a monotonic mapping from raw to imported data. From the screenshots, the problem seems to be something different. Also, there might be something wrong with the time representation of the data (original is 750 s long, imported data > 3500 s). We don't have a lot of cnt sample data, so the import function might not cover your specific case. If you send us a sample file (even just a short snippet) we are happy to investigate. Dominik |
Beta Was this translation helpful? Give feedback.
-
Hi Dominik, I imported data (same as .cnt) from .edf file and I it solved the problem. It seems there is an issue importing from .cnt format, additionally, the time is twice the original length (1966 s): I assume it is better to use .edf format. On the other hand, I would like to know if there are any suggestions regarding the epoch length. I'll try to analyze skin conductance level on periods about 11 min using SF model. P.D. I couldn't attached the .cnt file here. Best regards, |
Beta Was this translation helpful? Give feedback.
-
That looks good. And yes, there should be no problems using 11 minute epochs (although they might take 10-20 mins to invert, depending on the power of your computer). If you would be willing to send a cnt example file we'd appreciate this - you can use the email address in the PsPM start message. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I couldn't manage myself to find the email address to share some .cnt files with you, could you share it with me please. On the other hand I couldn't create the transfer function file because sample rate is bigger than 90, I don't know if it has an effect over the results when I run the functions for skin conductance level and skin conductance response using spontaneous fluctuations functions, could you help me to clarify it please. Additionally, I would like to know if there's a problem since in the example I shared with you the amplitude of data range is about -6500 to +6500. Thank you so much!! |
Beta Was this translation helpful? Give feedback.
-
To send files, you can use the email address in the PsPM startup message (in the command window). The sample rate is not needed for the transfer function. The sample rate has no influence on the results, if it is properly specified during the import. The amplitude range indicates that the data are not properly imported into µS units. To assist, we need some information on the recording system and the transfer function you are currently using. |
Beta Was this translation helpful? Give feedback.
-
Hello, Following your advice I' tried to make a transfer function file as follows: sr = 20; % Preferred sample rate %% I tried to run just importing function with transfer function file created previously: options = struct('overwrite', true); for sujeto = 2 %% I got the next error message: » Importing 2.edf: Warning: /nNo conversion constant given Error in pspm_import (line 271) Error in importar (line 21) %% I'm using a g.tec device for registering the GSA: %% I'm using the script bellow to process the data, I don't specify the sample rate which is 250 hz, I thought it was automatically detected: import = {... for sujeto = 1:2 I'll be so glad of reading your suggestions. Thank you so much for your support!!! P.D. I've sent some .cnt files Daniel |
Beta Was this translation helpful? Give feedback.
-
Hi Daniel. My first post was confusing - I had misunderstood your question - and I have deleted it, so that others don't get confused too. A transfer function file for SCR import is created in the following way.
From the information you posted, your system records 6.7 mV per 1 µS conductance change. If you are recording your data in units of "mV", then you should set Hope this makes more sense. You can get detailed help by typing |
Beta Was this translation helpful? Give feedback.
-
Hi Dominik, I did as you suggested. I would like to verify if the graphics I got using the transfer function have any sense. I'm concerned about this because I don't know if values below cero are a problem for the results I had using the PsPM sf functions. I add some graphs as an example: Thanks in advance. Daniel |
Beta Was this translation helpful? Give feedback.
-
Hi Daniel you only need the absolute SCR units if you are assessing SF frequency - because they require an absolute threshold. There are other ways of analysing SF data, for example extracting the amplitude of each response and using it directly (without thresholding). Also, no absolute SCR units are required for GLM or the non-linear model. For all these latter models, it is indeed possible to normalise the data (and this is advisable for within-subjects designs), using the setting Dominik |
Beta Was this translation helpful? Give feedback.
Hi Dominik,
I imported data (same as .cnt) from .edf file and I it solved the problem. It seems there is an issue importing from .cnt format, additionally, the time is twice the original length (1966 s):
I assume it is better to use .edf format. On the other hand, I would like to know if there are any suggestions regarding the epoch length. I'll try to analyze skin conductance level on periods about 11 min using SF model.
P.D. I couldn't attached the .cnt file here.
Best regards,
Daniel