示例库¶
这个示例库展示了各种相对较小的代码片段或任务示例,可以使用astropycore包完成这些任务。鼓励社会各界的贡献!
长格式教程(或 affiliated packages )属于https://learn.astropy.org(可在 the associated github repository )
astropy.coordinates¶
一般示例 astropy.coordinates
分包。
Convert a radial velocity to the Galactic Standard of Rest (GSR)
Determining and plotting the altitude/azimuth of a celestial object
Transforming positions and velocities to and from a Galactocentric frame
Create a new coordinate class (for the Sagittarius stream)
astropy.io¶
一般示例 astropy.io
分装。
Create a multi-extension FITS (MEF) file from scratch
Accessing data stored as a table in a multi-extension FITS (MEF) file
Read and plot an image from a FITS file
Edit a FITS header
Create a very large FITS file from scratch
Convert a 3-color image (JPG) to separate FITS images