Skip to content

AndreasH96/fits-uv-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages