astropyephem:使用 Astropy 工具的 pyephem 包装器

时间:2021-07-10 02:11:03
【文件属性】:
文件名称:astropyephem:使用 Astropy 工具的 pyephem 包装器
文件大小:45KB
文件格式:ZIP
更新时间:2021-07-10 02:11:03
Python 星象历书 这是模块的包装器,它使用对象。 尽管模块非常强大,但其测量对象的定义不如好,文档也少。 这是一个早期的开发版本。 它需要现有的安装。 简单的例子 这个模块应该和 /PyEphem 几乎一样工作,对你的导入语句做一些小的调整。 因此,如果您将此模块import astropyephem as ephem为import astropyephem as ephem ,您应该能够运行示例和教程! :: >>> import astropyephem as ephem >>> u = ephem.Uranus() >>> u.compute( ' 1781/3/13 ' ) >>> print ( ' %s %s %s ' % (u.ra, u.dec, u.mag)) 1.46501rad 0.410996rad 5.6 mag >>> u.ra <Angle 1.46500625
【文件预览】:
astropyephem-master
----setup.py(3KB)
----.gitignore(549B)
----astropyephem()
--------conftest.py(700B)
--------functions.py(1KB)
--------data()
--------__init__.py(608B)
--------types.py(5KB)
--------targets.py(5KB)
--------observers.py(1KB)
--------bases.py(8KB)
--------utils()
--------_astropy_init.py(5KB)
--------tests()
--------tools.py(258B)
--------exceptions.py(938B)
----.travis.yml(4KB)
----MANIFEST.in(400B)
----setup.cfg(551B)
----cextern()
--------README.rst(298B)
----.gitmodules(108B)
----scripts()
--------README.rst(91B)
--------script_example(147B)
----README.rst(1KB)
----TEMPLATE_CHANGES.md(505B)
----CHANGES.md(263B)
----licenses()
--------LICENSE.rst(1KB)
--------README.rst(162B)
----astropy_helpers()
----ah_bootstrap.py(27KB)
----docs()
--------_templates()
--------astropyephem()
--------Makefile(5KB)
--------index.rst(311B)
--------conf.py(6KB)
--------make.bat(4KB)
--------rtd-pip-requirements(48B)
----ez_setup.py(12KB)

网友评论