Example 11: Min resolution of a peak between the previous and the next peak

  • Data Analysis always computes the resolution with the previous peak. In addition, Data Analysis computes several resolution values according to Pharmacopeia standards (EP for European, JP for Japanese, USP for United State).

  • Scope: Peak or group

  • Type: Double

  • Find function to access the next peak on the signal of the currentPeak (CurrentSignal.PeakByIndex(PeakIndexInSignal+1)

  • Use a VB function to compute the minimum between two values (Math.Min)

Formula

Math.Min(CurrentPeakOrGroup.Peak_ResolutionEP, CurrentSignal.PeakByIndex(CurrentPeakOrGroup.PeakIndexInSignal+1).Peak_ResolutionEP)