Very basic but critical functionality can be obtained by following these steps:
git clone
this repo into your directory of choice $DIR
(Note: this means enlib
will be in $DIR/enlib
. For e.g.
the path to this file will be $DIR/enlib/README.md
)$DIR
to your $PYTHONPATH
This should allow you to import and use many enlib
modules
assuming that basic dependencies like numpy
are present on
your system.
Enlib consists of a collection of relatively independend modules, so
if you don't need all of them you don't need to install all dependencies.
I've split the modules into groups based on typical use cases and list
the dependencies of each. Some modules require compiling via f2py
.
This requires a fortran and C compiler, which settings are specified
in the compile_opts
directory. Which settings file is used is specified
via the ENLIB_COMP
environment variable. You will probably want to make
your own file with settings for your computer, for example foo.mk
, and
then export ENLIB_COMP=foo
in your .bashrc
or similar.
utils
, cg
, colors
, bins
, errors
python2
, numpy
coordinates
iers
+ [misc utils]pyephem
, astropy
make coordinates
enmap
, powspec
fft
, array_ops
, utils
, wcs
, slice
+ [misc utils]scipy
, pyfftw
, astropy
, h5py
, lapack
make array_ops
curvedsky
, lensing
sharp
+ [flat-sky maps]libsharp
, cython
make sharp
zgetdata
, map_equation
, scan
, scansim
, gapfill
, rangelist
mpi4py
, pygetdata
, zipfile
, tempfile
, shutil
make