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 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
To install yt_astro_analysis, you will first need to install yt. Then, clone the git repository and install like this:
git clone https://github.com/yt-project/yt_astro_analysis
cd yt_astro_analysis
pip install -e .
Installing with Rockstar support
In order to run the Rockstar halo finder from within yt_astro_analysis, you will need to install the yt-project's fork of Rockstar and then provide this path to yt_astro_analysis. To install Rockstar, do the following:
git clone https://github.com/yt-project/rockstar
cd rockstar
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
pip install -e .
Finally, you'll need to make sure that the location of librockstar.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 http://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
Hashes for yt_astro_analysis-1.0.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a122e70fd7903dda6c81e3a354d75df24213520e835fdb54f56389e910bf7e1 |
|
MD5 | 7a6d2aa696e55fc9fc3a085adad59309 |
|
BLAKE2b-256 | 3b6959fafc31c243eccbed5392072909897ff888d400df8538e49975ac67ed72 |
Hashes for yt_astro_analysis-1.0.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93ea84708246b83c390c0d83bf435c18b2b9d96cea7ec91d7f8b51f461bd5e20 |
|
MD5 | 003bfe776b3835288bac3f4ac516277f |
|
BLAKE2b-256 | 6bb97b682b2417bd1c3a9427cdfc2b48c50d18755e082ac41862911c182de142 |
Hashes for yt_astro_analysis-1.0.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5800a23847bcf74e754d9f81c43c9a564b5c1268577d792e665bd2e4b1ab254d |
|
MD5 | ff9514a47ceb7c711cda5af391cbc451 |
|
BLAKE2b-256 | 6b5ec5c02412cffc5061b7fb4d49edf1e53047bb2b8ba7a9f1e42f3e4ebff77b |
Hashes for yt_astro_analysis-1.0.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2703ff60605db725da569c78f35c7f695c95db47f6995c26b2d8f17ab65288f |
|
MD5 | 21bbf5b432c39cbdcdc73f4409deead1 |
|
BLAKE2b-256 | 70f4b9809c3480032f5bf6e7f68970d5f7790a699acbc23cde13c4ece9ea5d94 |
Hashes for yt_astro_analysis-1.0.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03079b76fa1cdeadc8f6dbedfbb1ef01a0f0e28c8f99b15c58b2b43beebb4baf |
|
MD5 | 727fb58e9a53210fc05cb6ee287aeee3 |
|
BLAKE2b-256 | a8cb5123b1136cbc7a5725702720896118c70c25b4271dd5a6aeb04854509f48 |
Hashes for yt_astro_analysis-1.0.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab2f983558044e938f6ac21456dcbc97712b44dd7e089e7cfab0b1feda06a32f |
|
MD5 | 6db2c77cd401269aa6ec05681b29af7e |
|
BLAKE2b-256 | 2d4c2b54aa09e5522f25f41863ec19eb575a4591ee74191d941481ef252cc43a |
Hashes for yt_astro_analysis-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73b4cd2ec2348da45e7ecf46400e02ade743346a6d12581e6d50b9ebc64fe59 |
|
MD5 | eb8f36147943d9ecc5e63e1e97fa3c19 |
|
BLAKE2b-256 | 1b2c217dd52b403055c0b40f513c63802e20c8359f3e0aca4e85122938c7b682 |
Hashes for yt_astro_analysis-1.0.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28455f37d126efb95d678c0cf993d2301c3b1a8b9965872ddd9bbfb8147be8a6 |
|
MD5 | 3a234e8ff60026171bc120781f4d837a |
|
BLAKE2b-256 | 0ad0cfc0df7fca7cacbfcac71da9cd86a4005903fc86f9d9d2a755e24c062a5e |