Kevin12151011的个人博客分享 http://blog.sciencenet.cn/u/Kevin12151011

博文

按标题搜索
射电天文数据处理:miriad转casa做成图的始末
2018-7-6 09:46
如果是做干涉阵数据处理,最好是先转入casa,再calibration+imaging,不要在miriad做calibration后再在casa做imaging,否则容易丢失信息,这里详细说明: https://safe.nrao.edu/wiki/bin/view/Main/SMAVelocityScale 。否则可能会遇到与我相似的经历~ 我现在有SMA多日期观测的数据,calibration已做好。 ...
个人分类: 天文软件|2923 次阅读|没有评论
Latex不浮动图形
2018-6-6 21:07
写文章由于图多,提示Too many unprocessed floats,原因是Latex默认最多堆栈18张图。 加上\extrafloats{1234},还是不行。 最后将图作为不浮动对象插入,问题解决,还解决了章标题和图不能在同一页的问题。 见http://www.ctex.org/documents/latex/graphics/node87.html#chap:nonfloat ...
个人分类: Latex写作|2837 次阅读|没有评论
Mac下环境变量的设置(及montage_wrapper的正确安装)
2018-5-29 14:25
Mac加载环境变量的顺序为: /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc 其中/etc是系统启动就加载的,详见 https://www.jianshu.com/p/acb1f062a925 。 montage——wrapper装好并在.bashrc设置环境变量后,python里总是import不进来,原来是 ...
个人分类: Linux系统|2406 次阅读|没有评论
Latex 中的counter
2018-2-3 16:23
用Latexe写论文遇到问题: 当figure环境内用 \figurenum{text} 指定figure number时,文章中的图片交叉引用无法传送到别的figure上去了。 原因:Latex对不同对象(如section,figure,page)有不同的counter,每次建立一个对象counter+1,但是使用 \figurenum命令时不+1. 解决:figure环境里强行加一: \addtoc ...
个人分类: Latex写作|2886 次阅读|没有评论
mac下matplotlib三维画图鼠标拖动卡顿问题
2018-1-18 16:46
这篇GitHub已经很清楚了: https://github.com/dopplershift/matplotlib/commit/9e2580742b2dcb8c5e6653d48acd9ce2a796df44
个人分类: Python编程|5663 次阅读|没有评论
Database managment
2017-10-23 08:55
1. Consider a dictionary with several keys, the best way to select the keys you want to study is to create a switch for each of key. Use determine statements to select. A little bothering in the begining, but much beneficial in the long run.
个人分类: Python编程|1251 次阅读|没有评论
Specify RGBA values of points for scatter ploting
2017-9-10 04:57
for matplotlib scatter function and aplpy show_markers function, the argument c can be a n*4 array which specify the rgb alpha values of each point, while argument color, edgecolor and facecolor can only be scalars or 1D arrays.
个人分类: Python编程|1298 次阅读|没有评论
python中dict不要用其他变量指代
2017-6-12 16:24
a是一二次嵌套dict, 另tmp=a , 则对tmp的修改会影响到a上,故这种用法很危险,容易错误的篡改a.
个人分类: Python编程|2169 次阅读|没有评论
miriad运行时无法找到libg2c.so.0解决方案
2017-4-30 15:05
miriad运行时可能找不到libg2c.so.0文件而产生错误: miriad libg2c.so.0: cannot open shared object file: No such file or directory 解决方法: 找到该文件,放在/usr/lib下。 寻找方法: 1. 见附件 libg2c.so.0 2. 安装casa4.7.0,里面有 3. 试试这篇博文 http://blog.sciencenet.cn/home.php?mod=space ...
个人分类: 天文软件|2644 次阅读|没有评论
ubuntu安装分区问题
2017-4-30 09:48
一般这样分区: 交换空间(swap): 一般和内存同样大小 / 分区:20G左右 /home分区:越大越好 分区格式一般选ext4,Windows的话用ntfs. 选择主分区或逻辑分区都可以。
个人分类: Linux系统|2092 次阅读|没有评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-22 08:54

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部