Replies: 1 comment
-
These are just logger warnings, so are not a cause for major concern. The emcee sampler is continuing, but just rejecting those samples because of the unphysical radius you mentioned. The reason this is happening is because your initializing distribution are gaussians - which always have a chance of giving negative values since they have no cutoff - and are fairly broad which increases the probability of drawing negative values. The sampler will eventually figure this out as long as it can find valid initial values for the walkers (in other words - as long as there is a large enough probability of finding valid values that it doesn't repeatedly keep drawing unphysical values). If you are concerned that this is happening "too much" and causing the sampling process to slow down significantly, you can use a uniform distribution instead (or in combination with a gaussian) to ensure a hard cutoff on the original sampling. |
Beta Was this translation helpful? Give feedback.
-
After successfully running Nelder-Mead on my system, I am now trying to estimate the parameter uncertainties via emcee sampling.
But now I got an error shown in the screenshot:
It basically says the radius of a star is negative which is of course unphysical.
Relevant lines of code:
`logger = phoebe.logger('warning')
Beta Was this translation helpful? Give feedback.
All reactions