{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/nipy/issues/331","labels_url":"https://api.github.com/repos/nipy/nipy/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/nipy/nipy/issues/331/comments","events_url":"https://api.github.com/repos/nipy/nipy/issues/331/events","html_url":"https://github.com/nipy/nipy/pull/331","id":64046760,"number":331,"title":"Cosine bf","user":{"login":"jbpoline","id":275048,"avatar_url":"https://avatars.githubusercontent.com/u/275048?v=3","gravatar_id":"","url":"https://api.github.com/users/jbpoline","html_url":"https://github.com/jbpoline","followers_url":"https://api.github.com/users/jbpoline/followers","following_url":"https://api.github.com/users/jbpoline/following{/other_user}","gists_url":"https://api.github.com/users/jbpoline/gists{/gist_id}","starred_url":"https://api.github.com/users/jbpoline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbpoline/subscriptions","organizations_url":"https://api.github.com/users/jbpoline/orgs","repos_url":"https://api.github.com/users/jbpoline/repos","events_url":"https://api.github.com/users/jbpoline/events{/privacy}","received_events_url":"https://api.github.com/users/jbpoline/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-24T16:56:10Z","updated_at":"2015-04-23T18:31:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nipy/nipy/pulls/331","html_url":"https://github.com/nipy/nipy/pull/331","diff_url":"https://github.com/nipy/nipy/pull/331.diff","patch_url":"https://github.com/nipy/nipy/pull/331.patch"},"body":"It looks like the cosine_drift was not giving exactly the answer that spm does, while this implementation does. I also found that the basis (excluding the non - normalized constant term) was not exactly othonormal, this one is. I added a test using the output of spm_dctmtx and corrected the corresponding tests. "},"comment":{"url":"https://api.github.com/repos/nipy/nipy/issues/comments/95678673","html_url":"https://github.com/nipy/nipy/pull/331#issuecomment-95678673","issue_url":"https://api.github.com/repos/nipy/nipy/issues/331","id":95678673,"user":{"login":"jbpoline","id":275048,"avatar_url":"https://avatars.githubusercontent.com/u/275048?v=3","gravatar_id":"","url":"https://api.github.com/users/jbpoline","html_url":"https://github.com/jbpoline","followers_url":"https://api.github.com/users/jbpoline/followers","following_url":"https://api.github.com/users/jbpoline/following{/other_user}","gists_url":"https://api.github.com/users/jbpoline/gists{/gist_id}","starred_url":"https://api.github.com/users/jbpoline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbpoline/subscriptions","organizations_url":"https://api.github.com/users/jbpoline/orgs","repos_url":"https://api.github.com/users/jbpoline/repos","events_url":"https://api.github.com/users/jbpoline/events{/privacy}","received_events_url":"https://api.github.com/users/jbpoline/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T18:31:49Z","updated_at":"2015-04-23T18:31:49Z","body":"Thanks - sorry I didn't see earlier that you had already responded, missed the notification. \r\n"}}