{"action":"created","comment":{"url":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/comments/28230633","id":28230633,"diff_hunk":"@@ -1764,9 +1768,12 @@ def measure_approximate_fwhm(self, threshold='error', emission=True,\n         \n         if interpolate_factor > 1:\n             newxarr = units.SpectroscopicAxis(\n-                    np.arange(xarr.min()-cd,xarr.max()+cd,cd / float(interpolate_factor)))\n+                    np.arange(xarr.min().value-cd,xarr.max().value+cd,cd / float(interpolate_factor)),\n+                    unit=xarr._unit,","path":"pyspeckit/spectrum/fitters.py","position":77,"original_position":77,"commit_id":"87a5bc9edf518c1e41479cf80f295c5f4327c813","original_commit_id":"87a5bc9edf518c1e41479cf80f295c5f4327c813","user":{"login":"dinossimpson","id":1566093,"avatar_url":"https://avatars.githubusercontent.com/u/1566093?v=3","gravatar_id":"","url":"https://api.github.com/users/dinossimpson","html_url":"https://github.com/dinossimpson","followers_url":"https://api.github.com/users/dinossimpson/followers","following_url":"https://api.github.com/users/dinossimpson/following{/other_user}","gists_url":"https://api.github.com/users/dinossimpson/gists{/gist_id}","starred_url":"https://api.github.com/users/dinossimpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinossimpson/subscriptions","organizations_url":"https://api.github.com/users/dinossimpson/orgs","repos_url":"https://api.github.com/users/dinossimpson/repos","events_url":"https://api.github.com/users/dinossimpson/events{/privacy}","received_events_url":"https://api.github.com/users/dinossimpson/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2015-04-13T11:27:24Z","updated_at":"2015-04-13T11:27:24Z","html_url":"https://github.com/pyspeckit/pyspeckit/pull/26#discussion_r28230633","pull_request_url":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/comments/28230633"},"html":{"href":"https://github.com/pyspeckit/pyspeckit/pull/26#discussion_r28230633"},"pull_request":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26","id":31120673,"html_url":"https://github.com/pyspeckit/pyspeckit/pull/26","diff_url":"https://github.com/pyspeckit/pyspeckit/pull/26.diff","patch_url":"https://github.com/pyspeckit/pyspeckit/pull/26.patch","issue_url":"https://api.github.com/repos/pyspeckit/pyspeckit/issues/26","number":26,"state":"open","locked":false,"title":"Change units to astropy units / quantities","user":{"login":"dinossimpson","id":1566093,"avatar_url":"https://avatars.githubusercontent.com/u/1566093?v=3","gravatar_id":"","url":"https://api.github.com/users/dinossimpson","html_url":"https://github.com/dinossimpson","followers_url":"https://api.github.com/users/dinossimpson/followers","following_url":"https://api.github.com/users/dinossimpson/following{/other_user}","gists_url":"https://api.github.com/users/dinossimpson/gists{/gist_id}","starred_url":"https://api.github.com/users/dinossimpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinossimpson/subscriptions","organizations_url":"https://api.github.com/users/dinossimpson/orgs","repos_url":"https://api.github.com/users/dinossimpson/repos","events_url":"https://api.github.com/users/dinossimpson/events{/privacy}","received_events_url":"https://api.github.com/users/dinossimpson/received_events","type":"User","site_admin":false},"body":"This is the latest version of the unit_refactoring branch and it includes the change of center_frequency to a Quantity. ","created_at":"2015-03-13T12:11:27Z","updated_at":"2015-04-13T11:27:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b8827f46912d7df17b090aad2a65d71e918030b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26/commits","review_comments_url":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26/comments","review_comment_url":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyspeckit/pyspeckit/issues/26/comments","statuses_url":"https://api.github.com/repos/pyspeckit/pyspeckit/statuses/87a5bc9edf518c1e41479cf80f295c5f4327c813","head":{"label":"dinossimpson:cfquantity","ref":"cfquantity","sha":"87a5bc9edf518c1e41479cf80f295c5f4327c813","user":{"login":"dinossimpson","id":1566093,"avatar_url":"https://avatars.githubusercontent.com/u/1566093?v=3","gravatar_id":"","url":"https://api.github.com/users/dinossimpson","html_url":"https://github.com/dinossimpson","followers_url":"https://api.github.com/users/dinossimpson/followers","following_url":"https://api.github.com/users/dinossimpson/following{/other_user}","gists_url":"https://api.github.com/users/dinossimpson/gists{/gist_id}","starred_url":"https://api.github.com/users/dinossimpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinossimpson/subscriptions","organizations_url":"https://api.github.com/users/dinossimpson/orgs","repos_url":"https://api.github.com/users/dinossimpson/repos","events_url":"https://api.github.com/users/dinossimpson/events{/privacy}","received_events_url":"https://api.github.com/users/dinossimpson/received_events","type":"User","site_admin":false},"repo":{"id":31539460,"name":"pyspeckit","full_name":"dinossimpson/pyspeckit","owner":{"login":"dinossimpson","id":1566093,"avatar_url":"https://avatars.githubusercontent.com/u/1566093?v=3","gravatar_id":"","url":"https://api.github.com/users/dinossimpson","html_url":"https://github.com/dinossimpson","followers_url":"https://api.github.com/users/dinossimpson/followers","following_url":"https://api.github.com/users/dinossimpson/following{/other_user}","gists_url":"https://api.github.com/users/dinossimpson/gists{/gist_id}","starred_url":"https://api.github.com/users/dinossimpson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinossimpson/subscriptions","organizations_url":"https://api.github.com/users/dinossimpson/orgs","repos_url":"https://api.github.com/users/dinossimpson/repos","events_url":"https://api.github.com/users/dinossimpson/events{/privacy}","received_events_url":"https://api.github.com/users/dinossimpson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dinossimpson/pyspeckit","description":"Python Spectroscopic Toolkit","fork":true,"url":"https://api.github.com/repos/dinossimpson/pyspeckit","forks_url":"https://api.github.com/repos/dinossimpson/pyspeckit/forks","keys_url":"https://api.github.com/repos/dinossimpson/pyspeckit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinossimpson/pyspeckit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinossimpson/pyspeckit/teams","hooks_url":"https://api.github.com/repos/dinossimpson/pyspeckit/hooks","issue_events_url":"https://api.github.com/repos/dinossimpson/pyspeckit/issues/events{/number}","events_url":"https://api.github.com/repos/dinossimpson/pyspeckit/events","assignees_url":"https://api.github.com/repos/dinossimpson/pyspeckit/assignees{/user}","branches_url":"https://api.github.com/repos/dinossimpson/pyspeckit/branches{/branch}","tags_url":"https://api.github.com/repos/dinossimpson/pyspeckit/tags","blobs_url":"https://api.github.com/repos/dinossimpson/pyspeckit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinossimpson/pyspeckit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinossimpson/pyspeckit/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinossimpson/pyspeckit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinossimpson/pyspeckit/statuses/{sha}","languages_url":"https://api.github.com/repos/dinossimpson/pyspeckit/languages","stargazers_url":"https://api.github.com/repos/dinossimpson/pyspeckit/stargazers","contributors_url":"https://api.github.com/repos/dinossimpson/pyspeckit/contributors","subscribers_url":"https://api.github.com/repos/dinossimpson/pyspeckit/subscribers","subscription_url":"https://api.github.com/repos/dinossimpson/pyspeckit/subscription","commits_url":"https://api.github.com/repos/dinossimpson/pyspeckit/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinossimpson/pyspeckit/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinossimpson/pyspeckit/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinossimpson/pyspeckit/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinossimpson/pyspeckit/contents/{+path}","compare_url":"https://api.github.com/repos/dinossimpson/pyspeckit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinossimpson/pyspeckit/merges","archive_url":"https://api.github.com/repos/dinossimpson/pyspeckit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinossimpson/pyspeckit/downloads","issues_url":"https://api.github.com/repos/dinossimpson/pyspeckit/issues{/number}","pulls_url":"https://api.github.com/repos/dinossimpson/pyspeckit/pulls{/number}","milestones_url":"https://api.github.com/repos/dinossimpson/pyspeckit/milestones{/number}","notifications_url":"https://api.github.com/repos/dinossimpson/pyspeckit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinossimpson/pyspeckit/labels{/name}","releases_url":"https://api.github.com/repos/dinossimpson/pyspeckit/releases{/id}","created_at":"2015-03-02T12:37:21Z","updated_at":"2015-03-02T12:37:22Z","pushed_at":"2015-04-10T16:32:33Z","git_url":"git://github.com/dinossimpson/pyspeckit.git","ssh_url":"git@github.com:dinossimpson/pyspeckit.git","clone_url":"https://github.com/dinossimpson/pyspeckit.git","svn_url":"https://github.com/dinossimpson/pyspeckit","homepage":null,"size":32914,"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":"pyspeckit:master","ref":"master","sha":"d4bc751057e00cbf4109cb57988b3ef7e26cf4e2","user":{"login":"pyspeckit","id":2507522,"avatar_url":"https://avatars.githubusercontent.com/u/2507522?v=3","gravatar_id":"","url":"https://api.github.com/users/pyspeckit","html_url":"https://github.com/pyspeckit","followers_url":"https://api.github.com/users/pyspeckit/followers","following_url":"https://api.github.com/users/pyspeckit/following{/other_user}","gists_url":"https://api.github.com/users/pyspeckit/gists{/gist_id}","starred_url":"https://api.github.com/users/pyspeckit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyspeckit/subscriptions","organizations_url":"https://api.github.com/users/pyspeckit/orgs","repos_url":"https://api.github.com/users/pyspeckit/repos","events_url":"https://api.github.com/users/pyspeckit/events{/privacy}","received_events_url":"https://api.github.com/users/pyspeckit/received_events","type":"User","site_admin":false},"repo":{"id":6116896,"name":"pyspeckit","full_name":"pyspeckit/pyspeckit","owner":{"login":"pyspeckit","id":2507522,"avatar_url":"https://avatars.githubusercontent.com/u/2507522?v=3","gravatar_id":"","url":"https://api.github.com/users/pyspeckit","html_url":"https://github.com/pyspeckit","followers_url":"https://api.github.com/users/pyspeckit/followers","following_url":"https://api.github.com/users/pyspeckit/following{/other_user}","gists_url":"https://api.github.com/users/pyspeckit/gists{/gist_id}","starred_url":"https://api.github.com/users/pyspeckit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyspeckit/subscriptions","organizations_url":"https://api.github.com/users/pyspeckit/orgs","repos_url":"https://api.github.com/users/pyspeckit/repos","events_url":"https://api.github.com/users/pyspeckit/events{/privacy}","received_events_url":"https://api.github.com/users/pyspeckit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pyspeckit/pyspeckit","description":"Python Spectroscopic Toolkit","fork":false,"url":"https://api.github.com/repos/pyspeckit/pyspeckit","forks_url":"https://api.github.com/repos/pyspeckit/pyspeckit/forks","keys_url":"https://api.github.com/repos/pyspeckit/pyspeckit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyspeckit/pyspeckit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyspeckit/pyspeckit/teams","hooks_url":"https://api.github.com/repos/pyspeckit/pyspeckit/hooks","issue_events_url":"https://api.github.com/repos/pyspeckit/pyspeckit/issues/events{/number}","events_url":"https://api.github.com/repos/pyspeckit/pyspeckit/events","assignees_url":"https://api.github.com/repos/pyspeckit/pyspeckit/assignees{/user}","branches_url":"https://api.github.com/repos/pyspeckit/pyspeckit/branches{/branch}","tags_url":"https://api.github.com/repos/pyspeckit/pyspeckit/tags","blobs_url":"https://api.github.com/repos/pyspeckit/pyspeckit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyspeckit/pyspeckit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyspeckit/pyspeckit/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyspeckit/pyspeckit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyspeckit/pyspeckit/statuses/{sha}","languages_url":"https://api.github.com/repos/pyspeckit/pyspeckit/languages","stargazers_url":"https://api.github.com/repos/pyspeckit/pyspeckit/stargazers","contributors_url":"https://api.github.com/repos/pyspeckit/pyspeckit/contributors","subscribers_url":"https://api.github.com/repos/pyspeckit/pyspeckit/subscribers","subscription_url":"https://api.github.com/repos/pyspeckit/pyspeckit/subscription","commits_url":"https://api.github.com/repos/pyspeckit/pyspeckit/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyspeckit/pyspeckit/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyspeckit/pyspeckit/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyspeckit/pyspeckit/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyspeckit/pyspeckit/contents/{+path}","compare_url":"https://api.github.com/repos/pyspeckit/pyspeckit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyspeckit/pyspeckit/merges","archive_url":"https://api.github.com/repos/pyspeckit/pyspeckit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyspeckit/pyspeckit/downloads","issues_url":"https://api.github.com/repos/pyspeckit/pyspeckit/issues{/number}","pulls_url":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls{/number}","milestones_url":"https://api.github.com/repos/pyspeckit/pyspeckit/milestones{/number}","notifications_url":"https://api.github.com/repos/pyspeckit/pyspeckit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyspeckit/pyspeckit/labels{/name}","releases_url":"https://api.github.com/repos/pyspeckit/pyspeckit/releases{/id}","created_at":"2012-10-07T22:12:19Z","updated_at":"2015-04-12T08:52:59Z","pushed_at":"2015-04-12T08:52:58Z","git_url":"git://github.com/pyspeckit/pyspeckit.git","ssh_url":"git@github.com:pyspeckit/pyspeckit.git","clone_url":"https://github.com/pyspeckit/pyspeckit.git","svn_url":"https://github.com/pyspeckit/pyspeckit","homepage":null,"size":34219,"stargazers_count":14,"watchers_count":14,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":17,"forks":11,"open_issues":17,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26"},"html":{"href":"https://github.com/pyspeckit/pyspeckit/pull/26"},"issue":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/issues/26"},"comments":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/pyspeckit/pyspeckit/statuses/87a5bc9edf518c1e41479cf80f295c5f4327c813"}}}}