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.3a2.tar.gz (360.2 kB view details)

Uploaded Source

Built Distributions

bdsf-1.10.3a2-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.3a2-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.3a2-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.3a2-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.3a2-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.3a2-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.3a2-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.3a2-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.3a2.tar.gz.

File metadata

  • Download URL: bdsf-1.10.3a2.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.3a2.tar.gz
Algorithm Hash digest
SHA256 25108fb983a1a63e8a20f607dee615834ef75d672472ee9eccefec0cf0aaa7e2
MD5 47dcdf88020168bf9a79e17c0b471604
BLAKE2b-256 247602fe304392e8e422b68462ee85e94d422f28b36ab916d6e28b6e0fd888b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4449c7c6a3fb29dbce6c72a5c5c494dc9c1b09a17d8422fd52cadc9d4ab185a1
MD5 28c5b2379f2b43c47a8989ef0e54f87b
BLAKE2b-256 57d2b1fb2b79a5b248c3fa492cb19b2c1a7075d3fd8d672aa12b5b01c9b98b49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4af39962b1f5f0d0ea7ab2cd6e94ed86e3b0ac3c2f0a4b933b7bca9c0bdf77b7
MD5 457ee0e375b583a3b9f06f608a0f4192
BLAKE2b-256 e79226a3fe00daa84b1779240e9b39e2af363ab48a8e667e487127e0c8d80eaf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 25094f26abb03642485c1a0477ee99604a46d3109e67d53a258b2e6c2bf9d70f
MD5 dcc5863c4172f6ab9639ac6257768b3c
BLAKE2b-256 38379cff2ef138217c5a1d2848df6bafcaece12d608de2badce16566c9542a71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3cdb234178c1b2dab3513be1fc245c975ffbb41bd5547d37859859a76366fa13
MD5 97cd3aba372c501b0205aedbc76f1e96
BLAKE2b-256 3e8584b038acad9196db18249dc943deca635b0bb77424579c35d0daa68b365f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c8ce1ef36acb6a56b1c7e1e4341c8428a2514eacf7546cce814a0636abe4c413
MD5 6a15bb8c8b16f657d16b9bc31db3ff6a
BLAKE2b-256 c0fd63fc78887926d1d9a234938b0644e983fd19d9c48b90e9fba96417b8b7cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8f75e16cc4f37fb9d251281bfff4b14eb7d00585a3a87b03505b57466e274f7a
MD5 7ca5e47859d3b1a80e2067eb524a822d
BLAKE2b-256 6626952d5e5331c6d0095c5a07aea6ca300debd5b2b6ae7527ea2a9d32771807

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5244f8e797c12776576fc95b91fbf9463cce72da7f44e98d1557946b09e4324
MD5 c9334e798e0e8e9d7ff9022436fcdb96
BLAKE2b-256 a97606e431b181eefb7576cc35b5a2cbab1cb5c2dee2b4f999229a104a171849

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bdsf-1.10.3a2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b5a87c2c245636ab7284714d3b99a5fe467dda5d8960dde818863dbfe6a6df47
MD5 4ec7f490d759c1f0b37cc8382eea5170
BLAKE2b-256 63672b1043625822f43aef6405794cee726e0aad80fa550e65d116a10ad12e67

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