Astropy Core Package Utilities (astropy.utils) 您所在的位置:网站首页 mergeplus Astropy Core Package Utilities (astropy.utils)

Astropy Core Package Utilities (astropy.utils)

#Astropy Core Package Utilities (astropy.utils) | 来源: 网络整理| 查看: 265

Introduction¶

The astropy.utils package contains general-purpose utility functions and classes. Examples include data structures, tools for downloading and caching from URLs, and version intercompatibility functions.

This functionality is not astronomy-specific, but is intended primarily for use by Astropy developers. It is all safe for users to use, but the functions and classes are typically more complicated or specific to a particular need of Astropy.

Because of the mostly standalone and grab-bag nature of these utilities, they are generally best understood through their docstrings, and hence this documentation generally does not have detailed sections like the other packages. The exceptions are below:

IERS data access (astropy.utils.iers) Downloadable Data Management (astropy.utils.data) Masked Values (astropy.utils.masked)

Note

The astropy.utils.compat subpackage is not included in this documentation. It contains utility modules for compatibility with older/newer versions of python and numpy, as well as including some bugfixes for the stdlib that are important for astropy. It is recommended that developers at least glance over the source code for this subpackage, but most of it cannot be reliably included here because of the large amount of version-specific code it contains. Its content is solely for internal use of astropy and subject to changes without deprecations. Do not use it in external packages or code.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有