Cloned from liveinterferometer at https://github.com/adampbeardsley/liveInterferometer Adjusted for use in JIVE during outreach events
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ilse Bemmel, van 9875cb97ac minor edits 3 weeks ago
Eiffel_Tower_01.jpg added code onto GIT 8 years ago
Nelson-Mandela1.jpg added code onto GIT 8 years ago
README added code onto GIT 8 years ago
README.md minor edits 3 weeks ago
astro_test_image.jpg added code onto GIT 8 years ago
gen_psf_interferometer_detect_skyim.py Move optparser in front of curses. Add windowing. Make persistence more realistic. 7 years ago
gen_psf_interferometer_detect_skyimCJC.py added code onto GIT 8 years ago
plaatje1.jpg JIVE specific scripts and images 3 weeks ago
plaatje2.jpg JIVE specific scripts and images 3 weeks ago
school_demo.py JIVE specific scripts and images 3 weeks ago
testFrameReduce.py added code onto GIT 8 years ago
testVLBIImage.py added code onto GIT 8 years ago

README.md

Interferometry demo used at JIVE outreach events

Cloned from https://github.com/adampbeardsley/liveInterferometer
Updated for use at JIVE during outreach events by IvB 31 May 2022

Uses Open CV image detection

Operating instructions
Requires pip3, python 3.8.3 and has been tested on MacOS 11.4
Install OpenCV on the MacBook pip3 install opencv-python
From the terminal launch this with python3 school_demo.py

To include another image, first check its dimensions (number of pixels on each side). Then do:
python3 school_demo.py -i <image.jpg> --xsize <x-dimensions> --ysize <y-dimentions>
E.g.: python3 school_demo.py -i test.jpg --xsize 1280 --ysize 720
In case of an error, reduce the pixel size of the image and try again, this can require some fine tuning to get it right, especially with larger images.

Changelog

  • The default Facetime camera on MacOS has device number 0, changed the default input to that, so this should work on Macs now. Not tested with an external camera.
  • Changed the display of the images to not show the input image
  • Fixed some indents which were not properpy done