Is your feature request related to a problem? Please describe.
This is a bit step forward from versions prior to 6.2.0 in that the old way ran the vol fraction calculation first then threw an error and stopped without plotting or showing anything useful. However, it DID give an indication of what the failure was - basically the A was negative. More helpful would be say why that might be the case. However now, everything else plots and computes and updated but the vol fraction entry just stays blank with no explanation at all. So the user gets the impression the program is broken and doesn't work at all.
Describe the solution you'd like
The easiest would be to replace the previous error which is clearly now being handled gracefully with a warning (just like when the slope calculation is incorrect) stating that the the value of the square root term is negative, either because the contrast term is too small or the Q* is computing too large (for example because the extrapolation is adding too much area under the curve)
Describe alternatives you've considered
None .. but any method that helps the user understand why nothing happened and that it is not that the program crashed or that there is a bug.
Is your feature request related to a problem? Please describe.
This is a bit step forward from versions prior to 6.2.0 in that the old way ran the vol fraction calculation first then threw an error and stopped without plotting or showing anything useful. However, it DID give an indication of what the failure was - basically the A was negative. More helpful would be say why that might be the case. However now, everything else plots and computes and updated but the vol fraction entry just stays blank with no explanation at all. So the user gets the impression the program is broken and doesn't work at all.
Describe the solution you'd like
The easiest would be to replace the previous error which is clearly now being handled gracefully with a warning (just like when the slope calculation is incorrect) stating that the the value of the square root term is negative, either because the contrast term is too small or the Q* is computing too large (for example because the extrapolation is adding too much area under the curve)
Describe alternatives you've considered
None .. but any method that helps the user understand why nothing happened and that it is not that the program crashed or that there is a bug.