jacobfc / VAMP

Voigt Automatic MCMC Profiles
0 stars 2 forks source link

AICc divide by zero error sometimes causes chi-squared to be negative #2

Open jacobfc opened 5 years ago

jacobfc commented 5 years ago

For some spectra (for a currently unknown reason), the pymc fit() calculation of "AICc" causes a divide by zero error. This is handled by pymc==2.3.7 , but sometimes seems to result in negative chi-squared values.