Menu

Issues trying to import Text file

Help
2018-01-18
2018-02-02
  • Maddison Taylor

    Maddison Taylor - 2018-01-18

    I have 2 channels on a text file, one with data and the other will the triggers. I am trying to upload it and it will not allow me to run the data. I am doing SCR and I specified that for my first channel and called it 1. I specified my second channel as marker and labeled it 2. Help getting this to run!

     
  • tobias moser

    tobias moser - 2018-01-19

    Hi Maddison

    What you describe seems correct to me. Therefore I'm not sure where the problem is. Could you provide me some additional information? Is there an error appearing in the matlab console? How does your data file look like? Maybe you could provide me an example file?

    best
    Tobias

     
  • Maddison Taylor

    Maddison Taylor - 2018-01-22

    The green run bottom will not light up. Could this possibly be because of an issue with the data itself?

     
  • Maddison Taylor

    Maddison Taylor - 2018-01-22

    Here is a snip of how the data is.

     
  • Maddison Taylor

    Maddison Taylor - 2018-01-22

    Since i need a marker channel, would it be best to use a matlab file?

     
  • tobias moser

    tobias moser - 2018-01-26

    Hi Maddison

    The green button does not light up because for both channels you left the sampling rate unspecified. If you specify this, the import should work.

    Using the latest PsPM version you should be able to import marker channels from both file types (matlab and text files). As you were able to specify a marker channel in the text file import I assume you already have the latest PsPM version.

    best
    Tobias

     
  • Maddison Taylor

    Maddison Taylor - 2018-01-27

    Can you explain the sampling rate a little more? it is looking for a single number? and would sampling rate be the same for the scr channel and the marker channel?

     
  • Maddison Taylor

    Maddison Taylor - 2018-01-27

    Also can you explain the trimming a bit? I have a continous data set with several triggers and im trying to figure out which method is best

     
  • tobias moser

    tobias moser - 2018-02-02

    Hi Maddison

    the sampling rate is the number of samples (measurements) you have per second.

    Trim is used to remove unused data at the beginning and at the end of the recorded data. Usually data starts with the first and ends with the last trigger/marker. If this is the case, you could trim at the start and end marker with some offset. For offsets: values below 0 are used to trim before the marker (for start markers) and values above 0 are used to trim after the marker (for end markers).

    Have you already tried to work through the tutorial which is available in the manual (see Part III, Section 18 in https://sourceforge.net/p/pspm/svn/HEAD/tree/branches/v4.0/Manual/PsPM%204.0%20Manual.pdf?format=raw)? Maybe this will give you some further insight on how data analysis in PsPM works.

    best
    Tobias

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.