一个python包和命令行工具到一套工具,从atlas数据中提取已知的太阳系小天体探测
rockAtlas的Python项目详细描述
命令行用法
Documentation for rockAtlas can be found here: http://rockAtlas.readthedocs.org/en/stable Usage: rockAtlas init rockAtlas bookkeeping [-f][-s <pathToSettingsFile>] rockAtlas astorb rockAtlas pyephem [-o] Commands: bookkeeping update and clean database tables, perform essential bookkeeping tasks astorb download astorb.dat orbital elements file and update the orbital elements database table pyephem generate the pyephem positions overlapping the ATLAS exposures in the moving objects database Options: init setup the rockAtlas settings file for the first time -h, --help show this help message -v, --version show version -s, --settings the settings file -f, --full a full update (not just recently changed exposures and sources) -o, --one only generate positions for a single pyephem snapshot (few 10s of exposures - useful for testing)
文档
RockAtlas的文档由Read the Docs(最后一个stable version和latest version)托管。
安装
安装rockatlas最简单的方法是使用pip:
pip install rockAtlas
或者您可以克隆github repo并从本地版本的代码安装:
git clone git@github.com:thespacedoctor/rockAtlas.git
cd rockAtlas
python setup.py install
要升级到RockAtlas的最新版本,请使用以下命令:
pip install rockAtlas --upgrade
发展
如果您想修改代码,请在开发模式下安装。 这意味着您可以修改克隆的repo中的代码:
git clone git@github.com:thespacedoctor/rockAtlas.git
cd rockAtlas
python setup.py develop
Pull requests 欢迎!
升华片段
如果您使用Sublime Text作为代码编辑器,并且计划使用rockatlas开发自己的python代码,您可能会发现my Sublime Snippets很有用。
问题
请报告任何问题 here。
许可证
版权所有(c)2016 David Young
特此免费向任何获得 本软件和相关文档文件的副本 “软件”),无限制地处理软件,包括 但不限于使用、复制、修改、合并、发布, 分发、再授权和/或出售软件副本,以及 允许向其提供软件的人员这样做,但须遵守 以下条件:
上述版权公告及本许可公告须包括在内 在软件的所有副本或大部分中。
软件按“原样”提供,不作任何形式的保证 或默示的,包括但不限于 适销性、适合特定目的和不侵权。 在任何情况下,作者或版权持有人均不对任何 索赔、损害赔偿或其他责任,无论是在合同诉讼中, 侵权行为或其他,由 软件或软件中的使用或其他交易。