common-spectrum
    Preparing search index...

    Interface SpectrumSelector

    interface SpectrumSelector {
        dataType?: string | RegExp;
        index?: number;
        labels?: string;
        meta?: Record<string, string>;
        title?: string | RegExp;
        units?: string;
        variables?: string;
        xLabel?: string | RegExp;
        xUnits?: string;
        xVariable?: OneLowerCase;
        yLabel?: string | RegExp;
        yUnits?: string;
        yVariable?: OneLowerCase;
    }
    Index

    Properties

    dataType?: string | RegExp

    Select based on the data type

    index?: number

    The index of the spectrum in the spectra array

    labels?: string

    Allows to specify 2 labels using a string like 'nm vs °C'

    meta?: Record<string, string>

    Select based on the presence of a meta information

    title?: string | RegExp

    Select based on the title field

    units?: string

    Allows to specify 2 units using a string like 'nm vs °C'

    variables?: string

    Allows to specify X and Y variables using a string like 'c vs d'

    xLabel?: string | RegExp

    Filter based on xLabel

    xUnits?: string

    Filter based on xUnits

    xVariable?: OneLowerCase

    Select a specific X variable by one letter name

    'x'
    
    yLabel?: string | RegExp

    Filter based on yLabel

    yUnits?: string

    Filter based on yUnits

    yVariable?: OneLowerCase

    Select a specific Y variable by one letter name

    'y'