Description
I am attempting to remake figures using fits files from ALMA/CASA that worked in versions 1 and prior. However now, I am getting lots of errors and I just cannot parse what is going on.
First I get this error:
TypeError: WCS projection has 4 dimensions, so expected 2 (an Nx4 array and the origin argument) or 5 arguments (the position in each dimension, and the origin argument). Instead, 3 arguments were given.
The traceback points to the use of my use of
line_map.recenter(x,y,radius=(1.5/3600.))
If I comment out this line, then the image will be plotted correctly, however then I get another error at the use of 'show_contour' at which point I get
ValueError:
The output dimension of 'a' must be equal to the input dimensions of 'b'
Any suggestions would be very helpful.