Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"unphysical rms" when attempting to extract spectral index from mutlichannel cube #154

Open
kendak333 opened this issue Mar 25, 2021 · 2 comments

Comments

@kendak333
Copy link

Can someone please help me understand why I am getting the following error:

"Thread raised exception A region with an unphysical rms value has been found. Please check the input image."

I am trying to extract a source catalogue inclusive of spectral index values, using a multi-channel cube. This error only pops up when I have spectralindex_do=True. I'm not sure what I'm meant to be looking for in the image, or how to circumvent this.

Abell_2751_aFix_pol_I_Farcsec_fcube_cor.fits.pybdsf.log

@mhardcastle
Copy link
Contributor

Not saying this is your problem, but the frequency_sp in the log is a little bit odd!

Did you resolve the problem?

@sarrvesh
Copy link

I encountered this issue today. Not sure if you have resolved your problem, but here is how I worked around the "unphysical rms" error. While creating my cube, I inserted the MFS image as the first channel. Then, I ran process_image() with collapse_mode='single', collapse_ch0=0. If I understand the documentation and the log correctly, this makes pybdsf detect sources on the first channel (which is the MFS image), and then derive spectral indices using flux measurements from the individual channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants