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.
- Clone the repository
git clone https://github.com/AndreasH96/fits-uv-visualizer.git
cd ./fits-uv-visualizer
- Install requirements
pip install -r requirements.txt
- Run the application
python app.py
pip install pytest
python -m pytest tests/ -v
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.
1000 randomly placed points, with a maximum UV distance of 0.05 (to focus on capturing general aspects):
-
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




