裁剪对象。用python中的astropy匹配图像

2024-04-25 21:29:11 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着用Astropy裁剪出一个区域

我有这些数据要裁剪到一个地区

COLUMN1:    ID    [none]    Source ID
COLUMN2:    RA (core)    [degs]    Right ascension of the source core
COLUMN3:    DEC (core)    [degs]    DEcination of the source core
COLUMN4:    RA (centroid)    [degs]    Right ascension of the source centroid
COLUMN5:    DEC (centroid)    [degs]    Declination of the source centroid
COLUMN6:    FLUX    [Jy]    integrated flux density
COLUMN7:    Core frac    [none]    integrated flux density of core/total
COLUMN8:    BMAJ    [arcsec]    major axis dimension
COLUMN9:    BMIN    [arcsec]    minor axis dimension
COLUMN10:    PA    [degs]    PA (measured clockwise from the longitude-wise direction)
COLUMN11:    SIZE    [none]    1,2,3 for LAS, Gaussian, Exponential
COLUMN12:    CLASS    [none]    1,2,3 for SS-AGNs, FS-AGNs,SFGs
COLUMN13:    SELECTION    [none]  0,1 to record that the source has not/has been injected in the simulated map due to noise level
COLUMN14:    x    [none]    pixel x coordinate of the centroid, starting from 0
COLUMN15:    y    [none]    pixel y coordinate of the centroid,starting from 0

我不知道如何用RA,DEC裁剪这个区域。你能帮我解决这个问题吗?你知道吗

谢谢。你知道吗


Tags: ofthefromcorerightnoneid区域