casangi / astrohack

Antenna panel and position corrections.
https://astrohack.readthedocs.io/
GNU General Public License v3.0
9 stars 3 forks source link

Calibration Checking Function #34

Closed Jan-Willem closed 1 year ago

Jan-Willem commented 1 year ago

After the holography data has been extracted it would be useful to have a function that will extract the beam peaks (l=0,m=0) and do a couple of plots.

Data in holog_zarr is organized as follows: [ddi_i] [map_j] [ant_k] [time,chan,pol]

An example is given in the attached notebook: alma_debug_example.ipynb.zip

jrhosk commented 1 year ago

Aside from naming convention in the private function : ) this is can be checked out now. If it looks good, I'll boring-ify the private functions and we can merge it. Below is a snapshot of what to expect. There are two plotting options, matplotlib and plotly, the later is interactive. I chose let the user specify the polarization because default plotting ever combination looked messy and if desired the user can just do it themselves with a quick loop. @Jan-Willem @vsmagalhaes

calibration_check

Jan-Willem commented 1 year ago

Some comments:

jrhosk commented 1 year ago

This is done and merged. Not sure why it still shows up.