{"action":"created","issue":{"url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/240","repository_url":"https://api.github.com/repos/BEAST-Fitting/beast","labels_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/240/comments","events_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/240/events","html_url":"https://github.com/BEAST-Fitting/beast/issues/240","id":353908872,"node_id":"MDU6SXNzdWUzNTM5MDg4NzI=","number":240,"title":"condensing the spatially-reorganized 1D PDFs","user":{"login":"lea-hagen","id":32465297,"node_id":"MDQ6VXNlcjMyNDY1Mjk3","avatar_url":"https://avatars0.githubusercontent.com/u/32465297?v=4","gravatar_id":"","url":"https://api.github.com/users/lea-hagen","html_url":"https://github.com/lea-hagen","followers_url":"https://api.github.com/users/lea-hagen/followers","following_url":"https://api.github.com/users/lea-hagen/following{/other_user}","gists_url":"https://api.github.com/users/lea-hagen/gists{/gist_id}","starred_url":"https://api.github.com/users/lea-hagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lea-hagen/subscriptions","organizations_url":"https://api.github.com/users/lea-hagen/orgs","repos_url":"https://api.github.com/users/lea-hagen/repos","events_url":"https://api.github.com/users/lea-hagen/events{/privacy}","received_events_url":"https://api.github.com/users/lea-hagen/received_events","type":"User","site_admin":false},"labels":[{"id":433106198,"node_id":"MDU6TGFiZWw0MzMxMDYxOTg=","url":"https://api.github.com/repos/BEAST-Fitting/beast/labels/bug","name":"bug","color":"ee0701","default":true},{"id":508836689,"node_id":"MDU6TGFiZWw1MDg4MzY2ODk=","url":"https://api.github.com/repos/BEAST-Fitting/beast/labels/fitting","name":"fitting","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-24T19:57:20Z","updated_at":"2018-08-27T14:45:16Z","closed_at":null,"author_association":"MEMBER","body":"The 1D PDFs that are created during the fitting have N+1 rows (N = number of stars), where the last row defines the bins for the PDFs.  The bins are based on the values of the parameters present in the individual run.  Therefore, particularly when doing a production run with files divided by flux, the range of parameters will be different between runs - most notably the fluxes and masses.  The number of bins could also be different.\r\n\r\nWhen running `condense_beast_results_spatial.py`, it is assumed that the array size of the 1D PDFs is the same between the sub-files, as well as the definitions of the bins.  Since this isn't generally the case, we need to figure out a way to properly combine the information.  Also, it currently crashes if the number of bins is different.\r\n\r\n(Fortunately the MegaBEAST uses the `lnp` arrays and not the 1D PDFs.)"},"comment":{"url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/comments/416251117","html_url":"https://github.com/BEAST-Fitting/beast/issues/240#issuecomment-416251117","issue_url":"https://api.github.com/repos/BEAST-Fitting/beast/issues/240","id":416251117,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjI1MTExNw==","user":{"login":"karllark","id":1554536,"node_id":"MDQ6VXNlcjE1NTQ1MzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1554536?v=4","gravatar_id":"","url":"https://api.github.com/users/karllark","html_url":"https://github.com/karllark","followers_url":"https://api.github.com/users/karllark/followers","following_url":"https://api.github.com/users/karllark/following{/other_user}","gists_url":"https://api.github.com/users/karllark/gists{/gist_id}","starred_url":"https://api.github.com/users/karllark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karllark/subscriptions","organizations_url":"https://api.github.com/users/karllark/orgs","repos_url":"https://api.github.com/users/karllark/repos","events_url":"https://api.github.com/users/karllark/events{/privacy}","received_events_url":"https://api.github.com/users/karllark/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T14:45:16Z","updated_at":"2018-08-27T14:45:16Z","author_association":"MEMBER","body":"Great.  Will need to make sure that the plotting script can handle either version of the 1D pPDF file."}}
{"actor":{"display_login":"karllark"}}