colour.D_illuminant_relative_spd¶
-
colour.
D_illuminant_relative_spd
(xy)[source]¶ Returns the relative spectral power distribution of given CIE Standard Illuminant D Series using given xy chromaticity coordinates.
References
Parameters: xy (array_like) – xy chromaticity coordinates. Returns: CIE Standard Illuminant D Series relative spectral power distribution. Return type: SpectralPowerDistribution Examples
>>> from colour.utilities import numpy_print_options >>> xy = np.array([0.34570, 0.35850]) >>> with numpy_print_options(suppress=True): ... D_illuminant_relative_spd(xy) SpectralPowerDistribution([[ 300. , 0.0193039...], [ 310. , 2.1265303...], [ 320. , 7.9867359...], [ 330. , 15.1666959...], [ 340. , 18.3413202...], [ 350. , 21.3757973...], [ 360. , 24.2528862...], [ 370. , 26.2782171...], [ 380. , 24.7348842...], [ 390. , 30.0518667...], [ 400. , 49.458942 ...], [ 410. , 56.6929605...], [ 420. , 60.1981682...], [ 430. , 57.9390276...], [ 440. , 74.9047554...], [ 450. , 87.3151258...], [ 460. , 90.6691236...], [ 470. , 91.4109985...], [ 480. , 95.1362798...], [ 490. , 91.9956940...], [ 500. , 95.7488852...], [ 510. , 96.6315995...], [ 520. , 97.1308377...], [ 530. , 102.0961518...], [ 540. , 100.7580555...], [ 550. , 102.3164095...], [ 560. , 100. ...], [ 570. , 97.7339937...], [ 580. , 98.9175842...], [ 590. , 93.5440898...], [ 600. , 97.7548532...], [ 610. , 99.3559831...], [ 620. , 99.1396431...], [ 630. , 95.8275899...], [ 640. , 99.0028159...], [ 650. , 95.8307955...], [ 660. , 98.3850717...], [ 670. , 103.2245516...], [ 680. , 99.3672578...], [ 690. , 87.5676019...], [ 700. , 91.8218781...], [ 710. , 93.0772354...], [ 720. , 77.0098456...], [ 730. , 86.6795856...], [ 740. , 92.7570922...], [ 750. , 78.3784557...], [ 760. , 57.8075859...], [ 770. , 83.0873522...], [ 780. , 78.4245724...], [ 790. , 79.7098456...], [ 800. , 73.5435857...], [ 810. , 64.0424558...], [ 820. , 70.9121958...], [ 830. , 74.5862223...]], interpolator=SpragueInterpolator, interpolator_args={}, extrapolator=Extrapolator, extrapolator_args={...})