Skip to content

Instantly share code, notes, and snippets.

André Ferrari andferrari

Block or report user

Report or block andferrari

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andferrari
andferrari / predict_skylens.py
Created Apr 3, 2017 — forked from SpheMakh/predict_skylens.py
Predict visibilities from a FITS image
View predict_skylens.py
import stimela
INPUT = 'input'
OUTPUT = 'output'
MSDIR = 'msdir'
MODEL = 'skylens.fits'
MS = 'test_predict_with_custom_fits.ms'
PREFIX = MS[:-3]
View gist:fda78fbc851b81a1d4012e6265904a96
conda uninstall mpi4py
conda uninstall ompenmpi
brew install --build-from-source openmpi
pip install mpi4py
View gist:8f18d644504dbd6d91f9
resqconf = readlines(`qconf -sel`)
listnodes = [strip(k) for k in resqconf]
addprocs(listnodes)
You can’t perform that action at this time.