摘要: 用class生成lmv文件后,这是一个cube文件,a56爆大奖在线娱乐们要转为二维的。 run moments input file name :g53-c18o.lmv out put file name :g53-c18o velocity range: v1 v2 detection threshold: l 阅读全文
posted @ 2020-11-01 11:10 cql_astro 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 在使用astropy处理fits文件的时候,经常用到几个包,其中一个就是units,这是单位量纲变换的包。 下面把最常用的几个命令罗列出来,以备用到的时候查看。 from astropy import units as u u.km km u.g**2 3.*u.pc*u.s / 4*u.erg u 阅读全文
posted @ 2020-10-22 22:45 cql_astro 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 数据来自:https://dr12.sdss.org/fields/name?name=m42 import numpy as np import matplotlib.pyplot as plt from astropy.io import fits m42=fits.open('fits_fil 阅读全文
posted @ 2020-10-16 09:33 cql_astro 阅读(198) 评论(0) 推荐(0) 编辑
摘要: fits文件是用来储存天文数据的主流方式,学会处理fits文件是天文科研必不可少的一道坎。 关于fits文件的介绍可以看这个网站:https://fits.gsfc.nasa.gov/ fits文件的下载:https://fits.gsfc.nasa.gov/fits_samples.html 这里 阅读全文
posted @ 2020-10-15 22:24 cql_astro 阅读(2004) 评论(0) 推荐(0) 编辑
摘要: 开始看的时候是迷糊的,经过一番调研,基本上搞明白了。 在a56爆大奖在线娱乐阅读的程序里,sys.argv是用来读取文件名的。 比如有一个文件名为m001.fits,a56爆大奖在线娱乐们可以直接在程序中输入文件名来读取 也可以用filename = sys.argv[1]来代替,这里的[1],表述输入的第一个参数,也即文件名,如果是 阅读全文
posted @ 2020-10-09 10:50 cql_astro 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Information from Astronomical Spectra 待续。。。。。 阅读全文
posted @ 2020-10-08 11:09 cql_astro 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1.可参考这篇文章https://blog.csdn.net/weixin_43433995/article/details/101526682 但按照这篇文章一路安装下来,最终并不能成功打开class。2.官方文档http://www.iram.fr/~gildas/dist/gildas.REA 阅读全文
posted @ 2020-09-15 12:41 cql_astro 阅读(784) 评论(0) 推荐(0) 编辑
摘要: a56爆大奖在线娱乐是学习科研数据处理视频第三章的记录。 几个关键词: 平均值±标准差 Mean±SD 平均值±标准误 Mean±SEM Mean用来衡量某实验指标数值的一般水平。 SD和SEM衡量该实验指标数值的波动。 标准差、标准偏差(Standard Deviation, SD) 标准误差、标准误(Stand 阅读全文
posted @ 2020-08-23 21:54 cql_astro 阅读(298) 评论(0) 推荐(0) 编辑
摘要: from astropy.io import fits hdu_list = fits.open(image_file) hdu_list.info() image_data = hdu_list[0].data print(type(image_data))print(image_data.sha 阅读全文
posted @ 2020-08-18 18:34 cql_astro 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 注册有一段时间了,本博客今日开始使用。 博客的用途是记录本人科研学习过程中收集的点点滴滴。 不记录私人生活,不讲究文章美观和完整性,随性记录。 阅读全文
posted @ 2020-08-18 16:24 cql_astro 阅读(59) 评论(0) 推荐(0) 编辑