#NEWLINE# def normalize_scattering_matrix( self ) : #NEWLINE# #INDENT# for inu in range ( len ( self . nu ) ) : #NEWLINE# #INDENT# norm = interp1d_fast_linlog ( self . mu , self . P1 [ inu , : ] , 0.0 ) #NEWLINE# self . P1 [ inu , : ] /= norm #NEWLINE# self . P2 [ inu , : ] /= norm #NEWLINE# self . P3 [ inu , : ] /= norm #NEWLINE# self . P4 [ inu , : ] /= norm