ecl-logo Documentation

InvertData

InvertData[xy]out

invert the given data xy such that the range of xy and out are the same, but the peaks and troughs are switched.

Details

  • Used in peak picking when you want to find troughs instead of peaks
  • Input
    Output

Examples

Basic Examples  (2)

Invert simple list:

Invert given data:

Additional Examples  (1)

No change in inverting singleton list: