随笔分类 -  数据处理

摘要:可以把data cube看作一个面包片,每切一片,对应一个波长 头文件里有flux and wavelength, 把这两组数据提取出来。 1. 给出某个波长的切片图 2. 给出某个像素点的谱线图 3. 用循环得到所有像素点的谱线图 import numpy as np import matplot 阅读全文
posted @ 2025-04-07 17:01 cql_astro 阅读(22) 评论(0) 推荐(0)
摘要:Using the Robitaille (2017) YSO SED models https://notebook.community/hyperion-rt/paper-2017-sed-models/notebook/using_the_models ATLASGAL Database Se 阅读全文
posted @ 2021-12-07 18:33 cql_astro 阅读(62) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-11-26 08:56 cql_astro 阅读(40) 评论(0) 推荐(0)
摘要:aplpy可以对一个N维fits cubes提取切片,对维度重新排序。有两个重要的参数,dimensions and slices.这两个参数也可以用于show_contour(). dimensions参数用来把维度分配给x或y轴。默认值是[0,1],意思是x轴应该是fits cube的第一个维度 阅读全文
posted @ 2021-04-15 21:50 cql_astro 阅读(122) 评论(0) 推荐(0)
摘要:import pyfits import numpy as np import pylab as py import img_scale j_img = pyfits.getdata('sources/4.5um.fits') h_img = pyfits.getdata('sources/8.0u 阅读全文
posted @ 2021-04-15 17:07 cql_astro 阅读(544) 评论(0) 推荐(0)
摘要:Extract GPS Image Cutouts https://third.ucllnl.org/cgi-bin/gpscutout python的各种项目https://python3statement.org/ 时长8个半小时的python视频,需梯子https://www.youtube. 阅读全文
posted @ 2021-04-06 09:20 cql_astro 阅读(111) 评论(0) 推荐(0)
摘要:LAS> method hfs hfs-n2hp.dat 1 set plot histo 2 set format brief 3 clear 4 clear alpha 5 file in prov.30m 6 find 7 get f 8 modify source TOTO 9 set un 阅读全文
posted @ 2021-04-05 16:20 cql_astro 阅读(59) 评论(0) 推荐(0)
摘要:1. On-The-Fly observations :Time spent per independent beams in the covered fifield of view. (nbeam: number of independent beams). 2. 可以一次下载多个数据库 http 阅读全文
posted @ 2021-04-04 10:08 cql_astro 阅读(115) 评论(0) 推荐(0)
摘要:1. SET BOX_LOCATION [GREG1\]SET BOX_LOCATION Argument_List Define the position of the box. The argument list specifies various options for the box pos 阅读全文
posted @ 2021-04-01 15:18 cql_astro 阅读(204) 评论(0) 推荐(0)
摘要:The SCUBA-2 Data Reduction Cookbook https://starlink.eao.hawaii.edu/devdocs/sc21.htx/sc21.html SCUBA-2: iterative map-making with the Sub-Millimetre U 阅读全文
posted @ 2021-03-30 09:58 cql_astro 阅读(30) 评论(0) 推荐(0)
摘要:set weight equal average /nocheck offset plot modify frequency rest-f set unit v f set mode x x1 x2 plot method gauss lines 1 "0 0.1 0 30 0 2" minimiz 阅读全文
posted @ 2020-11-06 17:28 cql_astro 阅读(198) 评论(0) 推荐(0)
摘要:综合几个教程,做出一个完整的汇总。 假设要处理的数据文件名为:mydata.30m classstep 1:file in mydata.30mfindlist会显示大量数字,其中有source name,linename,telescope,offset in RA and DEC, telesc 阅读全文
posted @ 2020-11-01 19:44 cql_astro 阅读(679) 评论(0) 推荐(0)
摘要:下面跟着教程,完成处理一个光谱数据。 The Heinrich Hertz Telescope on Mt. Graham is a 10-meter dish of 15 micron surface accuracy, optimized for studying the Universe at 阅读全文
posted @ 2020-11-01 11:23 cql_astro 阅读(162) 评论(0) 推荐(0)
摘要:用class生成lmv文件后,这是一个cube文件,我们要转为二维的。 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 阅读(135) 评论(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 阅读(1128) 评论(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 阅读(227) 评论(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 阅读(2723) 评论(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 阅读(1038) 评论(0) 推荐(0)
摘要:本文是学习科研数据处理视频第三章的记录。 几个关键词: 平均值±标准差 Mean±SD 平均值±标准误 Mean±SEM Mean用来衡量某实验指标数值的一般水平。 SD和SEM衡量该实验指标数值的波动。 标准差、标准偏差(Standard Deviation, SD) 标准误差、标准误(Stand 阅读全文
posted @ 2020-08-23 21:54 cql_astro 阅读(339) 评论(0) 推荐(0)