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 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.0.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.0-cp310-cp310-win_amd64.whl (239.9 kB view details)

Uploaded CPython 3.10Windows x86-64

yt_astro_analysis-1.1.0-cp310-cp310-win32.whl (230.6 kB view details)

Uploaded CPython 3.10Windows x86

yt_astro_analysis-1.1.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (366.1 kB view details)

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

yt_astro_analysis-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl (230.3 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

yt_astro_analysis-1.1.0-cp39-cp39-win_amd64.whl (238.8 kB view details)

Uploaded CPython 3.9Windows x86-64

yt_astro_analysis-1.1.0-cp39-cp39-win32.whl (229.5 kB view details)

Uploaded CPython 3.9Windows x86

yt_astro_analysis-1.1.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (364.1 kB view details)

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

yt_astro_analysis-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl (228.9 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

yt_astro_analysis-1.1.0-cp38-cp38-win_amd64.whl (249.0 kB view details)

Uploaded CPython 3.8Windows x86-64

yt_astro_analysis-1.1.0-cp38-cp38-win32.whl (239.6 kB view details)

Uploaded CPython 3.8Windows x86

yt_astro_analysis-1.1.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (376.2 kB view details)

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

yt_astro_analysis-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl (239.4 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

yt_astro_analysis-1.1.0-cp37-cp37m-win_amd64.whl (249.0 kB view details)

Uploaded CPython 3.7mWindows x86-64

yt_astro_analysis-1.1.0-cp37-cp37m-win32.whl (239.3 kB view details)

Uploaded CPython 3.7mWindows x86

yt_astro_analysis-1.1.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (372.3 kB view details)

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

yt_astro_analysis-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl (239.1 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for yt_astro_analysis-1.1.0.tar.gz
Algorithm Hash digest
SHA256 201ee329797dc95f80a0c26e7d7f62b662722d44052e1620423869e87d2f41e7
MD5 8230f390f5ecc2177e66bc454045a34e
BLAKE2b-256 d84f1b84d70caf1f11bffe624060e385464129673042059df44606e7422d32bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 239.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 51b8777399a8428dbd291c4a2cef8316afeb1174ef9778ba7cc4b8e4e10d12da
MD5 078cd091cc9a4da45828e1b660778781
BLAKE2b-256 2a58f9de8cc3f0519f2166f65c9b23c761b7214dea4c6f0e76ad27fcfca27404

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 230.6 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 a7dfa055d9bec9d39cf713216c8a6d45e30c7a862082d5821cc90c5cc49d207c
MD5 8d3be1458b728d8abdd951689a05d459
BLAKE2b-256 bb9ee61c9e178263ca409ba45c4a635981058370b968b2471282bf928236b36f

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.0-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.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d107bcf7c9b05f48a2a3674b2e368c457315ed263ccad0192181a0662d5ab8fd
MD5 4b4259cd68067c164bf08c211ccdd424
BLAKE2b-256 e984b96a881e23678dc47be7a4c082ec00d790459e46edf3b372fd652c79f4d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 230.3 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7b98be613946ccccadb3c7aff00b1a1af28c06292d9488e04de2da2f07e642f5
MD5 42953c91e372a33a970b68a0a6ecf912
BLAKE2b-256 ab75bee3e7ad8379054b21c60f4925a13dc6739338a6628f2d680f84d22d58fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 238.8 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e4876ff8ce73c30e91451b7b20f34941c6143093cc6377ebe720ac85c5afc2a8
MD5 166654717f4d2ee48fe72fce55587524
BLAKE2b-256 cca053d30b8453c4efbcc657cc002d262a189cc19b327754ec2433e9cc0bce82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 229.5 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 e7caaff6d67ba07e3aa7f6e8430a3ae54fa0ff6a6c8872aa9655cb73791af7de
MD5 17e06da27ea98d6b200292cd703b7baa
BLAKE2b-256 60dd03fdb522987c3525ecaa4ace27e5139016a207f48c23f368bfdd44a8b14b

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.0-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.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 71d1ba6e653907eaaeb2d9dae1f8c3e3039df7c84d5fca953dc927d7a12aa23a
MD5 5eec0e4f8ae579a4a871e70345a7816c
BLAKE2b-256 5d89898fa2c25b6c5b5d779be8e14f9fe1339199b75ff7fca52d1aa88b7088e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 228.9 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 da13bb08a7fa49aecf1ce4d9a2e90c210ca3342475a7a3e14ef134a180f7d536
MD5 d23115b349bc97a1d8e2767669c9b97b
BLAKE2b-256 06ddf4c34a54fde0f62c08b68f872e6d4032fa51cf28885be9497aa0b9fe2b69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 249.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 636cfa68efb8f0257d27efc3f8de5cd1b1349dd0a9d2400b21560f8469f95c7d
MD5 bda5507e385623c63576f45a05a9e47f
BLAKE2b-256 43eab1ba72cd17cd519b170c9bde3bce85c8268082e772b64ac37e9124fe3206

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 239.6 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 f0a927213a36ba9b42e814ff9d0c078b4de72f36e89d8c45d99a1f18a7cb21a1
MD5 ec29e375a6539a06b35668f4baa77d78
BLAKE2b-256 6a2c631e6e4c57ffd324308ee241dc48e0185d105a675507e1deeb63ec53db2f

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.0-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.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39936997afc734ebbd574eb5998493259ef7a5019f0ff5adb5bef3862537cccb
MD5 6f60ddc58c4b99e9048414581d4fbd46
BLAKE2b-256 61cd002c586f827ad118923e98befd01d592feee42cd02373cb63256aebe8369

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 239.4 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 32a0f3a0b10cb423f0d1d38438bbe86b7b16f4721cce578f4e43bfa4031f669c
MD5 38d325734ad7939944212883ce687b8e
BLAKE2b-256 77bfb2164603eda6d08990ff942b7c23255e51539a8b3f581c02c115c6f6e59a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 249.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 06f53e789c0c9c4116a432474090a2b00f4baa3258a5282fed48af7bc7fe5c4a
MD5 74c265ced3e8dcd62b58529004803f2a
BLAKE2b-256 9e7f5b150b4c6a11c6530033c367d0321c358ea7b4f5b025b81f9d0ae73c5c49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 239.3 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 af4dda3ff4074aa5a915ab9eaf6a0f05dca7d1b2aa7a02be55c54702a1830880
MD5 5da5f8059b7219ec7833791536978440
BLAKE2b-256 9b9630422d8774081532483edc02ef42cb4cdc8bbd90fc918bffd7316513c129

See more details on using hashes here.

File details

Details for the file yt_astro_analysis-1.1.0-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.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a31169fefc3d3694acb5eb8fe0a263c0d71861f9cfdd400be6203dae78a1f82b
MD5 4abbe76f729f60702af11372da4f6af3
BLAKE2b-256 65789aedc844c50be95a71a74f99f08badf5891469d57bba05ba40c4b06e466d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_astro_analysis-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 239.1 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7

File hashes

Hashes for yt_astro_analysis-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 658c9a37f6f03811df45fab2d1992a9d7959034b1af6b5bd3d9d6097cfbb2d9f
MD5 1ca8d4f2ea84781015e08ccb1122a6cd
BLAKE2b-256 4f1f9c15405db7f9987b382483a9c88a0d4febe088815efdeee5c1edbd5dda5d

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