Skip to main content

yt astrophysical analysis modules extension

Project description

The yt Astro Analysis Extension

PyPI version Conda Version DOI Powered by NumFOCUS

CircleCI codecov Documentation Status pre-commit.ci status

yt-project Code style: black Imports: isort

This is yt_astro_analysis, the yt extension package for astrophysical analysis. This package contains functionality for:

  • Halo finding and analysis
  • Lightcones
  • Planning cosmological simulations for making lightcones and lightrays
  • Exporting to the RADMC-3D radiation transport code
  • Creating PPV FITS cubes

This is primarily machinery that used to be in yt's analysis_modules. These were made into a separate package to allow yt to become less astro-specifc and to allow these modules to be developed on their own schedule.

Installation

Full installation documentation can also be found here.

Stable

Get the latest release via pip as

python -m pip install yt_astro_analysis

Or with conda, as

conda install -c conda-forge yt_astro_analysis

From source

To build yt_astro_analysis from source, clone the git repository and install as

git clone https://github.com/yt-project/yt_astro_analysis
cd yt_astro_analysis
python -m pip install -e .

Installing with Rockstar support

In order to run the Rockstar halo finder from within yt_astro_analysis, it is necessary to install yt_astro_analysis from source. You will need to install rockstar-galaxies from either John Wise's repository or Peter Behroozi's repository. To install Rockstar, do the following:

git clone https://bitbucket.org/jwise77/rockstar-galaxies
cd rockstar-galaxies
make lib

Then, go into the yt_astro_analysis source directory and add a file called "rockstar.cfg" with the path the Rockstar repo you just cloned. Then, install yt_astro_analysis.

cd yt_astro_analysis
echo <path_to_rockstar> > rockstar.cfg
python -m pip install -e .

Finally, you'll need to make sure that the location of librockstar-galaxies.so is in your LD_LIBRARY_PATH.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<path_to_rockstar>

Importing from yt_astro_analysis

For every module that was moved from yt's analysis_modules to yt_astro_analysis, all imports can be changed simply by substituting yt.analysis_modules with yt.extensions.astro_analysis. For example, the following

from yt.analysis_modules.ppv_cube.api import PPVCube

becomes

from yt.extensions.astro_analysis.ppv_cube.api import PPVCube

Contributing

We really want your contributions! As an official yt-project extension, everything in the yt Contributor Guide applies here.

If you'd rather make your own standalone package, we want to support that, too! Please, consider making your package a yt extension.

Resources

As an extension of the yt-project, the yt resources are available for help.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yt_astro_analysis-1.1.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

yt_astro_analysis-1.1.1-cp310-cp310-win_amd64.whl (233.7 kB view details)

Uploaded CPython 3.10Windows x86-64

yt_astro_analysis-1.1.1-cp310-cp310-win32.whl (225.8 kB view details)

Uploaded CPython 3.10Windows x86

