/
CSPM Physiology
CSPM Physiology
Peak detection and rate calculation
Load data
For example, use Import Data
Separate by semicolon, unselect by comma
For datetime, select DATE?TIIME, more date formats
Go to end, under Custom Date Format enter HH:mm:ss,SSS
Chnage the variable names - X and Resp, for example.
Select both columns, then Import Selection
You can check the data with
>>figure, plot(X,Resp)
Run the peak detection (use the variables names, with the Time/x-value as the second argument)
>>Pout = peakdetect_gui( X, Time )
Create the rate, etc, and when you close the values will be in the "Pout" structure.
For example, rate is in Pout.ratey (values), with Pout.ratex indicating the time of each value.
Calculate means:
>>mean(Pout.ratey)
, multiple selections available,
Related content
Peak Detection to Create Breathing and Heart Rate
Peak Detection to Create Breathing and Heart Rate
More like this
peakdetection command line
peakdetection command line
More like this
fMRI Invididual Vector & Physiology Load and Sync with Waveforms
fMRI Invididual Vector & Physiology Load and Sync with Waveforms
More like this
Physiology Format
Physiology Format
More like this
HCP Physiology
HCP Physiology
More like this
STEP 1: Data cleaning (IMPORTANT!!!)
STEP 1: Data cleaning (IMPORTANT!!!)
More like this