ratt-ru / fundamentals_of_interferometry Goto Github PK
View Code? Open in Web Editor NEWFundamentals of Radio Interferometry and Aperture Synthesis Book
License: GNU General Public License v2.0
Fundamentals of Radio Interferometry and Aperture Synthesis Book
License: GNU General Public License v2.0
The readme is a bit cryptic for newcomers, for novices it should be made clear that they need to download the sources and set up a virtual environment just as a contributor and the "Setup contributor virtualenv" section in the readme should be renamed accordingly.
Just a heads up that two image svgs for the introductory appendix seem to be corrupted:
https://github.com/griffinfoster/fundamentals_of_interferometry/blob/master/0_Introduction/figures/conversion-comp.svg
https://github.com/griffinfoster/fundamentals_of_interferometry/blob/master/0_Introduction/figures/conversion2-comp.svg
p.s. Thanks for putting this together, looks to be a brilliant resource!
When cloning the repository on MacOS with APFS file system, I get the following warning message:
It refers to the files in https://github.com/ratt-ru/fundamentals_of_interferometry/tree/master/8_Calibration/figures .
As we are developing the core of the book we can still think to the future about sections and ideas we would like to add to the next edition.
The first that come to mind are instrumentation related:
I noticed Firefox not displaying an SVG file, and on further investigation realised why.
Firefox is very strict and needs to be told where to find the Inkscape/Sodipodi schema. Most SVG software knows about the common SVG editors and their schema so it's not a problem, but to be sure you should ensure that the following attributes are in the tag inside figures:
<svg xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
Otherwise you may get an error like "XML Parsing Error: prefix not bound to a namespace" when you try open the figure in your browser.
I ran a hacky script to check for the error and it looks like there's only one offender on my end.
find | grep .svg | xargs -0 python -c "from __future__ import print_function;import sys; [print(f) if ('inkscape:' in t and not 'xmlns:inkscape' in t) or ('sodipodi:' in t and not 'xmlns:sodipodi' in t) else None for (f,t) in ((f,open(f).read()) for f in sys.argv[1].split())]"
I have a fork of Bens fork which is itself a fork of the project. And my fork has uncommitted/breaking/old changes. What a mess. So would someone else be so kind as to fix this? The only file that does this is fundamentals_of_interferometry/0_Introduction/figures/conversion-comp.svg
Hi, I have just found this community and the idea of making slides and its corresponding python notebooks to teach radioastronomy, it's awesome! Just an idea such that the images and big files follow the structure of the repo, it would be cool if those files are uploaded using git lfs instead of using a link to a tar file.
Cheers
The current version doesn't even work, as it specifies some extremely specific package version numbers that pip is unable to find. Must we have such specific version numbers?
Page 6.2 on CLEAN introduction does not load.
NotJSONError('Notebook does not appear to be JSON: u'{\n "cells": [\n {\n "cell_type": "...',)
The 'data/fits' folder is used a lot for the 'Sampling and Point Spread Functions' section, but has not been committed.
A quick suggestion - if you're going to add a significant amount of binary-blob data, you might want to add it as a git submodule, so that checking out the original git repository doesn't require an initial large download. On the other hand, submodules add complexity and help to confuse newcomers, so, pros and cons.
TODO: create a new ipython notebook extending 8.1 to the full polarized case.
Hi!
I'm currently working with your radio interferometry notebook and came across a missing file in 3_0_introduction : No such file or directory: '../data/ipyref.txt' called by fundamentals_of_interferometry-master/init/incfunc.py
Had to add ipywidgets to requirements.txt to get the code to compile in the first place... but then I don't see any widget. @JulienNGirard ?
I have been learning a lot from this textbook.
The link to the data is broken and it would be great if you could re-post the data in dropbox.
so actually we can set a webserver that runs the course notebooks in docker containers.
Doing this now on 196.24.241.83, created an alias for radioastro.pythonic.nl and interferometery.pythonic.nl.
This can be automated:
https://github.com/ratt-ru/systems/wiki/openstack
https://docs.docker.com/linux/step_one/
$ sudo apt-get update
$ sudo apt-get -y install curl git
$ curl -fsSL https://get.docker.com/ | sh
https://github.com/jupyter/tmpnb
export TOKEN=$( head -c 30 /dev/urandom | xxd -p )
export CONTAINER=radioastro/course
export PORT=8000
docker run --net=host -d -e CONFIGPROXY_AUTH_TOKEN=$(TOKEN) \
--name=proxy jupyter/configurable-http-proxy \
--default-target http://127.0.0.1:9999 --port=$(PORT)
docker run --net=host -d -e CONFIGPROXY_AUTH_TOKEN=$TOKEN \
--name=tmpnb -v /var/run/docker.sock:/docker.sock \
jupyter/tmpnb python orchestrate.py --image='$(CONTAINER)' \
--command="jupyter notebook --NotebookApp.base_url={base_path} \
--ip=0.0.0.0 --port {port}"
due to proxy container design we can't run it on port 80. 8000 is annoyingly blocked by SKA, but we redirect traffic using uptables:
sudo iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8000
Hello,
Is it possible to have access to the data/fits/KAT-7*.fits files?
These files are supposed to be used in the Chap-5 - Imaging but are not included in the repository.
I saw that the FITS images were supposed to be downloaded using dropbox, but the link (found there : https://ratt-ru.github.io/fundamentals_of_interferometry/) is now dead.
Thanks,
Nicolas
Good day. I have a new instance of Ubuntu (Description: Ubuntu 18.04.4 LTS) and want to get this notebook installed and running. I am following all the steps as noted in your README, but when I run make
in the main directory, then I get the following error:
dludick@EE484701:~/ubuntu-home/fundamentals_of_interferometry$ make
/home/dludick/ubuntu-home/fundamentals_of_interferometry/.venv/bin/pip install -r requirements.txt
make: /home/dludick/ubuntu-home/fundamentals_of_interferometry/.venv/bin/pip: Command not found
Makefile:11: recipe for target '/home/dludick/ubuntu-home/fundamentals_of_interferometry/.venv/bin/jupyter-notebook' failed
make: *** [/home/dludick/ubuntu-home/fundamentals_of_interferometry/.venv/bin/jupyter-notebook] Error 127
Is there any advice?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.