Declaration: SigDistGui(LayerLow, LayerHigh, PosX, PosY, TypeOfThresh: integer; ThreshLow, ThreshHigh: double): integer;
Displays the Signal Distribution Analyser. The parameters LayerLow and LayerHigh define the range of layers which should be included in the analysis. The parameter TypeOfThresh controls the type of thresholds used with the parameters ThreshLow and ThreshHigh. the following threshold types are currently supported:
1 ... absolute values
2 ... percentages below the lower threshold (red curtain) and above the upper threshold (blue curtain)

The parameters PosX and PosY specify the initial position of the image cursor (in pixels). The function returns the following error codes:

 0 ... everything is ok
-1 ... LayerLow or LayerHigh is out of range
-2 ... percentages must be between 0.0 and 100.0
-3 ... invalid type of threshold
-4 ... PosX or PosY is out of range
-5 ... no data loaded or number of data is too low