我有这段代码来定义一个函数
def f(Frequency,Omegahot,Beta,Omegacold,Thot,Tcold):
C=300000000
k=1.38E-23
h=6.062E-34
return(Omegahot*numpy.power(Frequency,Beta))*((2*h*numpy.power(Frequency,3)/(C**2)))*(1/(numpy.exp(h*Frequency/(k*Thot))-1)) + (Omegacold*numpy.power(Frequency,Beta)*((2*h*numpy.power(Frequency,3)/(C**2)))*(1/(numpy.exp(h*Frequency/(k*Tcold))-1))
xdata=[1,2,3,4,5]
popt, pcov = curve_fit(f,xdata,fluxs,p0=None,)
print popt
但是我在 xdata=[1,2,3,4,5] 行遇到语法错误我在做什么错