<html> <div style=“border:2px dashed red; padding: 2em;”><h2>WARNING:</h2> <strong>PyBDSM cannot be found in LUS repository any more (10-02-2014)</strong>. The documentation of PyBDSM can be found <a href=“http://dl.dropboxusercontent.com/u/1948170/html/installation.html”>here</a></div> </html>
The following packages are required in order to build pyBDSM:
The following packages are required in order to run pyBDSM:
svn co http://usg.lofar.org/svn/code/trunk lofarsoft
The components of the source code are organized as follows:
lofarsoft `-- src `-- BDSM |-- doc .. Documentation directory |-- implement .. Source code compiled into library and executables | |-- bdsm .. Original Fortran BDSM | |-- minpack | |-- port3 | `-- pybdsm .. C-based Boost.Python wrappers `-- scripts .. Python scripts
implement/pybdsm
implement/bdsm
implement
bootstrap
script in the build directory: cd build ./bootstrap
make bdsm
This will also go through the list of required external packages and check whether they are installed; if this is not the case, the dependencies will be resolved before continuing with pyBDSM
itself.
The following components (libraries and application programs) will be build:
_py2fbdsm
– Write pyBDSM output to fBDSM format_pytesselate
– Fortran implementation of Tesselation_cbdsm
– Main python module to be imported. .. $LOFARSOFT |-- release | |-- bin .. $PATH | |-- include | `-- lib | `-- python .. $PYTHONPATH | |-- _cbdsm.so | `-- bdsm .. Installation location of Python scripts | |-- image.py | |
>>> import bdsm Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/lars/usg/code/trunk/release/lib/python/bdsm/__init__.py", line 9, in <module> from preprocess import Op_preprocess File "/home/lars/usg/code/trunk/release/lib/python/bdsm/preprocess.py", line 8, in <module> import _cbdsm ImportError: dynamic module does not define init function (init_cbdsm)