{"action":"created","comment":{"url":"https://api.github.com/repos/chrisdembia/perimysium/pulls/comments/40750233","id":40750233,"diff_hunk":"@@ -409,6 +409,21 @@ def write(self, fpath):\n \n         f.close()\n \n+    def add_noise(self, noise_width):\n+        \"\"\" add random noise to each component of the marker trajectory\n+            The noise mean will be zero, with the noise_width being the\n+            standard deviation.\n+\n+            noise_width : int\n+        \"\"\"\n+        for imarker in range(self.num_markers):\n+            components = ['_tx', '_ty', '_tz']\n+            for iComponent in range(0, 3):","path":"perimysium/dataman.py","position":52,"original_position":52,"commit_id":"e837341bb3eccf030ee87abdd12463c2c90051cf","original_commit_id":"e837341bb3eccf030ee87abdd12463c2c90051cf","user":{"login":"chrisdembia","id":846001,"avatar_url":"https://avatars.githubusercontent.com/u/846001?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdembia","html_url":"https://github.com/chrisdembia","followers_url":"https://api.github.com/users/chrisdembia/followers","following_url":"https://api.github.com/users/chrisdembia/following{/other_user}","gists_url":"https://api.github.com/users/chrisdembia/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdembia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdembia/subscriptions","organizations_url":"https://api.github.com/users/chrisdembia/orgs","repos_url":"https://api.github.com/users/chrisdembia/repos","events_url":"https://api.github.com/users/chrisdembia/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdembia/received_events","type":"User","site_admin":false},"body":"fyi you can omit that first 0; `range(3)` would do the same thing.","created_at":"2015-09-30T01:16:04Z","updated_at":"2015-09-30T01:16:04Z","html_url":"https://github.com/chrisdembia/perimysium/pull/3#discussion_r40750233","pull_request_url":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/chrisdembia/perimysium/pulls/comments/40750233"},"html":{"href":"https://github.com/chrisdembia/perimysium/pull/3#discussion_r40750233"},"pull_request":{"href":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3","id":46346303,"html_url":"https://github.com/chrisdembia/perimysium/pull/3","diff_url":"https://github.com/chrisdembia/perimysium/pull/3.diff","patch_url":"https://github.com/chrisdembia/perimysium/pull/3.patch","issue_url":"https://api.github.com/repos/chrisdembia/perimysium/issues/3","number":3,"state":"open","locked":false,"title":"added noise to dataman.TRCFile class","user":{"login":"jimmyDunne","id":5296507,"avatar_url":"https://avatars.githubusercontent.com/u/5296507?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyDunne","html_url":"https://github.com/jimmyDunne","followers_url":"https://api.github.com/users/jimmyDunne/followers","following_url":"https://api.github.com/users/jimmyDunne/following{/other_user}","gists_url":"https://api.github.com/users/jimmyDunne/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyDunne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyDunne/subscriptions","organizations_url":"https://api.github.com/users/jimmyDunne/orgs","repos_url":"https://api.github.com/users/jimmyDunne/repos","events_url":"https://api.github.com/users/jimmyDunne/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyDunne/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-29T23:41:11Z","updated_at":"2015-09-30T01:16:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e32672025b82605c00c7392baf0758b7d322f21","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3/commits","review_comments_url":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3/comments","review_comment_url":"https://api.github.com/repos/chrisdembia/perimysium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chrisdembia/perimysium/issues/3/comments","statuses_url":"https://api.github.com/repos/chrisdembia/perimysium/statuses/e837341bb3eccf030ee87abdd12463c2c90051cf","head":{"label":"jimmyDunne:master","ref":"master","sha":"e837341bb3eccf030ee87abdd12463c2c90051cf","user":{"login":"jimmyDunne","id":5296507,"avatar_url":"https://avatars.githubusercontent.com/u/5296507?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyDunne","html_url":"https://github.com/jimmyDunne","followers_url":"https://api.github.com/users/jimmyDunne/followers","following_url":"https://api.github.com/users/jimmyDunne/following{/other_user}","gists_url":"https://api.github.com/users/jimmyDunne/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyDunne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyDunne/subscriptions","organizations_url":"https://api.github.com/users/jimmyDunne/orgs","repos_url":"https://api.github.com/users/jimmyDunne/repos","events_url":"https://api.github.com/users/jimmyDunne/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyDunne/received_events","type":"User","site_admin":false},"repo":{"id":43400382,"name":"perimysium","full_name":"jimmyDunne/perimysium","owner":{"login":"jimmyDunne","id":5296507,"avatar_url":"https://avatars.githubusercontent.com/u/5296507?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyDunne","html_url":"https://github.com/jimmyDunne","followers_url":"https://api.github.com/users/jimmyDunne/followers","following_url":"https://api.github.com/users/jimmyDunne/following{/other_user}","gists_url":"https://api.github.com/users/jimmyDunne/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyDunne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyDunne/subscriptions","organizations_url":"https://api.github.com/users/jimmyDunne/orgs","repos_url":"https://api.github.com/users/jimmyDunne/repos","events_url":"https://api.github.com/users/jimmyDunne/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyDunne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimmyDunne/perimysium","description":"Client code (e.g. postprocessing) for OpenSim","fork":true,"url":"https://api.github.com/repos/jimmyDunne/perimysium","forks_url":"https://api.github.com/repos/jimmyDunne/perimysium/forks","keys_url":"https://api.github.com/repos/jimmyDunne/perimysium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimmyDunne/perimysium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimmyDunne/perimysium/teams","hooks_url":"https://api.github.com/repos/jimmyDunne/perimysium/hooks","issue_events_url":"https://api.github.com/repos/jimmyDunne/perimysium/issues/events{/number}","events_url":"https://api.github.com/repos/jimmyDunne/perimysium/events","assignees_url":"https://api.github.com/repos/jimmyDunne/perimysium/assignees{/user}","branches_url":"https://api.github.com/repos/jimmyDunne/perimysium/branches{/branch}","tags_url":"https://api.github.com/repos/jimmyDunne/perimysium/tags","blobs_url":"https://api.github.com/repos/jimmyDunne/perimysium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimmyDunne/perimysium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimmyDunne/perimysium/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimmyDunne/perimysium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimmyDunne/perimysium/statuses/{sha}","languages_url":"https://api.github.com/repos/jimmyDunne/perimysium/languages","stargazers_url":"https://api.github.com/repos/jimmyDunne/perimysium/stargazers","contributors_url":"https://api.github.com/repos/jimmyDunne/perimysium/contributors","subscribers_url":"https://api.github.com/repos/jimmyDunne/perimysium/subscribers","subscription_url":"https://api.github.com/repos/jimmyDunne/perimysium/subscription","commits_url":"https://api.github.com/repos/jimmyDunne/perimysium/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimmyDunne/perimysium/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimmyDunne/perimysium/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimmyDunne/perimysium/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimmyDunne/perimysium/contents/{+path}","compare_url":"https://api.github.com/repos/jimmyDunne/perimysium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimmyDunne/perimysium/merges","archive_url":"https://api.github.com/repos/jimmyDunne/perimysium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimmyDunne/perimysium/downloads","issues_url":"https://api.github.com/repos/jimmyDunne/perimysium/issues{/number}","pulls_url":"https://api.github.com/repos/jimmyDunne/perimysium/pulls{/number}","milestones_url":"https://api.github.com/repos/jimmyDunne/perimysium/milestones{/number}","notifications_url":"https://api.github.com/repos/jimmyDunne/perimysium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimmyDunne/perimysium/labels{/name}","releases_url":"https://api.github.com/repos/jimmyDunne/perimysium/releases{/id}","created_at":"2015-09-29T23:33:03Z","updated_at":"2015-09-29T23:33:05Z","pushed_at":"2015-09-30T00:33:32Z","git_url":"git://github.com/jimmyDunne/perimysium.git","ssh_url":"git@github.com:jimmyDunne/perimysium.git","clone_url":"https://github.com/jimmyDunne/perimysium.git","svn_url":"https://github.com/jimmyDunne/perimysium","homepage":"","size":370,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chrisdembia:master","ref":"master","sha":"bd20a375e9eea3c8ce7a1dbf8a76c90ed0cc9dd9","user":{"login":"chrisdembia","id":846001,"avatar_url":"https://avatars.githubusercontent.com/u/846001?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdembia","html_url":"https://github.com/chrisdembia","followers_url":"https://api.github.com/users/chrisdembia/followers","following_url":"https://api.github.com/users/chrisdembia/following{/other_user}","gists_url":"https://api.github.com/users/chrisdembia/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdembia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdembia/subscriptions","organizations_url":"https://api.github.com/users/chrisdembia/orgs","repos_url":"https://api.github.com/users/chrisdembia/repos","events_url":"https://api.github.com/users/chrisdembia/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdembia/received_events","type":"User","site_admin":false},"repo":{"id":6707969,"name":"perimysium","full_name":"chrisdembia/perimysium","owner":{"login":"chrisdembia","id":846001,"avatar_url":"https://avatars.githubusercontent.com/u/846001?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdembia","html_url":"https://github.com/chrisdembia","followers_url":"https://api.github.com/users/chrisdembia/followers","following_url":"https://api.github.com/users/chrisdembia/following{/other_user}","gists_url":"https://api.github.com/users/chrisdembia/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdembia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdembia/subscriptions","organizations_url":"https://api.github.com/users/chrisdembia/orgs","repos_url":"https://api.github.com/users/chrisdembia/repos","events_url":"https://api.github.com/users/chrisdembia/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdembia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisdembia/perimysium","description":"Client code (e.g. postprocessing) for OpenSim","fork":false,"url":"https://api.github.com/repos/chrisdembia/perimysium","forks_url":"https://api.github.com/repos/chrisdembia/perimysium/forks","keys_url":"https://api.github.com/repos/chrisdembia/perimysium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisdembia/perimysium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisdembia/perimysium/teams","hooks_url":"https://api.github.com/repos/chrisdembia/perimysium/hooks","issue_events_url":"https://api.github.com/repos/chrisdembia/perimysium/issues/events{/number}","events_url":"https://api.github.com/repos/chrisdembia/perimysium/events","assignees_url":"https://api.github.com/repos/chrisdembia/perimysium/assignees{/user}","branches_url":"https://api.github.com/repos/chrisdembia/perimysium/branches{/branch}","tags_url":"https://api.github.com/repos/chrisdembia/perimysium/tags","blobs_url":"https://api.github.com/repos/chrisdembia/perimysium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisdembia/perimysium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisdembia/perimysium/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisdembia/perimysium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisdembia/perimysium/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisdembia/perimysium/languages","stargazers_url":"https://api.github.com/repos/chrisdembia/perimysium/stargazers","contributors_url":"https://api.github.com/repos/chrisdembia/perimysium/contributors","subscribers_url":"https://api.github.com/repos/chrisdembia/perimysium/subscribers","subscription_url":"https://api.github.com/repos/chrisdembia/perimysium/subscription","commits_url":"https://api.github.com/repos/chrisdembia/perimysium/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisdembia/perimysium/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisdembia/perimysium/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisdembia/perimysium/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisdembia/perimysium/contents/{+path}","compare_url":"https://api.github.com/repos/chrisdembia/perimysium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisdembia/perimysium/merges","archive_url":"https://api.github.com/repos/chrisdembia/perimysium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisdembia/perimysium/downloads","issues_url":"https://api.github.com/repos/chrisdembia/perimysium/issues{/number}","pulls_url":"https://api.github.com/repos/chrisdembia/perimysium/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisdembia/perimysium/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisdembia/perimysium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisdembia/perimysium/labels{/name}","releases_url":"https://api.github.com/repos/chrisdembia/perimysium/releases{/id}","created_at":"2012-11-15T16:40:21Z","updated_at":"2015-05-08T00:14:24Z","pushed_at":"2015-09-30T00:33:33Z","git_url":"git://github.com/chrisdembia/perimysium.git","ssh_url":"git@github.com:chrisdembia/perimysium.git","clone_url":"https://github.com/chrisdembia/perimysium.git","svn_url":"https://github.com/chrisdembia/perimysium","homepage":"","size":721,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3"},"html":{"href":"https://github.com/chrisdembia/perimysium/pull/3"},"issue":{"href":"https://api.github.com/repos/chrisdembia/perimysium/issues/3"},"comments":{"href":"https://api.github.com/repos/chrisdembia/perimysium/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/chrisdembia/perimysium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chrisdembia/perimysium/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/chrisdembia/perimysium/statuses/e837341bb3eccf030ee87abdd12463c2c90051cf"}}}}