环境要求:
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,如果被跳过则手动复制时间相近的并重命名来补齐
服务器运行程序报错:
解决:
mac 安装 XQuartz, 使用 ssh -XY name@ip
连接
jupyter路径:BHBdata/Documents/pyrafspec/tutorial/bfoscE9G10_extract_splicing.ipynb
最终获得一堆 *_splicing.fits
文件,最后rm *.fit
删除原始文件。