from astropy.io import fits ModuleNotFoundError: No module named 'astropy' 谁知道如何安装这个python语言 'astropy'依赖包 http://t.cn/Ai3SRmAh
import astropy.time as apt import attr import h5py import hashlib import logging import numpy as np import scipy.interpolate as spi from astropy import units as u @@ -18,6 +16,7 @@ from edges_cal.tools import vld_unit from edges_io.h5 import HDF5Object from methodtools import lru_c...
# 需要导入模块: from astropy.coordinates import SkyCoord [as 别名]# 或者: from astropy.coordinates.SkyCoord importfrom_pixel[as 别名]def__init__(self, wcs, npix, cdelt=None, axes=None, conv='gadf'):self._wcs = wcs self._coordsys = get_coordsys(wcs) self._projection = get_project...
# 需要导入模块: from astropy.table import Table [as 别名]# 或者: from astropy.table.Table importfrom_pandas[as 别名]defwrite_dataframe(fitsfn, extname, data):# Weird object converion needed to prevent type errors. Don't# really understand what was going on here, perhaps some issue# with...
To make the data products from PIPE accessible to pycheops, follow, from pycdata import dpr dpr.pipe_data(name, fileid) name is the name of the fits file (data products from PIPE), and fileid is a unique file key for each of the CHEOPS observations. The columns for which the data...