Commit 06f31f04 authored by OP's avatar OP
Browse files

small bug when importing

parent 20889e8e
......@@ -13,7 +13,7 @@ import time
# Choices: ['auto', 'gtk', 'gtk3', 'inline', 'nbagg', 'notebook', 'osx', 'qt', 'qt4', 'qt5', 'tk', 'wx']
rfreq = [1370.,1380.,1421.,1440.]
rfreq = [1370.,1390.,1420.5,1430.]
names = ['1H','2H','3H','4H','1V','2V','3V','4V','1Hx2H','1Hx3H','1Hx4H','2Hx3H','2Hx4H','3Hx4H',
'1Vx2V','1Vx3V','1Vx4V','2Vx3V','2Vx4V','3Vx4V','1Hx1V','1Hx2V','1Hx3V','1Hx4V','2Hx1V','2Hx2V','2Hx3V','2Hx4V',
......@@ -57,7 +57,7 @@ def viewtfmap(folder,num,mvmin=0.,mvmax=0.,save=False, raplot=False,timeplot=F
if num>7 :
imgi= hdulist[ i+1].data
img = sqrt(img**2+imgi**2)
img = np.sqrt(img**2+imgi**2)
if len(cor) ==2 :
imca = hdulist[cor[0]].data
imcb = hdulist[4+cor[1]].data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment