Skip to main content
Version: 4.1.0

ProfileSmoothingStore

Index

Constructors

constructor

  • new ProfileSmoothingStore(): ProfileSmoothingStore
  • Returns ProfileSmoothingStore

Properties

binWidth

binWidth: number

boxcarSize

boxcarSize: number

colorMap

colorMap: Map<string, string>

decimationWidth

decimationWidth: number

gaussianSigma

gaussianSigma: number

hanningSize

hanningSize: number

isOverlayOn

isOverlayOn: boolean

lineColor

lineColor: string

lineType

lineType: PlotType

lineWidth

lineWidth: number

pointRadius

pointRadius: number

savitzkyGolayOrder

savitzkyGolayOrder: number

savitzkyGolaySize

savitzkyGolaySize: number

selectedLine

selectedLine: string

type

type: SmoothingType

Accessors

comments

  • get comments(): string[]
  • Returns string[]

exportData

  • get exportData(): Map<string, string>
  • Returns Map<string, string>

gaussianAlpha

  • get gaussianAlpha(): number
  • Returns number

gaussianKernel

  • get gaussianKernel(): number
  • Returns number

Methods

getDecimatedPoint2DArray

  • getDecimatedPoint2DArray(x: number[], y: Float32Array | Float64Array, decimationWidth: number, xMinIndex?: number, xMaxIndex?: number): Point2D[]
  • Parameters

    • x: number[]
    • y: Float32Array | Float64Array
    • decimationWidth: number
    • optionalxMinIndex: number
    • optionalxMaxIndex: number

    Returns Point2D[]

getSmoothingPoint2DArray

  • getSmoothingPoint2DArray(x: number[], y: Float32Array | Float64Array, xMinIndex?: number, xMaxIndex?: number): Point2D[]
  • Parameters

    • x: number[]
    • y: Float32Array | Float64Array
    • optionalxMinIndex: number
    • optionalxMaxIndex: number

    Returns Point2D[]

getSmoothingValues

  • getSmoothingValues(x: number[], y: Float32Array | Float64Array, xMinIndex?: number, xMaxIndex?: number): { x: number[]; y: Float32Array | Float64Array }
  • Parameters

    • x: number[]
    • y: Float32Array | Float64Array
    • optionalxMinIndex: number
    • optionalxMaxIndex: number

    Returns { x: number[]; y: Float32Array | Float64Array }

    • x: number[]
    • y: Float32Array | Float64Array

setBinWidth

  • setBinWidth(val: number): void
  • Parameters

    • val: number

    Returns void

setBoxcarSize

  • setBoxcarSize(val: number): void
  • Parameters

    • val: number

    Returns void

setColorMap

  • setColorMap(key: string, color: string): void
  • Parameters

    • key: string
    • color: string

    Returns void

setDecimationWidth

  • setDecimationWidth(val: number): void
  • Parameters

    • val: number

    Returns void

setGaussianSigma

  • setGaussianSigma(val: number): void
  • Parameters

    • val: number

    Returns void

setHanningSize

  • setHanningSize(val: number): void
  • Parameters

    • val: number

    Returns void

setIsOverlayOn

  • setIsOverlayOn(val: boolean): void
  • Parameters

    • val: boolean

    Returns void

setLineColor

  • setLineColor(color: string): void
  • Parameters

    • color: string

    Returns void

setLineType

  • setLineType(val: PlotType): void
  • Parameters

    • val: PlotType

    Returns void

setLineWidth

  • setLineWidth(val: number): void
  • Parameters

    • val: number

    Returns void

setPointRadius

  • setPointRadius(val: number): void
  • Parameters

    • val: number

    Returns void

setSavitzkyGolayOrder

  • setSavitzkyGolayOrder(val: number): void
  • Parameters

    • val: number

    Returns void

setSavitzkyGolaySize

  • setSavitzkyGolaySize(val: number): void
  • Parameters

    • val: number

    Returns void

setSelectedLine

  • setSelectedLine(key: string): void
  • Parameters

    • key: string

    Returns void

setType

  • setType(val: SmoothingType): void
  • Parameters

    • val: SmoothingType

    Returns void