腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
合并
Astropy
FITS
文件
?
python
、
append
、
concatenation
、
astropy
、
fits
因此,我保存了一些
Astropy
fits
表(它们都具有相同的格式、列名等)。我想把所有这些
fits
文件
合并
成一个大的
fits
文件
。目前,我正在尝试
astropy
.io的附加和更新功能,但都无济于事。 任何帮助都将不胜感激。
浏览 17
提问于2019-11-07
得票数 2
1
回答
从SDSS DR10的
Fits
文件
中获取图像
python
、
astronomy
、
fits
、
astropy
基本上,我只想从r波段
fits
文件
中获得图像数据,该
文件
使用已
合并
到
astropy
中的pyfits找到。这是我的尝试:import matplotlib.pyplot as plt hdulist.info() imgplot = plt.imshow(h
浏览 1
提问于2014-10-12
得票数 0
1
回答
How to make a.
fits
.gz file into a pandas DataFrame 'ValueError: Big-endian buffer not supported on little-endian
python
、
pandas
、
astropy
、
astronomy
我有一个
文件
'3dhst.v4.1.5.master.
fits
.gz',我想把它打开并做成一个DataFrame。我想从中提取一组列,然后将其与另一个DataFrame
合并
。我尝试了以下几种方法: import
astropy
master =
fits
.open('3dhst.v4.1.5.master.
fits
.gz
astropy
文档说:“ope
浏览 26
提问于2020-06-15
得票数 1
回答已采纳
2
回答
在使用
astropy
将
FITS
文件
转换为ndarray时获取NaN值
python
、
astropy
我正在尝试使用
astropy
将一个
FITS
文件
转换为ndarray。我正在跟踪这些。我使用查看
FITS
文件
中的图像,但是
文件
的表中只填充了Null值: hdulist =
fits
.open(image_file) Filename: C:\Users\yatin\.
astropy
\cache[
astr
浏览 10
提问于2019-12-23
得票数 2
回答已采纳
2
回答
使用PyFITS将列添加到
FITS
表
python
、
fits
、
pyfits
让我们假设我有一个扩展名为
fits
的
文件
,数据由两个列组成,每个列都有100个元素head = pyfits.open
浏览 5
提问于2014-08-08
得票数 3
回答已采纳
1
回答
从bz2打开
fits
文件
python
、
fits
、
astropy
所以我有一个压缩的
fits
文件
,我是这样读的:
fits
= File.read()我想我的问
浏览 2
提问于2015-01-26
得票数 1
1
回答
用
astropy
.io.
fits
编写
文件
python
、
astropy
、
fits
我试图使用
astropy
.io将数据附加到
fits
文件
中。下面是我的代码示例:from
astropy
.io import
fits
a2 = np.array=a1), hdulist.writeto('file.
浏览 2
提问于2015-12-18
得票数 5
回答已采纳
2
回答
将ASCII表转换为适合图像
python
、
matlab
、
fits
、
pyfits
我有一个文本
文件
有三列: X,Y,强度在(X,Y)。它们基本上是数组(1X10000),每个数组都是通过python在文本
文件
中写出的。如何从这个文本
文件
中生成
FITS
图像(而不是简单的
FITS
表)(最好通过python或matlab )。
浏览 10
提问于2015-03-06
得票数 1
回答已采纳
1
回答
我如何从一个不稳定的URL中打开一个
FITS
文件
?
python
、
urllib2
、
astropy
我在URL上有一个.
fits
文件
,我想把它读到Python中,就好像就在我的机器上一样。我试过的是:target_url = 'https://s3.amazonaws.com/bdnyc/spex_prism_U50171_0835%2B19_chiu06.
fits
'da
浏览 2
提问于2015-09-18
得票数 3
回答已采纳
1
回答
使用python在
fits
文件
中查找像素的物理坐标
python
、
fits
、
wcs
、
astropy
我想使用
astropy
的WCS,但是我会在python中做任何事情。from
astropy
.wcs import WCS # from http://
astropy
.readthedocs.orglat = w.all_pix2world( 100., 100., 1) def astropymethod2(i
浏览 2
提问于2014-07-24
得票数 8
回答已采纳
2
回答
在此示例代码中,plt.figure()没有显示任何图形
python
、
linux
、
matplotlib
我是python和编程的新手,我正在尝试编写一段代码来显示包含来自.
fits
文件
的一些数据的图像。我首先试着做一个我在这个网站上找到的例子:https://docs.
astropy
.org/en/stable/generated/examples/io/plot_
fits
-image.html#sphx-glr-download-generated-examples-io-plot-
fits
-image-py代码如下:
浏览 33
提问于2020-04-09
得票数 0
1
回答
如何使用.FTS.gz ()打开远程
astropy
.io.
fits
.open
文件
?
gzip
、
astropy
、
fits
问题摘要: 我正在编写一些使用
astropy
.io.
fits
检查FTS
文件
头(从望远镜中保存的数据)内容的代码。我的问题是当我试图在远程服务器上打开.FTS.gz
文件
而不是.FTS
文件
时。如果我下载违规
文件
.FTS.gz并在本地运行与
fits
.open()类似的代码,则完全没有错误。一个违规
文件
的示例(在下面的代码中使用)现在上传了。
Astropy
文档说:“使用压缩
文件
,open()函数将无缝地打开使用gzip、bz
浏览 2
提问于2017-04-05
得票数 1
回答已采纳
1
回答
如何记录拉伸
FITS
图像并更改其对比度?
python
、
python-2.7
、
astropy
、
fits
我尝试使用
astropy
2.0.11和python 2.7.15来编辑
fits
图像,方法是对其应用对数拉伸并更改对比度,但我一直无法解决这个问题。我一直在尝试按照
astropy
网站上的教程打开和操作
fits
文件
,但我想知道这些教程是否只适用于最新版本的
astropy
和python 3? 抱歉,我的代码组织得不够好。from
astropy
.io import
fits
from
astropy
.utils.data import d
浏览 21
提问于2019-02-15
得票数 2
回答已采纳
1
回答
astropy
.io.
fits
:如何将新卡片附加到
fits
文件
的标题?
python
、
header
、
astropy
、
fits
我正在尝试将新卡插入/附加到
FITS
文件
的现有标头(主要标头)。使用下面的代码,我可以在终端上看到我“成功”执行了这个操作。但是当我在DS9中打开
FITS
文件
并检查标题信息时,我的新卡并不存在。from
astropy
.io import
fits
hdr = hdul[0].header hdr.append因为我是处理
fit
浏览 21
提问于2020-10-09
得票数 0
1
回答
如何将
FITS
文件
转换为numpy数组
python
、
numpy
、
astropy
、
astronomy
我试着训练一个AI算法来确定星系的光度红移,为了这样做我有一个包含训练数据的
FITS
文件
。我需要将这个
FITS
文件
转换成一种可以在Python中轻松操作的格式,特别是一个numpy数组。我已经尝试过使用
astropy
,并遵循了以下youtube视频: from
ast
浏览 3
提问于2022-01-04
得票数 -1
1
回答
使用指定边界裁剪非常大的
fits
文件
image
、
crop
、
astronomy
、
fits
、
astropy
我有一个大的
fits
文件
(超过30,000 x 30,000)像素。无法处理此大小的图像。如何裁剪这种大小的
文件
,同时保留正确的标题信息,就像IRAF在使用其标准裁剪模式时所做的那样?
浏览 0
提问于2015-09-23
得票数 5
1
回答
无法从SDSS中读取WCS并添加82
fits
图像
python
、
astropy
、
fits
我尝试使用satrapy和下面的代码从
FITS
文件
中读取世界坐标系统(WCS):from
astropy
.io import
fits
hdu =
fits
.open(data)我知道错误: WARNING: FITSFixedWarning: RADECSYS[
astropy
.wcs
浏览 0
提问于2015-12-08
得票数 2
回答已采纳
1
回答
通过“匹萨楔子”将两个合适的
文件
组合在一起?
python
、
astropy
、
astronomy
、
fits
我想将两个
FITS
文件
组合起来,方法是从一个
文件
中取出一个片段,然后将其插入另一个
文件
中。切片将基于中心像素测量的角度,参见下面的示例图像:这能用
Astropy
来完成吗?在站点上
合并
FITS
有很多问题,但大多数问题都与简单地将两个
文件
相加在一起,而不是像这样组合段。
浏览 5
提问于2022-01-12
得票数 1
回答已采纳
1
回答
使用相同的投影在图像上绘制线条
python
、
image
、
matplotlib
、
astronomy
、
astropy
我想使用.
fits
文件
(天文图像)绘制一个图,我遇到了两个问题,我认为这两个问题是相关的:from matplotlib import pyplot as pltfrom
astropy
.wcs import WCS
fits
_file= 'http:/
浏览 2
提问于2016-08-18
得票数 2
回答已采纳
1
回答
使用
astropy
读取开普勒
FITS
文件
时出错
python
、
astropy
、
fits
我试着用
astropy
从开普勒
fits
文件
(从这个网址https://archive.stsci.edu/pub/kepler/lightcurves/0007/000757076/收到)中读取
FITS
文件
。下面是我试图读取该
文件
的命令集: from
astropy
.io import
fits
fits
_image_filename =
fits
浏览 16
提问于2020-04-06
得票数 0
回答已采纳
点击加载更多
相关
资讯
探索 Astropy:一个超级强大的Python库,助你玩转天文数据!
pdf合并,pdf文件如何合并
python合并文件
怎么在线合并PDF文件?在线合并方法分享
如何将PDF文件进行合并?PDF文件合并一步完成
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
实时音视频
活动推荐
运营活动
广告
关闭
领券