{"action":"created","issue":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/2419","labels_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2419/labels{/name}","comments_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2419/comments","events_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2419/events","html_url":"https://github.com/mne-tools/mne-python/issues/2419","id":101753676,"number":2419,"title":"Easily append zeros to a Raw object","user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars.githubusercontent.com/u/1839645?v=3","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-18T21:33:34Z","updated_at":"2015-08-18T21:42:37Z","closed_at":null,"body":"What's the easiest way to quickly row the length of a Raw object? I've tried using a RawArray and `.append`, but this throws an error because the types of the two are not the same. Basically, one of my datasets is a prime number in length so it's taking forever to do a Hilbert transform, so I'd like to just append zeros to get it faster."},"comment":{"url":"https://api.github.com/repos/mne-tools/mne-python/issues/comments/132363981","html_url":"https://github.com/mne-tools/mne-python/issues/2419#issuecomment-132363981","issue_url":"https://api.github.com/repos/mne-tools/mne-python/issues/2419","id":132363981,"user":{"login":"choldgraf","id":1839645,"avatar_url":"https://avatars.githubusercontent.com/u/1839645?v=3","gravatar_id":"","url":"https://api.github.com/users/choldgraf","html_url":"https://github.com/choldgraf","followers_url":"https://api.github.com/users/choldgraf/followers","following_url":"https://api.github.com/users/choldgraf/following{/other_user}","gists_url":"https://api.github.com/users/choldgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/choldgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choldgraf/subscriptions","organizations_url":"https://api.github.com/users/choldgraf/orgs","repos_url":"https://api.github.com/users/choldgraf/repos","events_url":"https://api.github.com/users/choldgraf/events{/privacy}","received_events_url":"https://api.github.com/users/choldgraf/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T21:42:37Z","updated_at":"2015-08-18T21:42:37Z","body":"Also an option, yeah. In scipy you can specify \"N\" and it'll append zeros to that point. Could just allow Hilbert to take \"N\" and then it'd supply that to the call to \"Hilbert\" and then take the first `n_times` points in the output of Hilbert."}}