Class: Abachrome::Illuminants::D65

Inherits:
Base
  • Object
show all
Defined in:
lib/abachrome/illuminants/d65.rb

Class Method Summary collapse

Methods inherited from Base

to_s, whitepoint, xyz

Class Method Details

.descriptionObject



30
31
32
# File 'lib/abachrome/illuminants/d65.rb', line 30

def self.description
  "CIE Standard Illuminant D65 - represents average daylight with a correlated color temperature of 6504K"
end

.nameObject



26
27
28
# File 'lib/abachrome/illuminants/d65.rb', line 26

def self.name
  "D65"
end

.temperatureObject



22
23
24
# File 'lib/abachrome/illuminants/d65.rb', line 22

def self.temperature
  6504
end

.white_pointObject



18
19
20
# File 'lib/abachrome/illuminants/d65.rb', line 18

def self.white_point
  [x, y, z]
end

.xObject



6
7
8
# File 'lib/abachrome/illuminants/d65.rb', line 6

def self.x
  95.047
end

.yObject



10
11
12
# File 'lib/abachrome/illuminants/d65.rb', line 10

def self.y
  100.000
end

.zObject



14
15
16
# File 'lib/abachrome/illuminants/d65.rb', line 14

def self.z
  108.883
end