yt astrophysical analysis modules extension
Project description
The yt Astro Analysis Extension
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
Note, the package name is spelled with hyphens (yt-astro-analysis
)
when installing from pip or conda. With pip, the package name can be
spelled with either hyphens or underscores, but with conda it must
always be hyphens.
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.
- The latest documentation can be found at https://yt-astro-analysis.readthedocs.io/
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
Built Distributions
File details
Details for the file yt_astro_analysis-1.1.3.tar.gz
.
File metadata
- Download URL: yt_astro_analysis-1.1.3.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f156e7026e98a4422f1e7eb81ff1a1a993207dda63b48b04234c60686ed363b9 |
|
MD5 | 6106e9d37dac8ec502d687a6f247f95d |
|
BLAKE2b-256 | 4e240496654344e8d4a87e01c2b9213a4bf645ba41c8ca2547a3de7c394d9838 |
File details
Details for the file yt_astro_analysis-1.1.3-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 263.3 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4ad713917d0e9de2a0dea14c7df158a87db8b6651ad4528a34ee82f78cd2ca1 |
|
MD5 | 4f359f0fb25b48f8eeb31f1ef739f65c |
|
BLAKE2b-256 | e6218bafe4eb72cdd335712008cd254b5a0b5b349a3116423e110eed3ebf1ba4 |
File details
Details for the file yt_astro_analysis-1.1.3-cp312-cp312-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp312-cp312-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 450.7 kB
- Tags: CPython 3.12, manylinux: glibc 2.12+ x86-64, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbb5eb01a488008006af995a04f89cb57b84c8058fb9988d94d124b87405ee5d |
|
MD5 | be242800d7bd6755e62d0f1c88e3f895 |
|
BLAKE2b-256 | 60c611338d4019f51beef02462a76f339162fa1821ce53e63368ae911d4ef553 |
File details
Details for the file yt_astro_analysis-1.1.3-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 260.4 kB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f059e893b74444f812f4d12c2f72d08a0254b7a601ee9b3845da069bec6933b5 |
|
MD5 | bf9c0e6667c4ef0a89cfaf578eab5944 |
|
BLAKE2b-256 | c9ea33132a4f738e629c2c6d51c4855f7c3c7b55a1e125d2ba13e39c538101ec |
File details
Details for the file yt_astro_analysis-1.1.3-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 263.3 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83d2f90be31ce891de1a44b7bec8f904c5285e05e6d7c61fc2256a4efb8dfb30 |
|
MD5 | 2c866f74b0204c86a663de7b2140225d |
|
BLAKE2b-256 | 8f2a21685c4c230929692a8c98aa15453bc7c573e04f4ef5c0a07186103164b2 |
File details
Details for the file yt_astro_analysis-1.1.3-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp311-cp311-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 444.3 kB
- Tags: CPython 3.11, manylinux: glibc 2.12+ x86-64, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afa188e905b770be3455989b47bd1dcf2b91893faf056c5c2dc8cbb10f41ec6 |
|
MD5 | 016c7a8ed531581b79d37b7b28d68404 |
|
BLAKE2b-256 | 29a43e131848ea137e0498caba345eec13cbc1970f830205f4c238e16f297948 |
File details
Details for the file yt_astro_analysis-1.1.3-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 260.1 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fede87036f44b59147fc8c9ef09f041a9dec35a0faf2a2ed54b98ae6aa54fd13 |
|
MD5 | 2495e0c7983faf23383e6d41d7cf0849 |
|
BLAKE2b-256 | d6cef1155fec194691b7bcc5c3d1c3258fded87cd017b49c76d352c7133dace7 |
File details
Details for the file yt_astro_analysis-1.1.3-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 263.2 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8112f0f103610f299a04d47dc5c9373d79165f18260eab982d3f010054df7fe |
|
MD5 | 4faf69f033ae42450b87025dcdffbaeb |
|
BLAKE2b-256 | 9a20b663d8f6fd826eb1d7bc2c8b8389e71b575ebec73780083fefaf758c6518 |
File details
Details for the file yt_astro_analysis-1.1.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 435.2 kB
- Tags: CPython 3.10, manylinux: glibc 2.12+ x86-64, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 959901960bb9917eb3fda0c53deca80947ce76da46797e0bdff901ae7b17a6ef |
|
MD5 | d8f21885d1031ddd98deb6f009d0f87e |
|
BLAKE2b-256 | eacf35e895a5aca9ca9bd0576a915734f7a4a46fead63b02cec22cce46019c93 |
File details
Details for the file yt_astro_analysis-1.1.3-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 260.3 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 386c50070ac8b351f021b618ffee59a169f57d7b2ea05993a00ccbb060ead0eb |
|
MD5 | 5a56a2af849c0c591d548c3074b7502e |
|
BLAKE2b-256 | 0859138ece5a8d7dbe62a0c164f37694de8767e2c7db975f9c03277b1d27f26f |
File details
Details for the file yt_astro_analysis-1.1.3-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 263.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52366a82c4352532b2278eb36637fccc37b65655f7b0574135b4398a8fd3b8dd |
|
MD5 | a75eadbc90378e483105759f997cbdfc |
|
BLAKE2b-256 | 5998ac24054b2ace0f15a4da646ba63eea8344ad15678145ebc34ef6aedbe874 |
File details
Details for the file yt_astro_analysis-1.1.3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 434.8 kB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0795f415f0ac9ade4885260380607f1c6cc04364ff80d5b66f9c140b256db0fe |
|
MD5 | 13c4b769de8d885fcf280609f953666f |
|
BLAKE2b-256 | 93c51ad51a8d637c00b3497f2641bd191ed089237e167ccaa5594e9b084a66d3 |
File details
Details for the file yt_astro_analysis-1.1.3-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: yt_astro_analysis-1.1.3-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 260.3 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48620cb8eed7321de50af516db334ef2e903b8d41552f4a88b547401233491ea |
|
MD5 | 7b2e31733dee51c247e55ff2b4adf395 |
|
BLAKE2b-256 | 60476bbfca1094b0169ec9652a5329d53ab1d065afd258fbcc074aab0bf4e602 |