All Projects → yt-project → yt_astro_analysis

yt-project / yt_astro_analysis

Licence: other
yt astrophysical analysis modules

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
cython
566 projects

Projects that are alternatives of or similar to yt astro analysis

Yt
Main yt repository
Stars: ✭ 279 (+1450%)
Mutual labels:  analysis, astronomy, scientific-visualization, scientific-computing
Gdl
GDL - GNU Data Language
Stars: ✭ 104 (+477.78%)
Mutual labels:  astronomy, scientific-visualization, scientific-computing
spinmob
Rapid and flexible acquisition, analysis, fitting, and plotting in Python. Designed for scientific laboratories.
Stars: ✭ 34 (+88.89%)
Mutual labels:  analysis, scientific-visualization, scientific-computing
sncosmo
Python library for supernova cosmology
Stars: ✭ 53 (+194.44%)
Mutual labels:  astronomy, astrophysics
astromodels
Spatial and spectral models for astrophysics
Stars: ✭ 21 (+16.67%)
Mutual labels:  astronomy, astrophysics
mwdust
Dust maps in the Milky Way
Stars: ✭ 21 (+16.67%)
Mutual labels:  astronomy, astrophysics
PandExo
A Community Tool for Transiting Exoplanet Science with the JWST & HST
Stars: ✭ 23 (+27.78%)
Mutual labels:  astronomy, astrophysics
amuse
Astrophysical Multipurpose Software Environment. This is the main repository for AMUSE
Stars: ✭ 115 (+538.89%)
Mutual labels:  astronomy, astrophysics
astrodash
Deep learning for the automated spectral classification of supernovae
Stars: ✭ 25 (+38.89%)
Mutual labels:  astronomy, astrophysics
Galpy
Galactic Dynamics in python
Stars: ✭ 134 (+644.44%)
Mutual labels:  astronomy, scientific-computing
Freud
Powerful, efficient particle trajectory analysis in scientific Python.
Stars: ✭ 118 (+555.56%)
Mutual labels:  analysis, scientific-computing
ldtk
Python toolkit for calculating stellar limb darkening profiles and model-specific coefficients using the stellar atmosphere spectrum library by Husser et al. (2013). Described in Parviainen & Aigrain, MNRAS 453, 3821–3826 (2015).
Stars: ✭ 26 (+44.44%)
Mutual labels:  astronomy, astrophysics
heyoka
C++ library for ODE integration via Taylor's method and LLVM
Stars: ✭ 151 (+738.89%)
Mutual labels:  astronomy, astrophysics
Virgo
📡 Virgo: A Versatile Spectrometer for Radio Astronomy
Stars: ✭ 85 (+372.22%)
Mutual labels:  astronomy, astrophysics
phantom
Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
Stars: ✭ 52 (+188.89%)
Mutual labels:  astronomy, astrophysics
Cytoflow
A Python toolbox for quantitative, reproducible flow cytometry analysis
Stars: ✭ 90 (+400%)
Mutual labels:  analysis, scientific-computing
Pycbc
Core package to analyze gravitational-wave data, find signals, and study their parameters. This package was used in the first direct detection of gravitational waves (GW150914), and is used in the ongoing analysis of LIGO/Virgo data.
Stars: ✭ 177 (+883.33%)
Mutual labels:  analysis, astronomy
Messier87
A realtime raytracing blackhole renderer
Stars: ✭ 53 (+194.44%)
Mutual labels:  astronomy, scientific-visualization
nmmn
Miscellaneous methods for: astronomy, dealing with arrays, statistical distributions, computing goodness-of-fit, numerical simulations and much more
Stars: ✭ 16 (-11.11%)
Mutual labels:  astronomy, astrophysics
naima
Derivation of non-thermal particle distributions through MCMC spectral fitting
Stars: ✭ 32 (+77.78%)
Mutual labels:  astronomy, astrophysics

The yt Astro Analysis Extension

PyPI version Anaconda-Server Badge 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

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].