message_box('Sample spectral power distribution interpolation.')
clone_spd.interpolate(colour.SpectralShape(360, 780, 1))
print(clone_spd[666])

print('\n')

message_box('Sample spectral power distribution extrapolation.')
clone_spd.extrapolate(colour.SpectralShape(340, 830))
print(clone_spd[340], clone_spd[360])

print('\n')

message_box('Sample spectral power distribution align.')
clone_spd.align(colour.SpectralShape(400, 700, 5))
print(clone_spd[400], clone_spd[700])

print('\n')

message_box('Constant value filled spectral power distribution.')
print(colour.constant_spd(3.1415)[400])

print('\n')

message_box('Zeros filled spectral power distribution.')
print(colour.zeros_spd()[400])

print('\n')

message_box('Ones filled spectral power distribution.')
print(colour.ones_spd()[400])
message_box("Sample spectral power distribution interpolation.")
clone_spd.interpolate(colour.SpectralShape(360, 780, 1))
print(clone_spd[666])

print("\n")

message_box("Sample spectral power distribution extrapolation.")
clone_spd.extrapolate(colour.SpectralShape(340, 830))
print(clone_spd[340], clone_spd[360])

print("\n")

message_box("Sample spectral power distribution align.")
clone_spd.align(colour.SpectralShape(400, 700, 5))
print(clone_spd[400], clone_spd[700])

print("\n")

message_box("Constant value filled spectral power distribution.")
print(colour.constant_spd(3.1415)[400])

print("\n")

message_box("Zeros filled spectral power distribution.")
print(colour.zeros_spd()[400])

print("\n")

message_box("Ones filled spectral power distribution.")
print(colour.ones_spd()[400])