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
This function is needed to interface with other tools, like emcee etc. Note that in many versions of python, dictionaries don't have any ordering promises on their keys. Thus this function needs to do something like sort the keys of the dict, and return the values in the key sorted order. The function to convert back should take in the parameter names in any order and a numpy array and return a dictionary with them mapped back to right spot.
The text was updated successfully, but these errors were encountered:
beckermr
changed the title
add a functions to convert the parameters dictionary to a numpy array and back
add functions to convert the parameters dictionary to a numpy array and back
Oct 17, 2018
This function is needed to interface with other tools, like
emcee
etc. Note that in many versions of python, dictionaries don't have any ordering promises on their keys. Thus this function needs to do something like sort the keys of the dict, and return the values in the key sorted order. The function to convert back should take in the parameter names in any order and a numpy array and return a dictionary with them mapped back to right spot.The text was updated successfully, but these errors were encountered: