LAL 学习

18 6 月, 2013

LAL 学习
https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html

LAAC Data Analysis Training
LALSuite
installing LAL and LALApps
LALSuite Git
LALSuite is comprised of the following components
LAL: Core gravitational wave analysis routines
LALFrame: LAL wrapping of the LIGO/Virgo Frame library
LALMetaIO:LAL wrapping of the MetaIO LIGO_LW XML library
LALXML:LAL wrapping of the libxml2 XML library, currently unused
LALSimulation:LAL routines for gravitational waveform and noise generation
LALBurst:LAL routines for burst gravitational wave data analysis
LALInspiral:LAL routines for inspiral and ringdown CBC gravitational wave data analysis
LALPulsar:LAL routines for pulsar and continuous wave gravitational wave data analysis
LALInference:LAL routines for Bayesian inference data analysis
LALStochastic:LAL routines for stochastic background gravitational wave data analysis
LALApps: Collection of gravitational wave data analysis codes and pipelines utilising the LAL libraries

cbc code 执行命令
https://www.lsc-group.phys.uwm.edu/ligovirgo/cbcnote/BayesianReview/InspnestDocs

universe = standard
executable = lalapps_inspnest
arguments = ” -i LALLIGO -I H1 -C test –inj test_injection.xml -o test_0.dat –srate 2048 –Nsegs 10 –length 100 –Nlive 1000 –Nmcmc 200 –verbose”
error = lalapps_inspnest$(Process).err
output = lalapps_inspnest$(Process).out
log = mycode.log
notification = never
queue

安装 LALSuite
https://www.lsc-group.phys.uwm.edu/daswg/docs/howto/lal-install.html
某机器上第一次安装
先安装有一些别的软件确保LALSuite安装
必须有些手动操作设置    To setup your environment to use the newly-built LAL
分别安装LALSuite 里面的每个包  (顺序和网站上说的不同有时需要不同,因为包的依赖问题,要有耐心测试。。。)
LAL
LALFrame
LALMetalO
LAMXML
LALSimulation
LALBurst
LALPulsar
LALInspiral
LALInference
LALApps   如果不是需要远程登陆本机器操作, 就不用  –enable-condor

最后 别忘了 把 source ${LSCSOFT_ROOTDIR}/etc/lscsoftrc 加到     .bash_profile  里面!

安装LALSuite  note  from Matt
cloned the lalsuite directory (e.g. using “git clone xilong.fan@ligo-vcs.phys.uwm.edu:/usr/local/git/lalsuite.git”)
installed all the parts of lalsuite (lal, lalmetaio, lalxml,lalsimulation, lalinspiral, lalburst, lalpulsar, lalstochastic, lalinference)
checked-out the lalinference_burst branch using “git branch –track lalinference_burst origin/lalinference_burst”
git checkout lalinference_burst

–If that’s what you’ve done then you should currently be in the lalinference_burst branch. You can check what branch you’re in by typing “git branch” and it will list the branches – there will be a * next to the name of the branch that you are in.
–If you want to run codes that have been developed in this branch then you should probably reinstalled all of lalsuite from this branch. So, you should perform “make uninstall” and “make distclean” in all the parts of lalsuite, and then reinstall all of them.

Note: Having the release versions of LALSuite installed from MacPorts will lead to build errors if you try and build LALSuite from the git repository. If you are planning on building LALSuite from git do not installed these ports.

如果安装了怎么办?
卸载!

fantekiMacBook-Pro:~ fanf$ sudo port uninstall lalapps
fantekiMacBook-Pro:~ fanf$ sudo port uninstall LALStochastic
sudo port uninstall LALApps
sudo port uninstall LALInference
sudo port uninstall LALStochastic
sudo port uninstall LALInspiral
sudo port uninstall LALPulsar
sudo port uninstall LALBurst
sudo port uninstall LALSimulation
sudo port uninstall LALMetaiO
sudo port uninstall LALXML
sudo port uninstall LALFrame
sudo port uninstall LAL

sampling

22 5 月, 2013

淡淡的忧伤

17 5 月, 2013

