Skip to content

Computation of simple H background opacities and tau scale

License

Notifications You must be signed in to change notification settings

jaimedelacruz/pTau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pTau

Computation in parallel of simple H background opacities and an optical depth-scale from temperature, z-scale and [Pgas or rho]. It also allows computing an optimal depth-scale for radiative transfer calculations, taking into account gradients in gas temperature, mass density, optical-depth and line-of-sight velocity.

Compilation of the C++ module

These routines require a C++-14 compiler with support for OpenMP: g++, clang++ or icpc should work

To compile it simply use:

python3 setup.py build_ext --inplace

And then copy pTau.cpython*.so and pyTau.py to your PYTHONPATH folder or to the folder where you want to execute these routines if you have not defined a python library folder.

Look into the example folder for a commented example.

About

Computation of simple H background opacities and tau scale

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published