My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Radex  
RADEX codes description
Featured
Updated Dec 7, 2011 by keflavich

RADEX is a one-dimensional non-LTE radiative transfer code base on the LAMDA molecular database.


I have written two codes to use RADEX more efficiently:

  • radex_grid.py is an executable that is intended to be user-modified. It will create a grid (cube) over density, column, and temperature parameter space. It can be run in parallel using mpi4py and mpirun.
  • plot_grids.py is meant to plot the resulting data and/or turn it into .fits data cubes.

In order to use radex_grid with LVG, Sphere, and Planar assumptions, I recommend generating separate executables. Edit "radex.inc" included in the RADEX source code distribution (lines 34-36 in the current version as of this posting, stating "parameter (method = 1)" ) for each assumption, then make, then move bin/radex to bin/radex_sphere or bin/radex_lvg as appropriate. I then symlinked (ln -s) the executables into my /usr/local/bin directory, but you can add them to your path however you like.


Sign in to add a comment
Powered by Google Project Hosting