Skip to main content

Blob Detection and Source Finder

Project description

PyBDSF (the Python Blob Detection and Source Finder) is a tool designed to decompose radio interferometry images into sources and make available their properties for further use. PyBDSF can decompose an image into a set of Gaussians, shapelets, or wavelets as well as calculate spectral indices and polarization properties of sources and measure the psf variation across an image. PyBDSF uses an interactive environment based on CASA that will be familiar to most radio astronomers. Additionally, PyBDSF may also be used in Python scripts.

The documentation is currently hosted at https://pybdsf.readthedocs.io

Installation

Installation can be done in a number of ways. In order of preference (read: easy of use):

  • Install the latest release from PyPI:

    pip install bdsf
  • Install the master branch from the PyBDSF git repository:

    pip install git+https://github.com/lofar-astron/PyBDSF.git

    Or install a specific revision or release, for example v1.9.3:

    pip install git+https://github.com/lofar-astron/PyBDSF.git@v1.9.3
  • Install from a local source tree, e.g. after you cloned the git repository:

    pip install .

    or (to install the interactive shell as well):

    pip install .[ishell]

If you get the error:

RuntimeError: module compiled against API version 0xf but this version of numpy is 0xd

then please update numpy with pip install -U numpy.

External requirements include the ubuntu packages (or similar packages in another Linux distribution):

  • gfortran

  • libboost-python-dev

  • libboost-numpy-dev (Only if boost > 1.63)

  • python-setuptools.

Also, a working numpy installation is required. At runtime, you will need scipy and either pyfits and pywcs or python-casacore or astropy.

If you install as a user not using conda, use pip install --user. Make sure to use similar versions for gcc, g++ and gfortran (use update-alternatives if multiple versions of gcc/g++/gfortran are present on the system). In this case, the script pybdsf is installed in ~/.local/bin, so you might want to add that to your $PATH.

Installation on MacOS / OSX is more involved, you will need the packages mentioned above, for example installed with Homebrew. You will need to tell setup.py to use the same compiler for fortran as for C++. In case of problems, see https://github.com/lofar-astron/PyBDSF/issues/104#issuecomment-509267088 for some possible steps to try.

https://travis-ci.org/lofar-astron/PyBDSF.svg?branch=master

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bdsf-1.10.2.tar.gz (359.6 kB view details)

Uploaded Source

Built Distributions

bdsf-1.10.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bdsf-1.10.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bdsf-1.10.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

bdsf-1.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

bdsf-1.10.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

File details

Details for the file bdsf-1.10.2.tar.gz.

File metadata

  • Download URL: bdsf-1.10.2.tar.gz
  • Upload date:
  • Size: 359.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for bdsf-1.10.2.tar.gz
Algorithm Hash digest
SHA256 eadde1f083647ebc611633f2b671f899f3baf96918fefc8c48df22eccc8d001b
MD5 3a7d1b5b89bfd7e68a08c56ac841b899
BLAKE2b-256 0edcc4218c4d253acc667c93181be3267e0e12914c7b5aa9107cde9f3299ba4d

See more details on using hashes here.

File details

Details for the file bdsf-1.10.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b04d9d471728ff02a14dd3e8c5bbb37ef7a676a63532fe1949daf7f06d48ccd1
MD5 13ea373ebb0f9e7d7b402cc18c1be987
BLAKE2b-256 60c0a71959660664ecc4c7ad0137dc6fb5ac3b58cdb1c6ceba57ffcdf883160b

See more details on using hashes here.

File details

Details for the file bdsf-1.10.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c7095a49d3b21f6cb09753b781a39f188ec7d0f2400a210e474fe1a11384649
MD5 cb95a04af78faf3a773c81d16f3a3a1a
BLAKE2b-256 f2828030bf18b1483aff6e843dc6ca116d9fc33357afb637c44df89b6b99e1cf

See more details on using hashes here.

File details

Details for the file bdsf-1.10.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef706161ee7bdbb6adc94344ed2938c4c6a3d268a9844fa82c23c61ca3c8165b
MD5 4e040fd90d239161e6a583d3d24e4966
BLAKE2b-256 8e1c8066a07c73058a0a22f1350a676a342aacaff5c3d78516a926ce86791fa4

See more details on using hashes here.

File details

Details for the file bdsf-1.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c3d63868ca736091f10779099e536574054e621937397188262f0699edbd4ab
MD5 c58ff9509fe087fa365fe765c04bdc20
BLAKE2b-256 e4d781bc9b17a7aaa4c621308ef79c504af1151c3493838f82767c0f5f338ec6

See more details on using hashes here.

File details

Details for the file bdsf-1.10.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e93a25816ee501956ab42aa1ef87aefaedd73715e3599303f82765c299246f52
MD5 ae02afe59e2b214a6786eb4c23fc9067
BLAKE2b-256 5ea0b36ab50e68daac648629db325ef26a43469d8b49522297b05fda9c93df3e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page