Interface SpectrumVariable<DataType>

Describe a variable that can only contains as data an array of number

interface SpectrumVariable {
    data: DataType;
    isDependent?: boolean;
    isMonotone?: boolean;
    label: string;
    max?: number;
    min?: number;
    symbol?: OneLetter;
    units?: string;
}

Type Parameters

  • DataType extends DoubleArray = DoubleArray

Properties

data: DataType

An array containing numerical data

isDependent?: boolean
isMonotone?: boolean

If defined indicates (true or false) if the data series is monotone

label: string

Long name of the column @TJS-examples ["absolute pressure"]

max?: number

If defined contain the maximal value of the data

min?: number

If defined contain the minimal value of the data

symbol?: OneLetter

One letter that allows to define the variable

units?: string

Unit of the data in the column @TJS-examples ["Pa", "kg"]