{"action":"opened","issue":{"url":"https://api.github.com/repos/desihub/desisim/issues/135","repository_url":"https://api.github.com/repos/desihub/desisim","labels_url":"https://api.github.com/repos/desihub/desisim/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/desihub/desisim/issues/135/comments","events_url":"https://api.github.com/repos/desihub/desisim/issues/135/events","html_url":"https://github.com/desihub/desisim/issues/135","id":162561714,"number":135,"title":"add option to make contaminant stars that pass qso/lrg/elg/bgs cuts","user":{"login":"sbailey","id":218471,"avatar_url":"https://avatars.githubusercontent.com/u/218471?v=3","gravatar_id":"","url":"https://api.github.com/users/sbailey","html_url":"https://github.com/sbailey","followers_url":"https://api.github.com/users/sbailey/followers","following_url":"https://api.github.com/users/sbailey/following{/other_user}","gists_url":"https://api.github.com/users/sbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/sbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbailey/subscriptions","organizations_url":"https://api.github.com/users/sbailey/orgs","repos_url":"https://api.github.com/users/sbailey/repos","events_url":"https://api.github.com/users/sbailey/events{/privacy}","received_events_url":"https://api.github.com/users/sbailey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/desihub/desisim/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"moustakas","id":1431820,"avatar_url":"https://avatars.githubusercontent.com/u/1431820?v=3","gravatar_id":"","url":"https://api.github.com/users/moustakas","html_url":"https://github.com/moustakas","followers_url":"https://api.github.com/users/moustakas/followers","following_url":"https://api.github.com/users/moustakas/following{/other_user}","gists_url":"https://api.github.com/users/moustakas/gists{/gist_id}","starred_url":"https://api.github.com/users/moustakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moustakas/subscriptions","organizations_url":"https://api.github.com/users/moustakas/orgs","repos_url":"https://api.github.com/users/moustakas/repos","events_url":"https://api.github.com/users/moustakas/events{/privacy}","received_events_url":"https://api.github.com/users/moustakas/received_events","type":"User","site_admin":false},"assignees":[{"login":"moustakas","id":1431820,"avatar_url":"https://avatars.githubusercontent.com/u/1431820?v=3","gravatar_id":"","url":"https://api.github.com/users/moustakas","html_url":"https://github.com/moustakas","followers_url":"https://api.github.com/users/moustakas/followers","following_url":"https://api.github.com/users/moustakas/following{/other_user}","gists_url":"https://api.github.com/users/moustakas/gists{/gist_id}","starred_url":"https://api.github.com/users/moustakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moustakas/subscriptions","organizations_url":"https://api.github.com/users/moustakas/orgs","repos_url":"https://api.github.com/users/moustakas/repos","events_url":"https://api.github.com/users/moustakas/events{/privacy}","received_events_url":"https://api.github.com/users/moustakas/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-06-27T22:20:47Z","updated_at":"2016-06-27T22:20:47Z","closed_at":null,"body":"To generate stellar templates as contaminants for non-stellar types, add an option to `STAR.make_templates()` (or `STAR.__init__`?) to specify which target selection cuts should be applied.  Alternatively, this could be done as a separate subclass of `STAR`, similar to `FSTD` and `MWS_STAR`.  \r\n\r\nIf the target selection cut functions were refactored to have the same arguments for every function, whether the variables were used or not, this functionality could be achieved by passing in the actual function to use for the cuts as an argument to make_templates.\r\n\r\nBottom line is that we need a way to make stars that pass the cuts of other types to use as contaminants for the simulations.  Make it so."}}
{"actor":{"display_login":"sbailey"}}