Dear Community,

we want to calculate the peak to valley ratio in OpenLab 2.7 between two defined peaks (e.g. Peak X and Peak Y).

According to the OpenLab Help the internal calculation does always calculate the minimum p/v (PV = Min (PV1, PV2)), if there are valleys to both sides of the interesting peak (e.g. Peak Y, Peak X and Peak Z).

Within the custom calculation the Hv (high of valley) is not directly accessible. If we use the calculation Peak_Height/Peak_PeakValleyRatio, the result is also depending on the minimum p/v.

When using a custom calculation, how can we ensure that the peak to valley is always calculated between two defined peaks even though there are valleys to both sides of the interesting peak?