{"action":"created","issue":{"url":"https://api.github.com/repos/transientskp/tkp/issues/385","labels_url":"https://api.github.com/repos/transientskp/tkp/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/transientskp/tkp/issues/385/comments","events_url":"https://api.github.com/repos/transientskp/tkp/issues/385/events","html_url":"https://github.com/transientskp/tkp/issues/385","id":54318286,"number":385,"title":"Quality Control: Extracted source tests","user":{"login":"gijzelaerr","id":326308,"avatar_url":"https://avatars.githubusercontent.com/u/326308?v=3","gravatar_id":"","url":"https://api.github.com/users/gijzelaerr","html_url":"https://github.com/gijzelaerr","followers_url":"https://api.github.com/users/gijzelaerr/followers","following_url":"https://api.github.com/users/gijzelaerr/following{/other_user}","gists_url":"https://api.github.com/users/gijzelaerr/gists{/gist_id}","starred_url":"https://api.github.com/users/gijzelaerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gijzelaerr/subscriptions","organizations_url":"https://api.github.com/users/gijzelaerr/orgs","repos_url":"https://api.github.com/users/gijzelaerr/repos","events_url":"https://api.github.com/users/gijzelaerr/events{/privacy}","received_events_url":"https://api.github.com/users/gijzelaerr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/transientskp/tkp/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/transientskp/tkp/labels/priority%20normal","name":"priority normal","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"gijzelaerr","id":326308,"avatar_url":"https://avatars.githubusercontent.com/u/326308?v=3","gravatar_id":"","url":"https://api.github.com/users/gijzelaerr","html_url":"https://github.com/gijzelaerr","followers_url":"https://api.github.com/users/gijzelaerr/followers","following_url":"https://api.github.com/users/gijzelaerr/following{/other_user}","gists_url":"https://api.github.com/users/gijzelaerr/gists{/gist_id}","starred_url":"https://api.github.com/users/gijzelaerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gijzelaerr/subscriptions","organizations_url":"https://api.github.com/users/gijzelaerr/orgs","repos_url":"https://api.github.com/users/gijzelaerr/repos","events_url":"https://api.github.com/users/gijzelaerr/events{/privacy}","received_events_url":"https://api.github.com/users/gijzelaerr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/transientskp/tkp/milestones/1","html_url":"https://github.com/transientskp/tkp/milestones/3.0","labels_url":"https://api.github.com/repos/transientskp/tkp/milestones/1/labels","id":878164,"number":1,"title":"3.0","description":"","creator":{"login":"gijzelaerr","id":326308,"avatar_url":"https://avatars.githubusercontent.com/u/326308?v=3","gravatar_id":"","url":"https://api.github.com/users/gijzelaerr","html_url":"https://github.com/gijzelaerr","followers_url":"https://api.github.com/users/gijzelaerr/followers","following_url":"https://api.github.com/users/gijzelaerr/following{/other_user}","gists_url":"https://api.github.com/users/gijzelaerr/gists{/gist_id}","starred_url":"https://api.github.com/users/gijzelaerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gijzelaerr/subscriptions","organizations_url":"https://api.github.com/users/gijzelaerr/orgs","repos_url":"https://api.github.com/users/gijzelaerr/repos","events_url":"https://api.github.com/users/gijzelaerr/events{/privacy}","received_events_url":"https://api.github.com/users/gijzelaerr/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2014-11-24T11:52:21Z","updated_at":"2015-02-26T21:49:10Z","due_on":"2015-06-17T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-01-14T12:49:15Z","updated_at":"2015-03-03T19:19:17Z","closed_at":null,"body":"Flag each individual source if they fail these quality checks - this test needs to occur in the source extraction recipe in TraP. If an extracted source fails this quality control check, it should not be used in the following source association, transient search and monitoring list steps. This means the monitoring list may do a force fit at this location later in the TraP. Do we want these tests running on monitoring list sources too or are there already similar tests for those forced fits?\r\n\r\nThis test will require a new column in the database for each individual source (Quality control) to be displayed on TKP-web on the individual extracted sources page. Using the PySE source extraction outputs flag a source if the error is X% of the value, where X is an integer user entry in the source extraction parset file (default 20%). The relevant values are from PySE output and already stored in the database:\r\n\r\n  1. ( (int_flux_err)/(int_flux) ) * 100 = Y% > X% → “Large errors. Flux errors are Y% of total value.”\r\n  2. ( (smaj_err)/(smaj) ) * 100 = Y% > X% → “Large errors. Ellipse major axis errors are Y% of total value. Ellipse major axis = smaj, Ellipse major axis error = smaj_err ”\r\n  3. ( (smin_err)/(smin) ) * 100 = Y% > X% → “Large errors. Ellipse minor axis errors are Y% of total value. Ellipse minor axis = smin, Ellipse minor axis error = smin_err ”\r\n  4. This is looking for sources which are smaller than the restoring beam size: smin < bmin → flag with “Source smaller than beam. Beam minor axis = bmin, Source minor axis = smin”. bmin is in both the fits header (when using fits images) and in the LOFAR image format (AWImager images).\r\n\r\n**There is more discussion in the original issue**:\r\nhttps://support.astron.nl/lofar_issuetracker/issues/3797"},"comment":{"url":"https://api.github.com/repos/transientskp/tkp/issues/comments/77014255","html_url":"https://github.com/transientskp/tkp/issues/385#issuecomment-77014255","issue_url":"https://api.github.com/repos/transientskp/tkp/issues/385","id":77014255,"user":{"login":"timstaley","id":1352905,"avatar_url":"https://avatars.githubusercontent.com/u/1352905?v=3","gravatar_id":"","url":"https://api.github.com/users/timstaley","html_url":"https://github.com/timstaley","followers_url":"https://api.github.com/users/timstaley/followers","following_url":"https://api.github.com/users/timstaley/following{/other_user}","gists_url":"https://api.github.com/users/timstaley/gists{/gist_id}","starred_url":"https://api.github.com/users/timstaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstaley/subscriptions","organizations_url":"https://api.github.com/users/timstaley/orgs","repos_url":"https://api.github.com/users/timstaley/repos","events_url":"https://api.github.com/users/timstaley/events{/privacy}","received_events_url":"https://api.github.com/users/timstaley/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T19:19:17Z","updated_at":"2015-03-03T19:19:17Z","body":"@ajstewart (see above)"}}