{"action":"closed","issue":{"url":"https://api.github.com/repos/INCF/MUSIC/issues/18","repository_url":"https://api.github.com/repos/INCF/MUSIC","labels_url":"https://api.github.com/repos/INCF/MUSIC/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/INCF/MUSIC/issues/18/comments","events_url":"https://api.github.com/repos/INCF/MUSIC/issues/18/events","html_url":"https://github.com/INCF/MUSIC/issues/18","id":140394997,"number":18,"title":"PyMusic support for complex MPI Datatypes?","user":{"login":"uahic","id":5192246,"avatar_url":"https://avatars.githubusercontent.com/u/5192246?v=3","gravatar_id":"","url":"https://api.github.com/users/uahic","html_url":"https://github.com/uahic","followers_url":"https://api.github.com/users/uahic/followers","following_url":"https://api.github.com/users/uahic/following{/other_user}","gists_url":"https://api.github.com/users/uahic/gists{/gist_id}","starred_url":"https://api.github.com/users/uahic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uahic/subscriptions","organizations_url":"https://api.github.com/users/uahic/orgs","repos_url":"https://api.github.com/users/uahic/repos","events_url":"https://api.github.com/users/uahic/events{/privacy}","received_events_url":"https://api.github.com/users/uahic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-03-12T15:56:21Z","updated_at":"2016-09-06T11:08:03Z","closed_at":"2016-09-06T11:08:03Z","body":"PyMusic supports auto detection of primitive datatypes of the buffer passed by the user. There are use cases where complex data types could also be desired as for example in NEST with the music_cont_out_proxy when observing multiple quantities at once to save additional proxies and function calls. \r\n\r\n@mdjurfeldt There are a few questions now: do you think its worth it to implement this support in the PyMusic interface? I put some thoughts in how to accomplish auto detection by the given buffer but I think the most straight forward solution would be to have a helper function that creates a proper numpy-dtype with an api like create_numpy_dtype( primitive_dtype, multiplicity) and possibly an alternative for a pure python array."}}
{"actor":{"display_login":"uahic"}}