Why can some azimuth values be np.nan? To investigate this issue, we must try the function with various inputs- I was able to get a np.nan from the server. Then, we must determine what adjustment to the formula is needed in np.nan is a valid answer- if it's not, we must determine why the function is producing np.nan values.
@chinesebug can you investigate this error by trying the function on different inputs? this should help test the function (though I don't know if the IO routines work on the head / neck cancer patient cases - if they don't, can you write IO code for them too?)
Consider the line of code below:
https://github.com/vvmurthy/RadiationTherapyDecisionSupport/blob/ec7dae441d15f07f130b0874f479cc1ad692a3e2/Python/AlgoEngine/sts.py#L63
Why can some azimuth values be
np.nan
? To investigate this issue, we must try the function with various inputs- I was able to get anp.nan
from the server. Then, we must determine what adjustment to the formula is needed innp.nan
is a valid answer- if it's not, we must determine why the function is producingnp.nan
values.