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://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.10.3.tar.gz (360.2 kB view details)

Uploaded Source

Built Distributions

bdsf-1.10.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

bdsf-1.10.3-cp311-cp311-macosx_10_9_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

bdsf-1.10.3-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.3-cp310-cp310-macosx_10_9_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

bdsf-1.10.3-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.3-cp39-cp39-macosx_10_9_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

bdsf-1.10.3-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.3-cp38-cp38-macosx_10_9_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

bdsf-1.10.3-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.3-cp37-cp37m-macosx_10_9_x86_64.whl (2.9 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for bdsf-1.10.3.tar.gz
Algorithm Hash digest
SHA256 d8c8579393c8d4e970c71f96d2f41e0ecb0116aa71b8c9961b1ba0688c29c961
MD5 50d3f6c70610032b8f6dc1901ec43357
BLAKE2b-256 a24466edbdc2e1b78ccb37b48c6f25c8ffaa98c0f86f61c3cbf84166260c2314

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f974002a631ef124bcb8826f659b6e9064b7e511fbb5f89d7a2d05cd43fe6df
MD5 a0d4fc695bde2dba546b01ef276b28fd
BLAKE2b-256 cea36eed3b6b21c4f085343f4db3c9d9e4c608727addbfab3310c3bccd2402e9

See more details on using hashes here.

File details

Details for the file bdsf-1.10.3-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d56c4331225ae9373c37194aa5148350efff279e7a55252de0d4f338779bdba
MD5 f9ac6f88e224e6a867d65a13c8018687
BLAKE2b-256 0dd60ace8654f034395608775341758a15ab24a67906b9b74775921ccb339ea5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ad1ef8e7047a5a9008afe7291d90535ffc9417a2887653ae301e586eb5105f4
MD5 639c8c3c917e327ceefaf773788fe750
BLAKE2b-256 4d763b38367afc146e7b2674ed30e6a825c7121f5e06f12283bc5f1126971e3c

See more details on using hashes here.

File details

Details for the file bdsf-1.10.3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 87ed65707600ad0aa45465d99216ee25e766c155a27fa190348de212fe0defe1
MD5 86b846a8e5bbd45a3dca17cfbcf0218f
BLAKE2b-256 b3a20f0934948936d84686ed8283b86d80cc970df3d718a01b8d69cf203e09b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 97ff002c6b904163ce47a94c7e388944d1f5a856247ecf96d6617bfa081002bc
MD5 834a9cba05a55ffa3c21fc9adebcd616
BLAKE2b-256 d6ef9f4dcd2d381114f06bed011d4e77925d0bdd7b6a4ef98d9a6b8cea3c5ce6

See more details on using hashes here.

File details

Details for the file bdsf-1.10.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a1b08dd0a0dcad674f767ab9b44039bf885f87892799fce49f48048da85baf68
MD5 e1f3731bff48b3ee05ef2f2927a40a21
BLAKE2b-256 c3d9e5eb92edf83463409d7b64995ce927714a44ce14eb3c420ff0a7591de53f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a66507a3aea976cbfb4d771e320fe3a70ac07bd454415045200459fae7207189
MD5 abe6075e58dd4e1760465b7ba31cbe5d
BLAKE2b-256 b25b0fe5a485cc27b73cb898c72cec39039ef0b37db0f661b67d8c3c945b5935

See more details on using hashes here.

File details

Details for the file bdsf-1.10.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7831cde4cc53de0b22615e2e05f7993e8969fffa3bc2db97facf7de22f040648
MD5 49d060a8f7b22bd53e03ffe25741f5c6
BLAKE2b-256 3f83e07cc2ff69a4d2aff0b7416056a39cd04ed5d644ad7041ca2c7a04673be9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4fe21a8d7b08e348440c7e3a0238b04bc8c7c4f9407ef8eda9bed0014f7e9d6f
MD5 57a395d989d9feebc9486694b6737c4a
BLAKE2b-256 bac558f7c985d55d1bfd7e824f4cf8a9b7f46d3986e1b37c163bf5d4f93bd270

See more details on using hashes here.

File details

Details for the file bdsf-1.10.3-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for bdsf-1.10.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 be72f162031229c2e12fa16d4ae6cb25054d63ad495795a87ae441e67168277a
MD5 90d247b6dec309105eb6661c9554475d
BLAKE2b-256 7cf693b2308ca0ea452a29cb2cfea8545dff7f87cc15eaf33e6f8a9f6cdfaf48

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