不定时更新(大概
基础库(主要的支持库):
numpy, matplotlib, ipython, scipy, pandas, seaborn
天文&射电天文库:
astropy
$ pip install astropy
手册:https://docs.astropy.org/en/stable/
spectral-cube
三维(两个位置维度和一个光谱维度)天文数据处理
$ pip install spectral-cube
手册:https://spectral-cube.readthedocs.io/en/latest/
mayavi
3D 数据/3D 绘图
$ pip install mayavi
$ pip install PyQt5
手册:https://docs.enthought.com/mayavi/mayavi/index.html
healpy
天图数据处理常用包
$ pip install healpy
手册:https://healpy.readthedocs.io/en/latest/tutorial.html
astroML
天文&天体物理数据挖掘、机器学习库
$ pip install astroML
pycamb
宇宙学代码,计算 CMB、透镜、星系计数、暗年龄 21cm 功率谱、物质功率谱和传递函数
pip install camb
手册:https://camb.readthedocs.io/en/latest/
astrometry
天体测量数据、天图数据相关包
安装:
#安装依赖包,我使用的是ubuntu环境,别的系统请自行参考手册
$ sudo apt install build-essential curl git file pkg-config swig \
libcairo2-dev libnetpbm10-dev netpbm libpng-dev libjpeg-dev \
zlib1g-dev libbz2-dev libcfitsio-dev wcslib-dev \
python3 python3-pip python3-distutils python3-dev \
python3-numpy python3-scipy python3-pil
#获取代码
$ wget http://astrometry.net/downloads/astrometry.net-latest.tar.gz
$ tar xvzf astrometry.net-latest.tar.gz
$ cd astrometry.net-*
#安装。ubuntu环境下,以下操作建议全程sudo或者su获取权限
$ make
$ make py
$ make extra
$ make install # to put it in /usr/local/astrometry
# or:
$ make install INSTALL_DIR=/some/other/place