Skip to content

Commit

Permalink
PSX: Change order of offsetting and filtering
Browse files Browse the repository at this point in the history
We now first offset and then filter. This requires that we also rename all
variables, constants and dimension labels.

Change requested by Tim Jarsky.
  • Loading branch information
t-b committed Sep 4, 2024
1 parent 95fb39b commit f54b1b1
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 110 deletions.
10 changes: 5 additions & 5 deletions Packages/MIES/MIES_Cache.ipf
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ Function/S CA_PSXKernelOperationKey(variable riseTau, variable decayTau, variabl
crc = StringCRC(crc, num2strHighPrec(dt, precision = MAX_DOUBLE_PRECISION))
crc = WaveCRC(crc, range)

return num2istr(crc) + "PSX Kernel Version 1"
return num2istr(crc) + "PSX Kernel Version 2"
End

static Function/S CA_PSXBaseKey(string comboKey, string psxParameters)
Expand All @@ -452,22 +452,22 @@ End
/// @param psxParameters JSON dump of the psx/psxKernel operation parameters
Function/S CA_PSXEventsKey(string comboKey, string psxParameters)

return CA_PSXBaseKey(comboKey, psxParameters) + " Events " + ":Version 1"
return CA_PSXBaseKey(comboKey, psxParameters) + " Events " + ":Version 2"
End

Function/S CA_PSXOperationKey(string comboKey, string psxParameters)

return CA_PSXBaseKey(comboKey, psxParameters) + " Operation " + ":Version 1"
return CA_PSXBaseKey(comboKey, psxParameters) + " Operation " + ":Version 2"
End

Function/S CA_PSXRiseTimeKey(string comboKey, string psxParameters)

return CA_PSXBaseKey(comboKey, psxParameters) + " PSX Rise time " + ":Version 1"
return CA_PSXBaseKey(comboKey, psxParameters) + " PSX Rise time " + ":Version 2"
End

Function/S CA_PSXAnalyzePeaks(string comboKey, string psxParameters)

return CA_PSXBaseKey(comboKey, psxParameters) + " Analyze Peaks " + ":Version 1"
return CA_PSXBaseKey(comboKey, psxParameters) + " Analyze Peaks " + ":Version 2"
End

/// @brief Return the key for the igor info entries
Expand Down
Loading

0 comments on commit f54b1b1

Please sign in to comment.