Skip to main content

Next Generation CASA

Project description

Installation

Installation and setup for the Next Generation CASA Prototype

Pip Installation

python3 -m venv ngcasa
source ngcasa/bin/activate
pip install ngcasa

Conda Installation

conda create -n ngcasa python=3.6
conda activate ngcasa
pip install ngcasa

Installation from Source

git clone https://github.com/casangi/ngcasa.git
cd ngcasa
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python setup.py install --root=.

Configure dask.distributed

To avoid thread collisions, when using the Dask.distributed Client, set the following environment variables.

export OMP_NUM_THREADS=1 
export MKL_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1 

Building Documentation from Source

Follow steps to install cngi from source. Then navigate to the docs folder and execute the following:

sphinx-build -b html . ./build

View the documentation in your browser by navigating to:

file:///path/to/ngcasa/ngcasa/docs/build/index.html

Usage

>>> from ngcasa.synthesis.imaging import make_imaging_weights
>>> xds = make_imaging_weights(...)

Throughout the documentation we use the variable name xds to refer to Xarray DataSets.
xda may be used to refer to Xarray DataArrays. This is a "loose" convention only.

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

ngcasa-0.0.7.tar.gz (18.8 kB view details)

Uploaded Source

File details

Details for the file ngcasa-0.0.7.tar.gz.

File metadata

  • Download URL: ngcasa-0.0.7.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for ngcasa-0.0.7.tar.gz
Algorithm Hash digest
SHA256 87427f96dbc576f6344d35ac129096c0e98101cf59040516c962278935213777
MD5 3a9fe4d99ffc26f656935721ef790e14
BLAKE2b-256 ca905288904973c9f5fb834083a2f899c69e84cf195baaf6c383f465b99e1fd8

See more details on using hashes here.

Supported by

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