{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/meas_base/pulls/comments/25045484","id":25045484,"diff_hunk":"@@ -262,6 +263,23 @@ def fail(self, measRecord, error=None):\n                    % self.__class__.__name__)\n         raise NotImplementedError(message)\n \n+    @staticmethod\n+    def getTransformClass():\n+        \"\"\"!\n+        Get the measurement transformation appropriate to this plugin.\n+\n+        This returns subclass of MeasurementTransform, which may be\n+        instantiated with details of the algorithm configuration and then\n+        called with information about calibration and WCS to convert from raw\n+        measurement quantities to calibrated units. Calibrated data is then\n+        provided in a separate output table.\n+\n+        By default, we assume that no transformation is appropriate, and\n+        therefore return NullTransform.\n+        \"\"\"","path":"python/lsst/meas/base/base.py","position":34,"original_position":34,"commit_id":"137678a65304a0ddfa0052a188f817b82261557b","original_commit_id":"137678a65304a0ddfa0052a188f817b82261557b","user":{"login":"smonkewitz","id":620114,"avatar_url":"https://avatars.githubusercontent.com/u/620114?v=3","gravatar_id":"","url":"https://api.github.com/users/smonkewitz","html_url":"https://github.com/smonkewitz","followers_url":"https://api.github.com/users/smonkewitz/followers","following_url":"https://api.github.com/users/smonkewitz/following{/other_user}","gists_url":"https://api.github.com/users/smonkewitz/gists{/gist_id}","starred_url":"https://api.github.com/users/smonkewitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smonkewitz/subscriptions","organizations_url":"https://api.github.com/users/smonkewitz/orgs","repos_url":"https://api.github.com/users/smonkewitz/repos","events_url":"https://api.github.com/users/smonkewitz/events{/privacy}","received_events_url":"https://api.github.com/users/smonkewitz/received_events","type":"User","site_admin":false},"body":"I think that PassThroughTransform might be a less surprising default - or is the expectation that by default you don't want to present users with uncalibrated data, and so all such should be removed prior to database ingest?","created_at":"2015-02-20T02:21:07Z","updated_at":"2015-02-20T02:21:07Z","html_url":"https://github.com/lsst/meas_base/pull/9#discussion_r25045484","pull_request_url":"https://api.github.com/repos/lsst/meas_base/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/lsst/meas_base/pulls/comments/25045484"},"html":{"href":"https://github.com/lsst/meas_base/pull/9#discussion_r25045484"},"pull_request":{"href":"https://api.github.com/repos/lsst/meas_base/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/lsst/meas_base/pulls/9","id":29657427,"html_url":"https://github.com/lsst/meas_base/pull/9","diff_url":"https://github.com/lsst/meas_base/pull/9.diff","patch_url":"https://github.com/lsst/meas_base/pull/9.patch","issue_url":"https://api.github.com/repos/lsst/meas_base/issues/9","number":9,"state":"open","locked":false,"title":"Measurement transformation framework.","user":{"login":"smonkewitz","id":620114,"avatar_url":"https://avatars.githubusercontent.com/u/620114?v=3","gravatar_id":"","url":"https://api.github.com/users/smonkewitz","html_url":"https://github.com/smonkewitz","followers_url":"https://api.github.com/users/smonkewitz/followers","following_url":"https://api.github.com/users/smonkewitz/following{/other_user}","gists_url":"https://api.github.com/users/smonkewitz/gists{/gist_id}","starred_url":"https://api.github.com/users/smonkewitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smonkewitz/subscriptions","organizations_url":"https://api.github.com/users/smonkewitz/orgs","repos_url":"https://api.github.com/users/smonkewitz/repos","events_url":"https://api.github.com/users/smonkewitz/events{/privacy}","received_events_url":"https://api.github.com/users/smonkewitz/received_events","type":"User","site_admin":false},"body":"Measurement algorithm plugins may now specify a \"transformation\" which will\r\nconvert their raw outputs into a calibrated form, suitable for database\r\ningestion etc.","created_at":"2015-02-19T22:54:10Z","updated_at":"2015-02-20T02:21:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a526ea58a3a1d607d4c40b8473eae9bb20c47da","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lsst/meas_base/pulls/9/commits","review_comments_url":"https://api.github.com/repos/lsst/meas_base/pulls/9/comments","review_comment_url":"https://api.github.com/repos/lsst/meas_base/pulls/comments/{number}","comments_url":"https://api.github.com/repos/lsst/meas_base/issues/9/comments","statuses_url":"https://api.github.com/repos/lsst/meas_base/statuses/137678a65304a0ddfa0052a188f817b82261557b","head":{"label":"tickets/DM-1903","ref":"tickets/DM-1903","sha":"137678a65304a0ddfa0052a188f817b82261557b","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013356,"name":"meas_base","full_name":"lsst/meas_base","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/meas_base","description":"LSST Data Management: core astronomical measurement algorithms","fork":false,"url":"https://api.github.com/repos/lsst/meas_base","forks_url":"https://api.github.com/repos/lsst/meas_base/forks","keys_url":"https://api.github.com/repos/lsst/meas_base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/meas_base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/meas_base/teams","hooks_url":"https://api.github.com/repos/lsst/meas_base/hooks","issue_events_url":"https://api.github.com/repos/lsst/meas_base/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/meas_base/events","assignees_url":"https://api.github.com/repos/lsst/meas_base/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/meas_base/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/meas_base/tags","blobs_url":"https://api.github.com/repos/lsst/meas_base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/meas_base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/meas_base/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/meas_base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/meas_base/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/meas_base/languages","stargazers_url":"https://api.github.com/repos/lsst/meas_base/stargazers","contributors_url":"https://api.github.com/repos/lsst/meas_base/contributors","subscribers_url":"https://api.github.com/repos/lsst/meas_base/subscribers","subscription_url":"https://api.github.com/repos/lsst/meas_base/subscription","commits_url":"https://api.github.com/repos/lsst/meas_base/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/meas_base/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/meas_base/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/meas_base/issues/comments/{number}","contents_url":"https://api.github.com/repos/lsst/meas_base/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/meas_base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/meas_base/merges","archive_url":"https://api.github.com/repos/lsst/meas_base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/meas_base/downloads","issues_url":"https://api.github.com/repos/lsst/meas_base/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/meas_base/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/meas_base/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/meas_base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/meas_base/labels{/name}","releases_url":"https://api.github.com/repos/lsst/meas_base/releases{/id}","created_at":"2014-08-16T07:45:37Z","updated_at":"2015-02-13T00:17:46Z","pushed_at":"2015-02-08T07:33:09Z","git_url":"git://github.com/lsst/meas_base.git","ssh_url":"git@github.com:lsst/meas_base.git","clone_url":"https://github.com/lsst/meas_base.git","svn_url":"https://github.com/lsst/meas_base","homepage":"http://dm.lsst.org/","size":3498,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"master","ref":"master","sha":"585db74dcddc9296ea50d7fbaac5d7f3c1ad33ce","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013356,"name":"meas_base","full_name":"lsst/meas_base","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/meas_base","description":"LSST Data Management: core astronomical measurement algorithms","fork":false,"url":"https://api.github.com/repos/lsst/meas_base","forks_url":"https://api.github.com/repos/lsst/meas_base/forks","keys_url":"https://api.github.com/repos/lsst/meas_base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/meas_base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/meas_base/teams","hooks_url":"https://api.github.com/repos/lsst/meas_base/hooks","issue_events_url":"https://api.github.com/repos/lsst/meas_base/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/meas_base/events","assignees_url":"https://api.github.com/repos/lsst/meas_base/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/meas_base/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/meas_base/tags","blobs_url":"https://api.github.com/repos/lsst/meas_base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/meas_base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/meas_base/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/meas_base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/meas_base/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/meas_base/languages","stargazers_url":"https://api.github.com/repos/lsst/meas_base/stargazers","contributors_url":"https://api.github.com/repos/lsst/meas_base/contributors","subscribers_url":"https://api.github.com/repos/lsst/meas_base/subscribers","subscription_url":"https://api.github.com/repos/lsst/meas_base/subscription","commits_url":"https://api.github.com/repos/lsst/meas_base/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/meas_base/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/meas_base/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/meas_base/issues/comments/{number}","contents_url":"https://api.github.com/repos/lsst/meas_base/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/meas_base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/meas_base/merges","archive_url":"https://api.github.com/repos/lsst/meas_base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/meas_base/downloads","issues_url":"https://api.github.com/repos/lsst/meas_base/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/meas_base/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/meas_base/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/meas_base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/meas_base/labels{/name}","releases_url":"https://api.github.com/repos/lsst/meas_base/releases{/id}","created_at":"2014-08-16T07:45:37Z","updated_at":"2015-02-13T00:17:46Z","pushed_at":"2015-02-08T07:33:09Z","git_url":"git://github.com/lsst/meas_base.git","ssh_url":"git@github.com:lsst/meas_base.git","clone_url":"https://github.com/lsst/meas_base.git","svn_url":"https://github.com/lsst/meas_base","homepage":"http://dm.lsst.org/","size":3498,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/meas_base/pulls/9"},"html":{"href":"https://github.com/lsst/meas_base/pull/9"},"issue":{"href":"https://api.github.com/repos/lsst/meas_base/issues/9"},"comments":{"href":"https://api.github.com/repos/lsst/meas_base/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/meas_base/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/meas_base/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/lsst/meas_base/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/meas_base/statuses/137678a65304a0ddfa0052a188f817b82261557b"}}}}