Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add functions to convert the parameters dictionary to a numpy array and back #28

Closed
beckermr opened this issue Oct 17, 2018 · 0 comments
Milestone

Comments

@beckermr
Copy link
Collaborator

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.

@beckermr beckermr added this to the v0.1 milestone Oct 17, 2018
@beckermr 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 was referenced Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant