Interface GSDPeak

interface GSDPeak {
    ddY: number;
    id?: string;
    index: number;
    inflectionPoints: {
        from: {
            index: number;
            x: number;
        };
        to: {
            index: number;
            x: number;
        };
    };
    width: number;
    x: number;
    y: number;
}

Properties

ddY: number

second derivative at the level of the peak This allows to determine if a peak is soft or not

id?: string
index: number

index in the 'x' and 'y' array of the peak

inflectionPoints: {
    from: {
        index: number;
        x: number;
    };
    to: {
        index: number;
        x: number;
    };
}

Type declaration

  • from: {
        index: number;
        x: number;
    }
    • index: number
    • x: number
  • to: {
        index: number;
        x: number;
    }
    • index: number
    • x: number
width: number

Width at the level of the inflection points

x: number
y: number