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.
Metadata
Release files for ngcasa 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ngcasa-0.0.11.tar.gz | 27.1 kB | Details |
Release files / ngcasa-0.0.11.tar.gz
| Download URL | ngcasa-0.0.11.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74b1fe31d47523cc81fdae6faeac87e95a5781a4210b2a2a98cd09e09e6ee94e
|
|
BLAKE2b-256 checksum How to use checksums |
28854afa74ba4351e402bc7fe8a10fbc836864c7c197e6df70e12f4cf2765661
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10
|