Coder Social home page Coder Social logo

ratt-ru / fundamentals_of_interferometry Goto Github PK

View Code? Open in Web Editor NEW
138.0 138.0 94.0 153.6 MB

Fundamentals of Radio Interferometry and Aperture Synthesis Book

License: GNU General Public License v2.0

Jupyter Notebook 97.79% TeX 0.52% Python 0.87% CSS 0.01% Shell 0.19% HTML 0.61% Makefile 0.01% Dockerfile 0.01%

fundamentals_of_interferometry's People

Contributors

athanaseus avatar ebonnassieux avatar ermiasabebe avatar gigjozsa avatar gijzelaerr avatar griffinfoster avatar jfunction avatar jskenyon avatar julienngirard avatar keflavich avatar kshitijt avatar laurarichter avatar modhurita avatar o-smirnov avatar ratt-priv-ci avatar rdeane avatar sirothia avatar sjperkins avatar sphemakh avatar timstaley avatar trienko avatar ulricharmel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fundamentals_of_interferometry's Issues

Download and installation remarks

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.

Future Editions Wishlist

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:

  • DSP sections on poly-phase filter banks, quantization noise, and FX correlators
  • ADC sampling and linearity, cross talk/leakage
  • Overview of aperture arrays and station beamforming (including Jones notation)
  • EM description of primary beams and feeds

Some SVG files may not work in Mozilla Firefox

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

Use git lfs to add FITS images and big files

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

requirements.txt is super-restrictive

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 is broken

Page 6.2 on CLEAN introduction does not load.

NotJSONError('Notebook does not appear to be JSON: u'{\n "cells": [\n {\n "cell_type": "...',)

Missing data (fits images) for S5.2

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.

Missing file for 3_0_introduction

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

Broken link for data files

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.

setting up dedicated notebook runner inside docker containers on VM @ CHPC

about

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.

create VM

https://cloud.chpc.ac.za

This can be automated:

https://github.com/ratt-ru/systems/wiki/openstack

install docker

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

Install tmbnb

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}"

Redirect

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

Installation issue with make (.venv/bin/pip not found)

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.