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.1a1.tar.gz (366.3 kB view details)

Uploaded Source

Built Distributions

bdsf-1.11.1a1-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.1a1-cp312-cp312-macosx_14_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.12 macOS 14.0+ ARM64

bdsf-1.11.1a1-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.1a1-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.1a1-cp311-cp311-macosx_14_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.11 macOS 14.0+ ARM64

bdsf-1.11.1a1-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.1a1-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.1a1-cp310-cp310-macosx_14_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

bdsf-1.11.1a1-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.1a1-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.1a1-cp39-cp39-macosx_14_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.9 macOS 14.0+ ARM64

bdsf-1.11.1a1-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.1a1-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.1a1-cp38-cp38-macosx_14_0_arm64.whl (2.2 MB view details)

Uploaded CPython 3.8 macOS 14.0+ ARM64

bdsf-1.11.1a1-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.1a1.tar.gz.

File metadata

  • Download URL: bdsf-1.11.1a1.tar.gz
  • Upload date:
  • Size: 366.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for bdsf-1.11.1a1.tar.gz
Algorithm Hash digest
SHA256 e703385b976167bd18c74899224640b26bc3d443798c97aac241161d57417eb4
MD5 00bff33023e6f7c5bd24d7b52ea9e21f
BLAKE2b-256 a52018eadf046efa3f9451666a43c5fe3285447f71ed4e306528890c53cd371b

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4f2c7e44235dcc6684d6205957c4ef6c50b3fcd624e5338aa99a51a2380be39
MD5 ca66246c1b4962aab60a86b7199ed060
BLAKE2b-256 081b91b5a45c4d288de5ea34fe2d2bcf1431caecb59a18d502ba8d4a53c32287

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1053bda09c4fe11afaf93d2043f4fe1863ab12b50f8565313b0149a9aa337c45
MD5 b145cb91a8aac375484ed8279ca2e49a
BLAKE2b-256 f8d25b2be3a8cb2faea0e7b94cf88cc1a531dd091948dfe5341e54de15792ba6

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp312-cp312-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp312-cp312-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 ecc822fbbba56825e49d907bc20dc8e8582d41e959ed120738ecbd2ee030a4f0
MD5 7be005a8981a750310e5d0c2063b28af
BLAKE2b-256 aa65c9cead7a5bd624a05963e02913381612e9bb10c5132391549d2438110025

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 96fd1252624690c1d700a915dbf652a758555e3900dcb3d2c954cd83a993afda
MD5 42db56618fa1cac1a90957c4d01ea961
BLAKE2b-256 ee47e19357b025d910dc1bf412faa6487c0948e1844f55a5c28ba8cd6d26a877

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1741eb36801f790531a8f28408c9255d1a662592dd1fc365d285a5a000594664
MD5 72a14b3a4ec2d131cc6bcb48b8c31d16
BLAKE2b-256 04cb2580a85bc209d6fc22a2a42e50e8761da5fba2de5ba99f20455eb93b3d2e

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 c0af6bb4057edbbf5e3ec403ecc5e7ba3d2bb5a040927e3c085b54525fcbe3ec
MD5 d29c6a6a124ee721a21f8483ef11e0aa
BLAKE2b-256 5332e5e4218fbc59bac098a1f8f75d7122dd8ae466ede7cdbafc3aa76c6a1a6c

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6fe20e76e9eed073c9aa502daa10f1ced2d10aa2dc18ad433b188a20e9351b2
MD5 39ec07a1d385b2af46db3956e154c704
BLAKE2b-256 a3989fc453eb84ae54ac4d97a61fb9bcb6ea4c822f5121dd63acd372c029e6b9

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 02070d11ac7eb7b7c80be50815f50c0d92a347b4580bdffc7bc50d777387bee4
MD5 6927ca4781721ca5220383350d4d1d8f
BLAKE2b-256 5f9ec886752e7a53519688886f2ee1437d20bb1dc7c1752ae42ebca1d178c7a0

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 7554cd9d70bfc8e1a4283ad60a2e28f62d75101e6a04e6e75ad16eeb0d245d23
MD5 c0de163a0232f334a3161b82761c8ac7
BLAKE2b-256 78423d639b516303893d8114066212f01098b75390188245c45a187b613a2dd4

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 487edb2371f679b121973d2fc27bd6ea21891f719411de59f47c5707756d8bbe
MD5 4ee8bf20ebff840a63558171f894ee95
BLAKE2b-256 52996290c188795088500daf3c8b79fceac75e4d307b3166f983b6f2dd02b1c9

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ba12b17093d6f4c5867a8e0e753c30e49eff13410fefa5f410aa9e3021e767b5
MD5 fa9d990b3bb7d89e4fa45bd4459abe06
BLAKE2b-256 19fc62ff7d983bb60df5245716a942201cfa1e4eec5334e9ff147dca817895a8

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 9c4f08bb833fcc825c63c964b900b64e5c09bdd3a53455842cd759196327de96
MD5 70f376cab05b1fbf2451948b7cf74ec6
BLAKE2b-256 f6ed0bceab55a3d2de1dddff8b779e88fce8d33f4d06b9297964264eee3df7e4

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 22d1888df7e2b51277203589523313ab65fbadff8f149e5287a7d6fb77cd4e42
MD5 52c947e93d4678bff3e4826d7f350cd1
BLAKE2b-256 c96f5469cf2b0230b3b7bcce83d5e8adc7edf8c29c15a99c6e19c2956bad2732

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp38-cp38-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp38-cp38-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 79e8794769312f9e7da7275ec3ed23f7b196d7e1d73a26e486a90d6f85edf9ed
MD5 157a13ea4a26c9547ca3f891985c5d1d
BLAKE2b-256 bf658111911266675a5c7271f4f057ba6fde99cad0c41cac39d8dd9d8b3dc8f0

See more details on using hashes here.

File details

Details for the file bdsf-1.11.1a1-cp38-cp38-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.11.1a1-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 acf594d5b79194947106eb77199456cefb16de0e6c9eaadceef444a823631165
MD5 7551795c67f877741cef5cefac25a726
BLAKE2b-256 27f740bb23c33253711151114a074afcc150460b141e7c86d66391f626e7193f

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