I am new to the ProFound. I downloaded ProFound today and followed the steps described in Hale et al. (2019) MNRAS, 487, 3971. Since I installed it today, I think I have the most up-to-date version. I got the error when running the ProFound as shown below. I did not find out this kind of error in the previous threads and even google. Can you please let me know why this happened and how to solve ?
> image=readFITS(image_name) > image_blind=profoundProFound(image, plot=FALSE, skycut=4.0, rotstats=TRUE, boundstats=TRUE, groupstats=TRUE, groupby=‘semi’,verbose=TRUE) Running ProFound: Using raw flux units Supplied image contains image and header components Supplied image is 2048 x 2048 pixels Extracted pixel scale from header provided: 1.5 asec/pixel Supplied image is 51.2 x 51.2 Amin, 0.7282 deg-sq Making initial sky map - 0.07 sec Error in .Cadacs_MakeSkyGrid(image = image, sky = temp_bi_sk, skyRMS = temp_bi_skyRMS, : Not a matrix.
Thanks for your response. I solved this problem. The original map has a size of 2048x2048, where the observation was limited by the primary beam. The primary beam is circular within the box of [180,180]~[1868,1868]. Pixels outside the primary beam are filled with NaN. Running with this image generated the error above. However, I clipped the image with [180, 180]~[1868, 1868] by minimizing the NaN pixels, ran the ProFound, and found it works. I suspect that the error might come from the NaN pixels.