To smooth (in miriad):
1) task convol; in = *.clean.restor; out = *.clean.restor.convol; fwhm = 2*fwhm, 2*fwhm; options=final
2) hanning smooth in velocity space
- task hanning; in = *.clean.restor.convol; out = *.clean.restor.convol.hanning; width=3
3) use 2*(sigma in convol) to blank in maths:
- task maths; exp = <*.clean.restor.convol.hanning>; mask = <*.clean.restor.convol.hanning>.gt.0.0001; out = *.mask
5) get a region for channel maps to clean again with cgcurs
- open the *.mask in kvis
- task cgcurs; in=*.mask; type=pix; device=/xwin; range = 0,0.001, device=/xwin; nxy=1; options=region
this will output a cgcurs.region file. Now we need to make a mask:
6) immask
task immask
in=*.mask
region=@cgcurs.region
logic=and
flag=true
--
AdrienneStilp - 2009-02-25