Page 1 of 1

rmclean task problem

PostPosted: Tue Jun 26, 2018 6:31 pm
by Rami zainal
Hi all,

I want to apply the task (rmclean) on cube (stokes q and u), the cube produced from the task (invert) and the frequency is 5.5 GHz (CABB data), but i have this error I don’t know what its mean.

Task: rmclean
inq =
inu =
freq = 5500000000
weight =
nmax =
gain =
cutoff =
fwhm =
method =
outq =
outu =
modq =
modu =
resq =
resu =
ni =
derot = 0
debug = 0
rmclean% go
RMCLEAN: version 1.8 29-Mar-13
### Warning: Using equal weights for all frequencies
### Warning: I will determine FWHM for you
NMAX = +1000
GAIN = +0.10000
CUTOFF = +0.000000000
Using cross-correlation clean component method
NOT doing in-line derotation, note lambda_0^2 !
### Fatal Error: PHI axis is too long!

Thank you for every thing.

kindly regards,

Re: rmclean task problem

PostPosted: Wed Jun 27, 2018 10:14 am
by Mark.Wieringa
Hi Rami,

I'm no expert on rmclean, having never run it myself, but looking at the code the error message indicates that the cube has too many spectral channels (or it needs reordering to get the channel axis first).
The maximum is 2048.
Also, the help says freq needs to be a text file with all the frequencies. Instead of specifying a single frequency, you'll need all the channel frequencies in a file I think.
The recommended way to run it is to use the python script miriad/scripts/

Rmclean was contributed to Miriad by George Heald, so if you need more detailed advice on the best way to use it for your project you could contact him directly (George.Heald @



Re: rmclean task problem

PostPosted: Wed Jun 27, 2018 10:25 am
by Rami zainal
Thanks Mark appreciated.