Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.69 KB

File metadata and controls

61 lines (43 loc) · 1.69 KB

FITS file reconstructor visualizer

A very simple app for me to learn more about how UV coverage works for a given FITS file.

Allows you to load a fits file, select UV points and see how the UV coverage affects the reconstruction of the original image.

single_img

How to run

  1. Clone the repository
git clone https://github.com/AndreasH96/fits-uv-visualizer.git
cd ./fits-uv-visualizer
  1. Install requirements
pip install -r requirements.txt
  1. Run the application
python app.py

Running tests

pip install pytest
python -m pytest tests/ -v

Example: Single point selected

single_img

Example: Multiple points selected

multipe_img

In the example with multiple points selected, we can see that the actual image (point source, nothing fancy) can be somewhat seen from the reconstruction.

Example: Placements of UV points (M87)

1000 randomly placed points:

m87_rand_spread

1000 randomly placed points, with a maximum UV distance of 0.05 (to focus on capturing general aspects):

m87_rand_centered

Todo:

  • Generate N random UV points with min and max UV distance

  • Phase shifting ?

  • Load file of UV points

  • Evaluate UV ranges, should allow other than the fixed -0.5 - 0.5?

  • BIG: Scientific mode, covers the below points

  • Use the clicking to define the initial uv points at time 0, then simulate how they move during a observation simulation.

  • Load orbital parameters and source parameters

Refactoring

  • Separate rendering and computations