作为假装玩天文的伪物理工作者,我今早突然想:我不关心生物学,甚至轻视非物理学的学科,是不是像17世纪博物学家不(不屑于)懂物理学一样。。。有了这个看法后,我就很哀伤了。。。

a phd is not enough 之 idea is cheap

30 3 月, 2013

最近终于可以整理08年的一个工作,以期发表后证明我学过引力波数据处理。这篇文章的原初idea(s) 是根据我当年跟随一个我永远不能超越的同龄人随便说了一个idea下发展的。

首 先我整理了我数学技巧方面的工作,在和 @a 的讨论过程中, 我逐渐清晰了以前我清晰过的数学问题,并且获知这个课题涉及天文的基本idea@a 也思考过。 其实这个基本idea 是任何一个合格的具有天文知识的引力波数据处理工作者都应该有的, 例如 @b 和 @c 在和我以前的讨论中都提到过这个天文idea。只不过,因为某些原因,他们没实现。

在逐渐清晰了数学技巧后,我开始整理我的更多物理细节方 面的ideas,在我觉得这些ideas 是如此的牛逼的时候,我又阅读了我们当年感觉另外一篇做得不好的文章。 然后我发现我的那些所谓牛逼的物理ideas 都已经被那文章提到过,只是实现ideas的手段不好而已。 然后我怀疑我的那些ideas 是当年我自己想的还是看过那文章后才冒出来的。总之,实事就是所这个工作几乎所有的物理方面ideas都已经被别人用文章表述过。

因此,这项工作最终最多只能是PRD,甚至沦落到CQG的档次。这是在没人提前实现这工作所有ideas的情况下,否则会沦落到让我和合作者蒙羞的某论文的档次。

与此同时,作为刚毕业的博士生,我分享了一些天文方面的ideas,以便我们学校刚进入天体物理的人能跟进作出一些科学结果。

照此为自然学科博士做一个判据:

当博士毕业的时候,达到60分,你至少得实现1-2个idea。

如果这1-2个idea 是你自己想的,那么能到65分。

拥有一些ideas 和技术, 以免你脱离了老板,脱离课题组,你还能做科学,那么达到70分。

能够分享一些小的ideas给初学者让他们也能做科学,那么达到75分。

以 上分数为这个评价体系的最低分。基于idea产生的论文期刊水平(影响因子)作为衡量标准,期刊零点为最低sci级别,以science和nature 作为最高级别: 例如一个刚毕业的博士能立马指导刚进入某领域的学生发表一篇nature(或者其领域最顶级的期刊),那么他就是100分。 一个刚毕业的博士在中国科学上发表2篇文章就是60分。

此项判据会导致爱因斯坦是得分比较低的博士毕业生,但是这不影响他是最伟大的物理学家,因为物理学家不都是优秀的博士毕业生,而优秀的博士毕业生很多之后没能突破他毕业时候的成就。

因此拥有“伟大,崇高,无上,秒杀其他课题,鄙视其它学科” idea(s)(例如统一GR和QM),但是没有发表sci论文的博士是不及格。

~~~~~~~http://zh.wikipedia.org/wiki/%E7%88%B1%E5%9B%A0%E6%96%AF%E5%9D%A6

爱因斯坦利用业余时间开展科学研究,于1905年在物理学三个不同领域中取得了历史性成就,特别是狭义相对论的建立和光量子论的提出,成为了物理学理论的革命。翌年1月15日,凭借论文《分子大小的新测定法》,取得苏黎世大学的博士学位。

爱因斯坦在1905年发表了六篇划时代的论文,分别为:《关于光的产生和转化的一个试探性观点》、《分子大小的新测定方法》、《基于热分子运动论的静止液体中悬浮粒子的运动研究》、《论动体的电动力学》、《物体的惯性同它所含的能量有关吗?》、《布朗运动的一些检视》。

~~~~~~~~~ 这证明我的判据不是太愚蠢。

博后计划介绍 2 Newton International Fellowship

10 11 月, 2012

Newton International Fellowship  号称比 玛丽居里计划  还难。

这是官网,http://www.newtonfellowships.org/

这是皇家协会的介绍 http://royalsociety.org/grants/schemes/newton-international/