yt_astro_analysis-1.1.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (366.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.12+ x86-64manylinux: glibc 2.17+ x86-64

yt_astro_analysis-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl (230.7 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

yt_astro_analysis-1.1.1-cp39-cp39-win_amd64.whl (232.6 kB view details)

Uploaded CPython 3.9Windows x86-64

yt_astro_analysis-1.1.1-cp39-cp39-win32.whl (224.7 kB view details)

Uploaded CPython 3.9Windows x86

yt_astro_analysis-1.1.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (364.4 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.12+ x86-64manylinux: glibc 2.17+ x86-64

yt_astro_analysis-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl (229.3 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

yt_astro_analysis-1.1.1-cp38-cp38-win_amd64.whl (242.6 kB view details)

Uploaded CPython 3.8Windows x86-64

yt_astro_analysis-1.1.1-cp38-cp38-win32.whl (234.8 kB view details)

Uploaded CPython 3.8Windows x86

yt_astro_analysis-1.1.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64manylinux: glibc 2.17+ x86-64

yt_astro_analysis-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl (239.7 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

yt_astro_analysis-1.1.1-cp37-cp37m-win_amd64.whl (242.6 kB view details)

Uploaded CPython 3.7mWindows x86-64

yt_astro_analysis-1.1.1-cp37-cp37m-win32.whl (234.6 kB view details)

Uploaded CPython 3.7mWindows x86

yt_astro_analysis-1.1.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (372.8 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64manylinux: glibc 2.17+ x86-64

yt_astro_analysis-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl (239.4 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file yt_astro_analysis-1.1.1.tar.gz.

File metadata

  • Download URL: yt_astro_analysis-1.1.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1.tar.gz
Algorithm Hash digest
SHA256 fe544910c80f106874ba1605fb735154400e0969394bf6ab9233cdcc352ccdc0
MD5 884bc78f3752bd702a54b1edc88aaf76
BLAKE2b-256 8bd2af75f20eb2d4337d7f1d4e196cab265169d4f45ba1514ff4b3ccc7e67224

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 233.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1bef89648cc7ad64279bb65064260a3da05d0c9d3a28c7c87891860996cbe088
MD5 b6e74503c7e2766a76c7e5aa1919f71c
BLAKE2b-256 3dc93f948210732edd7aefef17cfc3953ab9667ea348b6735aec21f0124de3bf

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 225.8 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 ad9acae749d8a25cd1f549262f83e0f56d1b2677b3e3dd7e6ab4575ec74425e2
MD5 9a757fae0098502c4502a099f209676a
BLAKE2b-256 f04a9bfc02303e1c426b28deb9f2d3a5fadd757c7816a678dc7951187c6acfa0

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yt_astro_analysis-1.1.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6fe58dc607660bc2c760e584fe20d1dba4efce13243cdd6cc248c3be31cb1e62
MD5 37ab98e9b571e4df43c52949b90f4c4e
BLAKE2b-256 f589b38f640e2488325cf5d8345d174684c937eb47bdb4624dd22b1f08d642c8

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 230.7 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 64abf6a5416bf748a2d32fb335224c2d00f2b332d57408914993d1f90a1adccd
MD5 130845fb0605c3e8098f0b51c79d3c17
BLAKE2b-256 63039981096fdae263e9602c0fdcf6e32c854eb1a2b14a5a0b218bbd6bc51512

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 232.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 dbdddd2f6d5e7f2b41acfb0122d946ab4f0782318045fed8574e7d18002ef407
MD5 73912a33e0e358dad55ea33cc0825a44
BLAKE2b-256 78b180d11fbdbdc3516ac14febf43014f4d1f62a117a039b5a869edc5fb1dc80

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp39-cp39-win32.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 224.7 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 4fa30625090eee71ba5a4da894d359eda23789bb8c14f8ffdf07e313e31f9e42
MD5 de4a2bcbd3bb254830c5c2ba50af8366
BLAKE2b-256 2e69892540382d95f2226092fcd453620665d7853e56c0c12d33684f2d4ab9c3

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yt_astro_analysis-1.1.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 544a41d3e60803f401cb7bb35f038e9cd721a02bb577964dfd9714a9ac65dfb7
MD5 440511007bdc130fee6ecd10d4dc3ee5
BLAKE2b-256 85eb334004f95ace8965f68b52a10ad85b89738a250ac975c7bab7f5fa4ab7c7

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 229.3 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b1799dfcc2c228974a956adc23b3d138b2f1f03313e6d7b9b37189386a01e575
MD5 1a2c6adb08f03a3cbd651a5363057a24
BLAKE2b-256 226e05f7da3b393c467a9f98bd696962f9907c4f3eeafe09104c53d95773f4d3

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 242.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f4efe7fb7c34750234a87cd0b4d96327e4f425462cc9619e6be433b59836c2f1
MD5 3c27e8824219044c47cb8462e45b42cc
BLAKE2b-256 24fd362754560bfd2f20c84d76ecaa9ebd49671c096bd1e2fd18419d9d472321

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp38-cp38-win32.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 234.8 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 6de7e896cf295541120d8a8b6c71ecd9a6ced6adb0a9ee87f66d0460537938f0
MD5 31c80385a1641f56e3f60813bf92acb9
BLAKE2b-256 6be789d6fb522292a7c3a0e4ab4f2c39e8532d0d72ac8a7931b57a6212e605bc

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yt_astro_analysis-1.1.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a66da0f1fe0f1b395ac101d66fe1c5c8ead7a8e93ffb27b606c6f4e3a1c6205e
MD5 17eb3ae26f082ae4effb901a923fab9a
BLAKE2b-256 d9c18a056b6c350a51eb2ed236e5601d7197193319ae64919975c9716a400c96

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 239.7 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8c0c9de4de7afaaecfba1789eab07ef2309debccc30f593dd30741a80c1cce78
MD5 477fcefc24d41258dd3958bf07b0bde4
BLAKE2b-256 20c978f6d2b29a60d46aee73ac7d13abcf84f98e5d250cb03c839d559b09959f

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 242.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 b291a868ddaa42a4b03669bc9f7320dd15a45cdfc5fa516fa661404686a51e51
MD5 c00496221b84b50ae4f4fcbd641b5a82
BLAKE2b-256 832615ad3f99017e2fdca0af7edf44d1a5e232c90be820bfacbb4b0869d876a2

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 234.6 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 7a77ea07d9774da0b3e4a7a028644e27f93bd9ab99217582331434d5b9de7c13
MD5 ed2c5f7c4fad1d0c62d5286fece8d154
BLAKE2b-256 9b289d041f676cceb64c458866eb648059715cfd5e05950d528bbc3345ba3c79

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for yt_astro_analysis-1.1.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b70ab8449cc4566c9fdb08ff516158e7c2377685e860b21f001a9dc48072519f
MD5 affd83c78fc62d15eaec97238bd3e333
BLAKE2b-256 5e46b32ee2017a96984f1540f4b15988339f6e7e790bbbeebcc7934a188d95df

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: yt_astro_analysis-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 239.4 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for yt_astro_analysis-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fae2c71bbd81dbacf86b79daf06fbfc67077ffe0319f96e0f272e2d24c966d2f
MD5 199ee5fa38d34c7337dfea4256581487
BLAKE2b-256 0214b374c944f1b8c8cf9d0b84f48c7eaf3dcb06dfab762d72acaa4a4291663c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page