Closed o-smirnov closed 3 years ago
Ah, I see what's happening. The effective number of degrees of freedom is zero and I divide by it to set the chisq per deg of freedom to one (so that error bars have the right scale). I've fixed it here
https://github.com/landmanbester/codex-africanus/tree/nonzero_dof
Should be in master in about an hr or so
The fix is in africanus master branch now if you want to give it a try @o-smirnov
Yep, works now, thanks!
The error map is very funky though. Is it supposed to be reasonable?
Well its a hack for sure. The error map conflates goodness of fit with uncertainties coming from the data. Also, in this case, the effective number of degrees of freedom is zero (2 data points and 2 parameters) so I would have thought that it fits the data perfectly. Are the uncertainties higher or lower than you expect?
Are the uncertainties higher or lower than you expect?
Both, lol... A few isolated 1e+16 pixels in a sea of ~1e-16.
That's a bit worrying. We could always fit a parametrised model to the dirty image using pfb iterations but that is a problem for future me. Instead. I'll issue the following disclaimer: take those error bars with a heap of salt!
With a sea of sniffing salts, even.
My faith in the veracity of spectral index measurements of low surface brightness objects is currently at the same level as my faith in the incorruptibility of the ANC.... too bad this is our science case. :rofl:
Hahaha. They are slightly more reliable when fitting with nband > 2
Files are in
/net/young/home/oms/projects/Shapley/selfcal-shap1/spi-2band
, running as