Radex is a computer program to calculate the strengths of atomic and molecular lines from interstellar clouds which are assumed to be homogeneous. - RADEX website
This project will make it easier to use RADEX for radio astronomers. The Makefile or the Homebrew formula will automatically build and install three different RADEX binaries:
||RADEX built with option 1 (uniform sphere)|
||RADEX built with option 2 (expanding sphere)|
||RADEX built with option 3 (plane parallel slab)|
As a major difference from the normal RADEX installation, the path of data directory (the parameter of
radat) is not set by default.
This allows users to specify the relative or full path of a data file when you run RADEX.
Please note that the tilde expansion (e.g., ~/) cannot be used.
The easiest way is to use Homebrew:
$ brew tap astropenguin/formulae $ brew install radex
As a dependency,
gcc (for using
gfortran) will be also installed.
The built binaries are installed in Homebrew's bin directory in the same manner as other Homebrew's formulae.
Clone this repository
Another way is to build and install by yourself:
$ git clone https://github.com/astropenguin/radex-install.git $ cd radex-install $ make install
Users must prepare
gfortran before the installation.
The built binaries are installed in ~/.local/bin and these paths are symlinked to /usr/local/bin.
In this way of the installation, you can customize several parameters like:
$ make install DATADIR=/Users/astropenguin/radex/data/
The list of all customizable parameters are listed below.
||not defined (see above)||path of directory for RADEX data files (.dat)|
||path of log file|
||the number of minimum iterations in RADEX|
||the number of maximum iterations in RADEX|