24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 2009  |  回复: 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的回帖

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的回帖

xgp326265322

铁虫 (正式写手)

您好,请问哪个代表的是反射光谱,如何使用反射光谱求解呢?
5楼2020-03-18 19:45:27
已阅   回复此楼   关注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的回帖
相关版块跳转 我要订阅楼主 bustertang 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 环境工程 085701,267求调剂 +8 minht 2026-03-29 8/400 2026-03-31 03:32 by 蒙奇奇521
[考研] 307求调剂 +18 超级伊昂大王 2026-03-24 20/1000 2026-03-31 01:16 by BruceLiu320
[考研] 求收留 +6 1943443204 2026-03-28 6/300 2026-03-30 20:37 by dick_runner
[考研] 生物学 296 求调剂 +5 朵朵- 2026-03-26 7/350 2026-03-30 20:07 by 源_2020
[考研] 抱歉 +3 田洪有 2026-03-30 3/150 2026-03-30 19:11 by 迷糊CCPs
[考研] 考研调剂 +5 Sanmu-124 2026-03-26 5/250 2026-03-30 13:36 by chemdavid
[考研] 070300一志愿211,312分求调剂院校 +4 小黄鸭宝 2026-03-30 4/200 2026-03-30 11:49 by 棒棒球手
[考研] 294分080500材料科学与工程求调剂 +8 柳溪边 2026-03-26 8/400 2026-03-29 20:42 by 唐沐儿
[考研] 一志愿武汉理工,总分321,英一数二,求老师收留。 +11 nnnnnnn5 2026-03-25 11/550 2026-03-29 20:42 by 无际的草原
[考研] 一志愿双一流机械285分求调剂 +4 幸运的三木 2026-03-29 5/250 2026-03-29 14:49 by Miko19
[考研] 本科双非材料,跨考一志愿华电085801电气,283求调剂,任何专业都可以 +6 芝士雪baoo 2026-03-28 8/400 2026-03-29 08:16 by 松花缸1201
[考研] 316求调剂 +7 江辞666 2026-03-26 7/350 2026-03-28 21:28 by sanrepian
[考研] 347求调剂 +3 山顶见α 2026-03-25 3/150 2026-03-28 14:13 by 唐沐儿
[考研] 化学调剂 +4 爱吃番茄的旭 2026-03-24 5/250 2026-03-27 17:50 by kiokin
[考研] 266分求材料化工冶金矿业等专业的调剂 +4 哇呼哼呼哼 2026-03-26 4/200 2026-03-27 17:02 by zhyzzh
[考研] 316求调剂 +5 Pigcasso 2026-03-24 5/250 2026-03-27 12:10 by zhshch
[考研] 一志愿天津大学339材料与化工求调剂 +3 江往卖鱼 2026-03-26 3/150 2026-03-26 09:42 by 王小欠i
[考研] 303求调剂 +6 蓝山月 2026-03-25 6/300 2026-03-25 22:47 by 418490947
[考研] 材料专硕 335 分求调剂 +4 拒绝冷暴力 2026-03-25 4/200 2026-03-25 18:45 by haxia
[考研] 材料考研调剂生 +3 黄粱一梦千年 2026-03-24 3/150 2026-03-24 17:00 by barlinike
信息提示
请填处理意见