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: ease 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://github.com/lofar-astron/PyBDSF/actions/workflows/ci.yml/badge.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.11.0.tar.gz (366.4 kB view details)

Uploaded Source

Built Distributions

bdsf-1.11.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

bdsf-1.11.0-cp312-cp312-macosx_12_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.12 macOS 12.0+ x86-64

bdsf-1.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bdsf-1.11.0-cp311-cp311-macosx_12_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.11 macOS 12.0+ x86-64

bdsf-1.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

bdsf-1.11.0-cp310-cp310-macosx_12_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10 macOS 12.0+ x86-64

bdsf-1.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

bdsf-1.11.0-cp39-cp39-macosx_12_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.9 macOS 12.0+ x86-64

bdsf-1.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

bdsf-1.11.0-cp38-cp38-macosx_12_0_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.8 macOS 12.0+ x86-64

File details

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

File metadata

  • Download URL: bdsf-1.11.0.tar.gz
  • Upload date:
  • Size: 366.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for bdsf-1.11.0.tar.gz
Algorithm Hash digest
SHA256 975a58a5707456959ffff166bd20d0adeae7932262e31a6571c403cf36ab540f
MD5 53e4d3da2724761449cb13b10c4085e5
BLAKE2b-256 18aece42163532500c732b2533e0519f7152db7a94fe9e52d83faa4fcea16b30

See more details on using hashes here.

File details

Details for the file bdsf-1.11.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92389ff59815e59fbfc9e765cdffd1673ccf6a9117c7e29327a85881acdcccd3
MD5 3d6c54e3a7b134bd93d8fc4b36881301
BLAKE2b-256 29d1ed968e2a02322e60290c2ea369c7693847a2cef976671b7cd216ff95679d

See more details on using hashes here.

File details

Details for the file bdsf-1.11.0-cp312-cp312-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.0-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 454a528c6d981fc2aa12bcd5d639743733c4dd101c1cb1e907186839f399ccf9
MD5 89fc7b0373c2563cb4108b21df867ba5
BLAKE2b-256 2a822113eb53727be3d66525a6c1c522c27f1029ffdee7f30609d76ccb6fc189

See more details on using hashes here.

File details

Details for the file bdsf-1.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a18f63f0bab4003d16c13df50902e855a310dd18001d0c72e07ee0a46e94c793
MD5 a364a7745b6400bedda06a1238035d52
BLAKE2b-256 c08cb456811a364fed0206ac92bb6f1c933ffe41f46a95d60d27d24c1f3d8274

See more details on using hashes here.

File details

Details for the file bdsf-1.11.0-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.0-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 67b9afdae7a4e3d25d673b4804aebeb9b53f47794ca49bea627b2359f10b810d
MD5 c7bd8eafba2bacfcaa0fdc87cd4d85b0
BLAKE2b-256 ce1559e139d4ed98234af0399af13f0beff37e6c338e2f6101bd4138387bf3c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.11.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7af4f80b6a3c3170a54eacf41fe453d0681878adfe8516e9e4b9033f5d301b81
MD5 47fb96acc8d07ff436671bb7afdcecbe
BLAKE2b-256 eb34394de6b6b6061d9cd043f89ff345a2e4bc2c0ecb427790cfafb951ee663a

See more details on using hashes here.

File details

Details for the file bdsf-1.11.0-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.0-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 3e290ccc01526e83c1981b043c1bd5a9e52766d1f7fc4a424dd3dab6b62fc080
MD5 2087928a9e5c457841ee17dbea50bb32
BLAKE2b-256 d33293b586bb9adab2601fce3217869d9bfcbbfb838a6d8144778a11f674ea5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.11.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f2c686806773e4b5b5d86e21f90e29157275cf379af1d5c6cc142eef315ca1b6
MD5 3981adb35fa409b91173a6e72e09fb11
BLAKE2b-256 162ca6531931e7ef8721b3bd47033fbd12680109a1cd572aecd828449b2d5ed3

See more details on using hashes here.

File details

Details for the file bdsf-1.11.0-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.0-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 77c0c4921c04ae2f65f90b821febf301e46bc73fb7c4c5250760c0f75f3022a1
MD5 b869fce6a04903c4bbc66c34cfd75387
BLAKE2b-256 8fa298dd7ddcc87fe6ebea75c795696eb72c580905e78926dd17538d1c1d597c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.11.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ded332036a75015b16fffcbdddfbf4928490e55ef8a70df1bc55f549d131a0c4
MD5 3cd78b0504c93d9a1809f5d041378386
BLAKE2b-256 a518c72a2fdb0de6d718aeb1f8698bb2dfacaaceef31ae415c140264b89c2832

See more details on using hashes here.

File details

Details for the file bdsf-1.11.0-cp38-cp38-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.0-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 99e98d77d390ea70fbaa5f3161bf11529216f2c177d536bee5c9860b8f67efd1
MD5 cea4d8dd9bd1d96f3cd3c2830aafe441
BLAKE2b-256 d343d805c6eecc1047e72b3ea5912948337ae39bb2269187b581b7575b938913

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