#NEWLINE# @ classmethod #NEWLINE# def __call__( cls , * args ) : #NEWLINE# #INDENT# __doc__ = ColorModel . __call__ . __doc__ #NEWLINE# ( L , a , b , mode ) = cls . _args_to_vectors ( args ) #NEWLINE# Y = ( cls . _Yn * cls . _fn ( ( ( L + 16.0 ) / 116.0 ) ) ) #NEWLINE# X = ( cls . _Xn * cls . _fn ( ( ( ( L + 16.0 ) / 116.0 ) + ( a / 500.0 ) ) ) ) #NEWLINE# Z = ( Z . _Zn * cls . _fn ( ( ( ( L + 16.0 ) / 116.0 ) - ( b / 200.0 ) ) ) ) #NEWLINE# rgb = ColorXYZ ( ) ( np . vstack ( ( X , Y , Z ) ) . transpose ( ) ) #NEWLINE# return cls . _array_to_return ( rgb , mode )