dannyjacobs / ECHO

Software, libraries and data for the External Calibrator for Hydrogen Observatories
1 stars 3 forks source link

plot_polar() function in observations.py #36

Closed mrudula-gopalkrishna closed 3 years ago

mrudula-gopalkrishna commented 3 years ago

plot_polar() currently seems to only works for altitude= 0.

Also not sure what this piece of code intended to do:
alt[:]=altitude*np.pi/2

dmlewis9 commented 3 years ago

Hmmm, it seems to only work with certain altitudes. I'm working on figuring out a fix.

Also that line simply converts the decimal altitude into radians.

dmlewis9 commented 3 years ago

Fixed in https://github.com/dannyjacobs/ECHO/commit/02512b286ee71829c630926877a34902e9d8b5e1, function should work properly now.