thanks for the response, as i mentioned i overcome that problem by adding up to individual code to single one. Now i can not understand why Gamma_L is asking for unit or something like that???!!!
___________________________________________________________________________________
YD = displacementAdmittance(average_fermi_level, omega, T, N, H, S, Sigma_L, Sigma_R)
File "c:\users\utabco\appdata\local\temp\2897894476902862.py", line 75, in displacementAdmittance
Gamma_L = 1j*(Sigma_L-numpy.conj(Sigma_L.transpose()))
File ".\zipdir\NL\CommonConcepts\PhysicalQuantity.py", line 425, in __sub__
File ".\zipdir\NL\CommonConcepts\PhysicalQuantity.py", line 753, in inUnitsOf
File ".\zipdir\NL\CommonConcepts\PhysicalQuantity.py", line 249, in unit
AttributeError: 'PhysicalQuantity' object has no attribute '_PhysicalQuantity__unit'
___________________________________________________________________________________
what it means? and how can i overcome this error?
thanks,