sarashenyy / 216telescope

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

216telescope

本地处理

b站:216望远镜光谱数据处理教程

环境要求:

pip install laspec
pip install pyraf
pip install lightkurve==1.11.3
pip install -U git+git://github.com/hypergravity/songcn

前人的肩膀:

git clone https://github.com/lidihei/pyrafspec.git
cd pyrafspec
pip install .
rm -rf build pyrafspec.egg-info

git clone https://github.com/hypergravity/bfosc.git

服务器数据下载:

scp -r sdb216@10.3.10.45:/home/sdb216/BHBdata/216BFOSC_ORIGINAL/BHB_216/20240105_bfosc/ /Users/sara/PycharmProjects/216telescope/data/

服务器处理(推荐)

抽谱

cd BHBdata/Documents/bfosc-main/E9G10/gui
python main.py

数据路径在 /home/sdb216/sdOBdata/216BFOSC/BHB_216/

处理完成后显示 [6.0] make stats for the FEAR solutions

特别注意是否有 fear_*.dump 被 skipped,如果被跳过则手动复制时间相近的并重命名来补齐

服务器运行程序报错: img.png 解决: mac 安装 XQuartz, 使用 ssh -XY name@ip 连接

拼接光谱

jupyter路径:BHBdata/Documents/pyrafspec/tutorial/bfoscE9G10_extract_splicing.ipynb

最终获得一堆 *_splicing.fits 文件,最后rm *.fit 删除原始文件。

About

License:MIT License