Skip to content

Commit

Permalink
updates to GetPSXEventWaveAsFree. Changes were made because the decon…
Browse files Browse the repository at this point in the history
…volved peak aligns with the event's peak rather than the event onset.
  • Loading branch information
timjarsky committed Dec 16, 2024
1 parent 43f9aab commit e76868b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Packages/MIES/MIES_WaveDataFolderGetters.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -8219,14 +8219,14 @@ End
///
/// Cols:
/// - 0/index: event index
/// - 1/onset: event amplitude in deconvoluted data [y unit of data]
/// - 2/onset_t: deconvolved peak time [ms]
/// - 1/deconPeak_amp: event amplitude in deconvoluted data [y unit of data]
/// - 2/deconPeak_t: deconvolved peak time [ms]
/// - 3/peak: Maximum (positive kernel amp sign) or minimum (negative kernel amp sign) in the range of
/// [onset_t, onset_t + 3 * kernelRiseTau or the onset of the next event, which ever comes first]
/// [deconPeak_t – kernelRiseTau or the previous event, whichever comes later, deconPeak_t + 0.33 * kernelDecayTau or the onset of the next event, which ever comes first]
/// in the filtered sweep wave
/// - 4/peak_t: peak time
/// - 5/baseline: Maximum (negative kernel amp sign) or minimum (positive kernel amp sign) in the range of
/// [onset_t - 4ms, onset_t], averaged over +/- 5 points, in the filtered sweep wave
/// [peak_t – 4*kernelRiseTau, peak_t], averaged over +/- 5 points, in the filtered sweep wave
/// - 6/baseline_t: baseline time
/// - 7/amplitude: Relative amplitude: [3] - [5]
/// - 8/iei: Time difference to previous event (inter event interval) [ms]
Expand All @@ -8236,7 +8236,9 @@ End
/// - `]-10000, 0[`: CurveFit error codes
/// - `]-inf, -10000]`: Custom error codes, one of @ref FitEventDecayCustomErrors
/// - 12/Event manual QC call: One of @ref PSXStates
/// - 13/Rise Time: rise time as calculated by PSX_CalculateRiseTime()
/// - 13/Onset time as calculated by PSX_OnsetTime
/// - 14/Rise Time: rise time as calculated by PSX_CalculateRiseTime()

Function/WAVE GetPSXEventWaveAsFree()

variable versionOfWave = PSX_WAVE_VERSION
Expand Down

0 comments on commit e76868b

Please sign in to comment.