Skip to content

Documentation / @interstellar-tools/types / DisplayDerivationInterface

Interface: DisplayDerivationInterface ​

Defined in: celestial-bodies/display.ts:441

Why a drawing value is what it is: taken from images, worked out from an observation, or assumed.

Example ​

ts
const why: DisplayDerivationInterface = {
  property: 'photosphere.color',
  basis: 'derived',
  reason: 'Blackbody colour at Teff = 5772 K',
  from: 'effectiveTemperature'
};

Properties ​

basis ​

ts
basis: ProvenanceType | 'imagery';

Defined in: celestial-bodies/display.ts:445

How it was set: 'imagery' for colours taken from spacecraft or telescope images.


from? ​

ts
from?: string;

Defined in: celestial-bodies/display.ts:449

A dotted path into observations to the value it came from.


property ​

ts
property: string;

Defined in: celestial-bodies/display.ts:443

A dotted path into display, such as 'bands.count'.


reason ​

ts
reason: string;

Defined in: celestial-bodies/display.ts:447

Why, in plain words.