wendtke / psyphr

legacy repo for R package suite for psychophysiological data; see github.com/psyphr-dev
1 stars 1 forks source link

incorporate other MW formats #32

Closed iqis closed 5 years ago

iqis commented 5 years ago

Workbook formats:

wendtke commented 5 years ago

I emailed MW about example output for Basic Signal Analysis.

iqis commented 5 years ago

BSA: Workbooks have worksheets differing in numbers. Example file: https://drive.google.com/open?id=0B5QPM7igDd11NmpaWDd1bDlkN3VQSFNyNGg1VWxSMEg5NnNv

From Eric:

You can definitely read the BSA output too. It is a bit more complicated, as the worksheets change based on which channel types are being analyzed. I will try to get a file together with all possible combinations and send it along.

I am attaching a sample BSA output. This one is a bit different - new worksheets are added for each channel, and the stats are somewhat dependent on the channel type. All channels will have:

    Mean
    Median
    Mode
    Max
    Min
    RMS
    DC
    AC

And then certain channels have additional stats:

    ECG
        Mean Peak Amp
        Rate
    Respiration
        Rate
    Blood pressure/PLE
        Mean Peak Amp
        Rate
        Mean Trough Amp
        PTT (pulse transit time - if an ECG signal from which to calculate this has been mapped)
    Accelerometer, Wiggle
        Wiggle Factor
        TWF
wendtke commented 5 years ago
  • [ ] Startle EMG : @wendtke Are you familiar with this type? In the sample data there is no information on "Right Eye". Is this expected?

I have not used EMG, but I assume the the sample data are not complete, just like other outputs had only one segment within the file. They might think that we need to see the output structure more than experiment with sample data.

iqis commented 5 years ago

If the worksheets are unstable, we might have to implement some content detection strategy. We do need to see all possible output structures.

wendtke commented 5 years ago

Yes, I can follow up with them about this.

wendtke commented 5 years ago

Eric told me they gave us all of the possible combinations/outputs for all of the applications.

"No problem! I believe that we have shared every possible output structure (at least with 3.2). These vary somewhat for early versions, which I imagine you would want to support at some point as well.

The other tab that may be tougher to deal with is the SCR tab in the EDA output - these get appended as segments are written, but the number of entries here will vary segment-to-segment. You can use the Segment Number field to help categorize them."

He also mentioned most MW users are on >3.0, so we can work backwards for support: 3.2 then 3.1, then probably 3.3 (assuming they release an upgrade per 1-2 years).

wendtke commented 5 years ago

@iqis Further questions on BSA? It seems like no one uses it, based on the survey results.

wendtke commented 5 years ago

Closing this issue; see #41