You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PL model that corrects the Galactic diffuse model is created with an index of zero (as it should be), but it has limits on the index of [0,10] .. which means that the index can never allow harder spectra than zero. I would suggest the appropriate limits should be [-1,1] or something like that, to allow the correction to swing both positive and negative from the nominal value.
The text was updated successfully, but these errors were encountered:
Good catch! Looking at XML files produced from my older version, I did have the min and max matched what you suggested, but in my move to the new code I forgot to ensure that this was done the same way. I've pushed a change and will upload it to PyPI soon and create a new release tag. (I just have to sort out my PyPI password to verify my email).
make4FGLxml/LATSourceModel/src/LATSourceModel/SourceList.py
Line 477 in d222bdb
The PL model that corrects the Galactic diffuse model is created with an index of zero (as it should be), but it has limits on the index of [0,10] .. which means that the index can never allow harder spectra than zero. I would suggest the appropriate limits should be [-1,1] or something like that, to allow the correction to swing both positive and negative from the nominal value.
The text was updated successfully, but these errors were encountered: