joshspeagle/brutus

GitHub: joshspeagle/brutus

brutus 是一个利用「暴力」方法进行恒星测光建模的天文数据分析 Python 库,旨在精确推断恒星物理参数并校正星际尘埃消光。

Stars: 55 | Forks: 11

# brutus *还有你吗,布鲁图?* ![brutus logo](https://static.pigsec.cn/wp-content/uploads/repos/cas/65/6501e22ee6adcfecd89f75bda3c36e6730babc7aee12affea1505ee301507577.png) [![测试](https://static.pigsec.cn/wp-content/uploads/repos/cas/09/097271ca091990be630ef6043309cc48240faa054413384202036fa2efedb2d2.svg)](https://github.com/joshspeagle/brutus/actions) [![覆盖率](https://codecov.io/gh/joshspeagle/brutus/branch/master/graph/badge.svg)](https://codecov.io/gh/joshspeagle/brutus) [![文档状态](https://readthedocs.org/projects/brutus/badge/?version=latest)](https://brutus.readthedocs.io/en/latest/?badge=latest) [![PyPI](https://img.shields.io/pypi/v/astro-brutus.svg)](https://pypi.org/project/astro-brutus/) [![arXiv](https://img.shields.io/badge/arXiv-2503.02227-b31b1b.svg)](https://arxiv.org/abs/2503.02227) [![许可证: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) **文档**: [brutus.readthedocs.io](https://brutus.readthedocs.io) ## 安装 ``` pip install astro-brutus ``` 要求在 Linux、macOS 或带有 WSL 的 Windows 上使用 Python 3.9+。 **Windows 用户**:由于依赖 `healpy`,brutus 在 Windows 上需要使用 WSL (Windows Subsystem for Linux)。 ### 开发者安装 ``` git clone https://github.com/joshspeagle/brutus.git cd brutus pip install -e ".[dev]" ``` ## 数据文件 下载所需的恒星模型和尘埃图: ``` from brutus import fetch_grids, fetch_isos, fetch_dustmaps fetch_grids() # MIST stellar grids fetch_isos() # MIST isochrones fetch_dustmaps() # 3D dust maps ``` 数据文件也可以从 [Harvard Dataverse](https://dataverse.harvard.edu/dataverse/astro-brutus) 获取。 ## 引用 如果您使用了 `brutus`,请引用 [Speagle et al. (2025)](https://arxiv.org/abs/2503.02227)。 ## 许可证 MIT 许可证。详情请参阅 [LICENSE](LICENSE)。 ## 联系方式 - 作者:Joshua S. Speagle () - 问题:[GitHub Issues](https://github.com/joshspeagle/brutus/issues) ## 致谢 `brutus` 使用了 [MIST](http://waps.cfa.harvard.edu/MIST/) 恒星演化模型和 [Bayestar](https://argonaut.skymaps.info/) 尘埃图。我们感谢开发者将其数据公开提供。
标签:逆向工具