24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 2011  |  回复: 5
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

bustertang

新虫 (初入文坛)

[求助] Kramers-Kronig Relations 推导介电常数 已有2人参与

希望用epsilon2推导epsilon1,已经找到了别人的matlab程序,但是看不懂input中的alpha(the value of the moment considered)指的是什么意思,另外两个参数omiga,imchi都有。不知道alpha该怎么设置。
%The program inputs are 1) omega, vector of the frequency
%(or energy) components, 2) imchi, vector of the imaginary
%part of the susceptibility under examination, and 3) alpha,
%the value of the moment considered. The two vectors
%1) and 2) must have the same length.
%The output is the estimate of the real part as obtained
%with K-K relations.
%In order to use this program, save the whole text contained
%in this section in a file and name it kkrebook.m
if size(omega,1)>size(omega,2);
omega=omega';
end;
if size(imchi,1)>size(imchi,2);
imchi=imchi';
end;
%Here the program rearranges the two vectors so that,
%whichever their initial shape, they become row vectors.
g=size(omega,2);
%Size of the vectors.%
rechi=zeros(size(imchi));
%The output is initialized.
a=zeros(size(imchi));
b=zeros(size(imchi));
%Two vectors for intermediate calculations are initialized
deltaomega=omega(2)-omega(1);
%Here we compute the frequency (or energy) interval
j=1;
beta1=0;
for k=2:g;
b(1)=beta1+imchi(k)*omega(k)^(2*alpha+1)/...
(omega(k)^2-omega(1)^2);
beta1=b(1);
end;
rechi(1)=2/pi*deltaomega*b(1)*omega(1)^(-2*alpha);
%First element of the output: the principal part integration
%is computed by excluding the first element of the input
j=g;
alpha1=0;
for k=1:g-1;
a(g)=alpha1+imchi(k)*omega(k)^(2*alpha+1)/...
(omega(k)^2-omega(g)^2);
alpha1=a(g);
end;
rechi(g)=2/pi*deltaomega*a(g)*omega(g)^(-2*alpha);
%Last element of the output: the principal part integration
%is computed by excluding the last element of the input
for j=2:g-1; ;
%Loop on the inner components of the output vector.
alpha1=0;
beta1=0;
for k=1:j-1;
a(j)=alpha1+imchi(k)*omega(k)^(2*alpha+1)/...
(omega(k)^2-omega(j)^2);
alpha1=a(j);
end;
for k=j+1:g;
b(j)=beta1+imchi(k)*omega(k)^(2*alpha+1)/...
(omega(k)^2-omega(j)^2);
beta1=b(j);
end;
rechi(j)=2/pi*deltaomega*(a(j)+b(j))*omega(j)^(-2*alpha);
end;
%Last element of the output: the principal part integration
%is computed by excluding the last element of the input
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xgp326265322

铁虫 (正式写手)

【答案】应助回帖

引用回帖:
2楼: Originally posted by lsh182 at 2017-12-21 06:36:49
alpha设为0即可,该程序出自Kramers–Kronig Relations in Optical Materials Research一书,不知楼主后来正常使用没有?

您好,它的这个代码哪个代表反射光谱,如何通过反射光谱计算介电常数
6楼2020-03-18 20:07:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

lsh182

新虫 (初入文坛)

【答案】应助回帖

alpha设为0即可,该程序出自Kramers–Kronig Relations in Optical Materials Research一书,不知楼主后来正常使用没有?
2楼2017-12-21 06:36:49
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Thou_actor

新虫 (小有名气)

楼主现在知道alpha是什么意思,怎么设置了吗?我也有这个问题
3楼2019-04-03 16:03:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xgp326265322

铁虫 (正式写手)

您好,你的问题解决了吗?
4楼2020-03-18 17:24:22
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 本2一志愿C9-333分,材料科学与工程,求调剂 +4 升升不降 2026-03-31 4/200 2026-03-31 07:42 by jp9609
[考研] 11408总分309,一志愿东南大学求调剂,不挑专业 +5 天赋带到THU 2026-03-29 6/300 2026-03-30 20:49 by dick_runner
[考研] 一志愿北京化工大学材料与化工(085600)296求调剂 +25 稻妻小编 2026-03-26 25/1250 2026-03-30 20:11 by 滴滴上岸呀
[考研] 0703化学321分求调剂 +10 三dd. 2026-03-30 11/550 2026-03-30 19:24 by markhwc
[考研] 材料化工340求调剂 +3 jhx777 2026-03-30 3/150 2026-03-30 17:54 by JourneyLucky
[考研] 262求调剂 +4 ZZ..000 2026-03-30 4/200 2026-03-30 15:57 by wangjy2002
[考研] 329求调剂,一志愿西北工业大学,材料工程(085601) +5 小小机灵虫 2026-03-29 11/550 2026-03-30 15:02 by Wang200018
[考研] 本科211生物医学工程085409求调剂339分 +3 里子木yy 2026-03-29 3/150 2026-03-30 13:29 by gyzj2026
[考研] 070300化学354求调剂 +7 101次希望 2026-03-28 7/350 2026-03-30 13:22 by Iveryant
[考研] 349求调剂 +6 李木子啊哈哈 2026-03-25 6/300 2026-03-29 12:47 by 无际的草原
[考研] 2026年华南师范大学欢迎化学,化工,生物,生医工等专业优秀学子加入! +3 llss0711 2026-03-28 6/300 2026-03-29 10:26 by llss0711
[考研] 085600,专业课化工原理,321分求调剂 +5 大馋小子 2026-03-28 5/250 2026-03-29 08:56 by qingfeng258
[考研] 330分求调剂 +5 qzenlc 2026-03-29 5/250 2026-03-29 07:37 by 无际的草原
[考研] 356求调剂 +3 gysy?s?a 2026-03-28 3/150 2026-03-29 00:33 by 544594351
[考研] 数一英一271专硕(085401)求调剂,可跨 +7 前行必有光 2026-03-28 8/400 2026-03-28 23:22 by 小木虫tim
[考研] 266分,求材料冶金能源化工等调剂 +7 哇呼哼呼哼 2026-03-27 9/450 2026-03-28 12:22 by zllcz
[考研] 286求调剂 +4 丢掉懒惰 2026-03-27 7/350 2026-03-28 08:07 by baoball
[考研] 352分 化工与材料 +5 海纳百川Ly 2026-03-27 5/250 2026-03-28 03:39 by fmesaito
[考研] 求调剂 +4 零八# 2026-03-27 4/200 2026-03-27 18:07 by yu221
[考研] 316求调剂 +5 Pigcasso 2026-03-24 5/250 2026-03-27 12:10 by zhshch
信息提示
请填处理意见