Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.mrao.cam.ac.uk/~bn204/alma/casata/just-use.html
Дата изменения: Mon Apr 4 13:47:51 2016 Дата индексирования: Sun Apr 10 09:43:08 2016 Кодировка: ISO8859-5 Поисковые слова: п п п п п п п п п п п |
Create a directory where it will live:
mkdir ~/mycasata && cd ~/mycasata
Get the source-code tarball:
wget http://www.mrao.cam.ac.uk/~bn204/alma/casata/b/trunk.tar.gz
tar xvz --strip-components=1 -f trunk.tar.gz
Run casapy with the casata prepended to your python-path:
PYTHONPATH=~/mycasata:$PYTHONPATH casapy
Import the modules you need. For example:
from casata.tools import data
If you retrieve casata in this way, you and everybody else will lose the information of precisely what revision of casata you did retrieve. This has following implications:
For these reasons getting the source tar-ball as described above is discouraged. It is much better to follow the revision control system download instructions posted at Contributing to casata