{"id":21569540,"url":"https://github.com/yt-project/yt_astro_analysis","last_synced_at":"2025-04-06T10:10:35.619Z","repository":{"id":23743021,"uuid":"88921920","full_name":"yt-project/yt_astro_analysis","owner":"yt-project","description":"yt astrophysical analysis modules","archived":false,"fork":false,"pushed_at":"2025-03-01T22:39:32.000Z","size":8984,"stargazers_count":23,"open_issues_count":17,"forks_count":21,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-30T09:06:51.363Z","etag":null,"topics":["analysis","astronomy","astrophysics","data-visualization","python","scientific-computing","scientific-visualization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yt-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.rst","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-21T00:18:16.000Z","updated_at":"2025-01-07T15:31:03.000Z","dependencies_parsed_at":"2024-01-15T11:02:38.001Z","dependency_job_id":"550803c2-3e57-44f3-b168-e5f2202f89fb","html_url":"https://github.com/yt-project/yt_astro_analysis","commit_stats":{"total_commits":1341,"total_committers":34,"mean_commits":39.44117647058823,"dds":0.6368381804623415,"last_synced_commit":"00506110e0535d1a842dace3cbf767e428f9312f"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yt-project%2Fyt_astro_analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yt-project%2Fyt_astro_analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yt-project%2Fyt_astro_analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yt-project%2Fyt_astro_analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yt-project","download_url":"https://codeload.github.com/yt-project/yt_astro_analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247464220,"owners_count":20942970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","astronomy","astrophysics","data-visualization","python","scientific-computing","scientific-visualization"],"created_at":"2024-11-24T11:09:44.323Z","updated_at":"2025-04-06T10:10:35.601Z","avatar_url":"https://github.com/yt-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The yt Astro Analysis Extension\n\n\n[![PyPI version](https://badge.fury.io/py/yt-astro-analysis.svg)](https://badge.fury.io/py/yt-astro-analysis)\n[![Anaconda-Server Badge](https://anaconda.org/conda-forge/yt-astro-analysis/badges/version.svg)](https://anaconda.org/conda-forge/yt-astro-analysis)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1458961.svg)](https://doi.org/10.5281/zenodo.1458961)\n[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat\u0026colorA=E1523D\u0026colorB=007D8A)](https://numfocus.org)\n\n[![CircleCI](https://circleci.com/gh/yt-project/yt_astro_analysis.svg?style=svg)](https://circleci.com/gh/yt-project/yt_astro_analysis)\n[![codecov](https://codecov.io/gh/yt-project/yt_astro_analysis/branch/main/graph/badge.svg)](https://codecov.io/gh/yt-project/yt_astro_analysis)\n[![Documentation Status](https://readthedocs.org/projects/yt-astro-analysis/badge/?version=latest)](https://yt-astro-analysis.readthedocs.io/en/latest/?badge=latest)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/yt-project/yt_astro_analysis/main.svg)](https://results.pre-commit.ci/latest/github/yt-project/yt_astro_analysis/main)\n\n[![yt-project](https://img.shields.io/static/v1?label=\"works%20with\"\u0026message=\"yt\"\u0026color=\"blueviolet\")](https://yt-project.org)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff)\n\nThis is yt_astro_analysis, the [yt](https://github.com/yt-project/yt) extension\npackage for astrophysical analysis. This package contains\nfunctionality for:\n\n * Halo finding and analysis\n * Lightcones\n * Planning cosmological simulations for making lightcones and lightrays\n * Exporting to the RADMC-3D radiation transport code\n * Creating PPV FITS cubes\n\nThis is primarily machinery that used to be in yt's\nanalysis_modules. These were made into a separate package to allow yt\nto become less astro-specifc and to allow these modules to be\ndeveloped on their own schedule.\n\n## Installation\n\nFull installation documentation can also be found\n[here](https://yt-astro-analysis.readthedocs.io/en/latest/Installation.html).\n\n### Stable\n\nGet the latest release via pip as\n```shell\npython -m pip install yt-astro-analysis\n```\n\nOr with conda, as\n```shell\nconda install -c conda-forge yt-astro-analysis\n```\n\nNote, the package name is spelled with hyphens (`yt-astro-analysis`)\nwhen installing from pip or conda. With pip, the package name can be\nspelled with either hyphens or underscores, but with conda it must\nalways be hyphens.\n\n### From source\n\nTo build `yt_astro_analysis` from source, clone the git repository and install\nas\n\n```shell\ngit clone https://github.com/yt-project/yt_astro_analysis\ncd yt_astro_analysis\npython -m pip install -e .\n```\n\n### Installing with Rockstar support\n\nIn order to run the Rockstar halo finder from within yt_astro_analysis, it is\nnecessary to install yt_astro_analysis from source.\nYou will need to install `rockstar-galaxies` from either\n[John Wise's\nrepository](https://bitbucket.org/jwise77/rockstar-galaxies) or [Peter\nBehroozi's\nrepository](https://bitbucket.org/pbehroozi/rockstar-galaxies). To\ninstall Rockstar, do the following:\n\n```\ngit clone https://bitbucket.org/jwise77/rockstar-galaxies\ncd rockstar-galaxies\nmake lib\n```\n\nThen, go into the yt_astro_analysis source directory and add a file called\n\"rockstar.cfg\" with the path the Rockstar repo you just cloned.  Then, install\nyt_astro_analysis.\n\n```\ncd yt_astro_analysis\necho \u003cpath_to_rockstar\u003e \u003e rockstar.cfg\npython -m pip install -e .\n```\n\nFinally, you'll need to make sure that the location of\n``librockstar-galaxies.so`` is in your LD_LIBRARY_PATH.\n\n```\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\u003cpath_to_rockstar\u003e\n```\n\n## Importing from yt_astro_analysis\n\nFor every module that was moved from yt's analysis_modules to yt_astro_analysis,\nall imports can be changed simply by substituting ``yt.analysis_modules`` with\n``yt.extensions.astro_analysis``.  For example, the following\n\n```python\nfrom yt.analysis_modules.ppv_cube.api import PPVCube\n```\nbecomes\n```python\nfrom yt.extensions.astro_analysis.ppv_cube.api import PPVCube\n```\n\n## Contributing\n\nWe really want your contributions!  As an official\n[yt-project](https://yt-project.org/) extension, everything in the\n[yt Contributor Guide](https://github.com/yt-project/yt#contributing) applies\nhere.\n\nIf you'd rather make your own standalone package, we want to support that, too!\nPlease, consider making your package a\n[yt extension](https://yt-project.org/extensions.html).\n\n## Resources\n\nAs an extension of the [yt-project](https://yt-project.org/), the\n[yt resources](https://github.com/yt-project/yt#resources) are available for help.\n\n * The latest documentation can be found at https://yt-astro-analysis.readthedocs.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyt-project%2Fyt_astro_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyt-project%2Fyt_astro_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyt-project%2Fyt_astro_analysis/lists"}