基本上,每年1月出计划,4月截至申请,10月出结果。

钱不是很多,一共两年。每年和申请人相关的才24000+8000磅。 外加第一年2000安家费。 而非常吸引人的之后连续10年每年6000的支持可能也因为金融危机不执行了。。。

除去资格问题,和玛丽居里计划 最大区别在于需要6封推荐信(3封申请人提供推荐人,3封host提供推荐人)。我想这是最困难的地方。也就是说,除去你获得一个牛校的人愿意合和你一起写一个计划外,这个计划要得到双方单位4名负责人的推荐和另外2名专家的推荐。我个人建议这两名专家需要是你们能找到最具份量的,并且能提出专业评审意见的友善的专家。

之后就是和来自所有领域(自然,社会,人类) 的人pk。 The scheme covers the broad range of the natural and social sciences and the humanities. The success rate is 7%.

成功的人会被称为 Newton International Fellow。 可以简称 牛研究员 :)

但是比较坑爹的是:the payment will be made in arrears in quarterly instalments.

Newton International Fellow 翻译成 牛顿国际学者,这样的话,这就不是个博士后职位。问题是,到底什么事博士后职位?

江湖

15 2 月, 2012

We all know science is not enough, Let’s hope it is important.

博后计划介绍 1 玛丽居里计划

28 11 月, 2011

申请博后是个系统工程。我得到了很多同学的帮助。我也愿意帮助更多的同学。 计划写一写我申请过的或者我知道的博后计划的介绍。今天第一个,号称世界最牛博后计划。

玛丽居里计划 Marie Curie action

http://www.chinamission.be/chn/sbgx/jy/zojyhz/t377592.htm

为啥说是世界最牛的计划呢?

首先它给钱多,多到什么程度呢?众所周知 澳大利亚给博后的钱是非常高的,每年在7万澳元左右。玛丽居里每年给至少给8万欧元!!

其次,此计划评审最严格,申请人仅仅占计划的20%。也就是说不但申请人要牛,你申请的地方也得牛,和你一起申请的人也得牛,你申请的课题也得牛。你申请的课题和你申请的地方以及帮你申请的人需要相当匹配,你申请的课题和你也得相当匹配。

人在欧洲的同学可申请IEF, 人在第三世界的同学可申请IIF。

http://ec.europa.eu/research/participants/portal/page/people&state=open

符合最基本条件后(详情见每个计划的要求),申请第一步就是联系一个牛单位的一个牛人愿意和你一起准备一个课题申请。如果那单位同意你申请,那至少说明你已经经过了他们学校的审核了,因为这种计划不是针对任何一个专业的。任何学校都要扩大自己的申请成功概率。

然后就是准备报告了,计划发布后给你3个月的时间准备。但是我个人的感觉是各个学校自己的审核就需要一定时间,所以最好提前联系提前准备。我们就准备的很仓促,那段时间每天写到2点。。

此计划的牛逼之处还在于超高的淘汰率。虽然你的项目在你的专业内可能很牛,但是这项目不是针对某专业的,谁敢说研究高能物理的比研究昆虫行为的牛逼?

今年IEF 项目仅仅能支持600个项目,符合最低资助条件的有2529个。

冲着每年8万欧的工资,和同样恐怖的科研经费,此计划无疑值得最先尝试。。。

印记

29 10 月, 2011

写博士毕业论文过程中,我意识到》3年过去了,我还是习惯说the high energy released in a short time 而不是说 the high luminosity。。。。

Wen-Fan-Chen expressions

6 10 月, 2011

I will base Directional Precision on a simpli cation of the Wen-Fan-Chen expressions, which in their full form allow the exact computation of position errors for networks of any number of non-identical detectors.

Wen and Chen [8] show that the solid angle uncertainty is given by

http://arxiv.org/PS_cache/arxiv/pdf/1102/1102.5421v2.pdf

如果当初。。

满是悔恨。。

the easiest person to fool

27 9 月, 2011

“The first principle is that you must not fool yourself–and you are the easiest person to fool. So you have to be very careful about that. After you’ve not fooled yourself, it’s easy not to fool other scientists. You just have to be honest in a conventional way after that.” –Richard Feynman