Skip to main content

Predicts visibilities from a parameterised sky model

Project description

Applicability

Crystalball currently supports prediction from a WSClean list of delta and Gaussian components with (log-) polynomial spectral shape (https://sourceforge.net/p/wsclean/wiki/ComponentList) into the MODEL_DATA column of a measurement set. This is done largely based on code available in the https://github.com/ska-sa/codex-africanus library.

Installation in a virtual environment

Crystalball depends on python-casacore which builds from source. The dependencies mentioned at the following links must be installed in order for the build to succeed:

Create and activate a Python3 virtual environment

virtualenv -p python3 <name-of-virtualenv>

(systems without a Python2 installation don’t even need the -p python3 specifier, but it doesn’t hurt.)

source <name-of-virtualenv>/bin/activate

Pip install crystalball

pip install <path to crystalball>

Run crystalball

Activate the virtual environment where you installed codex-africanus, xarray and xarray-ms (see above)

source <name-of-virtualenv>/bin/activate

Run crystalball

crystalball <file.ms> [-h] [-sm SKY_MODEL] [-rc ROW_CHUNKS] [-mc MODEL_CHUNKS] [-f FIELD] [-mf MEMORY_FRACTION] [-w REGION_FILE] [-po] [-ns NUM_BRIGHTEST_SOURCES] [-j NUM_WORKERS] [-o OUTPUT_COLUMN]

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

crystalball-0.4.3.tar.gz (17.6 kB view details)

Uploaded Source

File details

Details for the file crystalball-0.4.3.tar.gz.

File metadata

  • Download URL: crystalball-0.4.3.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for crystalball-0.4.3.tar.gz
Algorithm Hash digest
SHA256 562e66471dad835fd36ef098a38890cee9980c68985603eb369c42f7f2d025f6
MD5 dfb6a3bd04c2b43980ef956530bbe2c9
BLAKE2b-256 ef1d188da8cf9bcf5f5b2660f62c9e632ec09a041eaf35eb21fb7fd7359aa3a7

See more details on using hashes here.

Supported by

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