Skip to main content

Class: BacklightPhotoCellConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:69

A configuration object which defines backlight photocell options.

Implements

Constructors

Constructor

new BacklightPhotoCellConfig(baseInstrument, element): BacklightPhotoCellConfig

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:90

Creates a new BacklightPhotoCellConfig from a configuration document element.

Parameters

ParameterTypeDescription
baseInstrumentBaseInstrumentThe BaseInstrument element associated with the configuration.
elementundefined | ElementA configuration document element.

Returns

BacklightPhotoCellConfig

Properties

gamma

readonly gamma: number

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:83

The gamma value to use when mapping input ambient light intensities to output backlight levels.


inputRange

readonly inputRange: readonly [number, number]

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:74

The range of input ambient light intensities, as [min, max] in lux, over which automatic photocell control operates.


outputRange

readonly outputRange: readonly [number, number]

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:77

The range of backlight levels, as [min, max], allowed to be set when under automatic photocell control.


timeConstant

readonly timeConstant: number

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:80

The time constant, in seconds, used by automatic photocell control to smooth input ambient light intensities.