{"action":"closed","issue":{"url":"https://api.github.com/repos/LSSTDESC/HyperSupremeStructure-HSC-LSS/issues/35","repository_url":"https://api.github.com/repos/LSSTDESC/HyperSupremeStructure-HSC-LSS","labels_url":"https://api.github.com/repos/LSSTDESC/HyperSupremeStructure-HSC-LSS/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/LSSTDESC/HyperSupremeStructure-HSC-LSS/issues/35/comments","events_url":"https://api.github.com/repos/LSSTDESC/HyperSupremeStructure-HSC-LSS/issues/35/events","html_url":"https://github.com/LSSTDESC/HyperSupremeStructure-HSC-LSS/issues/35","id":390859811,"node_id":"MDU6SXNzdWUzOTA4NTk4MTE=","number":35,"title":"Galaxy selection (HSC clean photometry flags)","user":{"login":"anicola","id":6814201,"node_id":"MDQ6VXNlcjY4MTQyMDE=","avatar_url":"https://avatars0.githubusercontent.com/u/6814201?v=4","gravatar_id":"","url":"https://api.github.com/users/anicola","html_url":"https://github.com/anicola","followers_url":"https://api.github.com/users/anicola/followers","following_url":"https://api.github.com/users/anicola/following{/other_user}","gists_url":"https://api.github.com/users/anicola/gists{/gist_id}","starred_url":"https://api.github.com/users/anicola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anicola/subscriptions","organizations_url":"https://api.github.com/users/anicola/orgs","repos_url":"https://api.github.com/users/anicola/repos","events_url":"https://api.github.com/users/anicola/events{/privacy}","received_events_url":"https://api.github.com/users/anicola/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-12-13T21:06:00Z","updated_at":"2018-12-28T14:19:41Z","closed_at":"2018-12-28T14:19:41Z","author_association":"COLLABORATOR","body":"The flags for obtaining objects with clean photometry are described in Aihara et al., 2018 (p. 12/13, Sec. 4.3) and in SQL form, they are:\r\n\r\n```\r\n -- Centroid algorithm succeeded in all bands\r\n NOT forced.gcentroid_sdss_flags\r\n AND NOT forced.rcentroid_sdss_flags\r\n AND NOT forced.icentroid_sdss_flags\r\n AND NOT forced.zcentroid_sdss_flags\r\n AND NOT forced.ycentroid_sdss_flags\r\n\r\n -- CModel flux algorithm succeeded in all bands\r\n AND NOT forced.gcmodel_flux_flags\r\n AND NOT forced.rcmodel_flux_flags\r\n AND NOT forced.icmodel_flux_flags\r\n AND NOT forced.zcmodel_flux_flags\r\n AND NOT forced.ycmodel_flux_flags\r\n\r\n -- PSF flux algorithm succeeded in all bands\r\n AND NOT forced.gflux_psf_flags\r\n AND NOT forced.rflux_psf_flags\r\n AND NOT forced.iflux_psf_flags\r\n AND NOT forced.zflux_psf_flags\r\n AND NOT forced.yflux_psf_flags\r\n\r\n -- Not at the edges of images\r\n AND NOT forced.gflags_pixel_edge\r\n AND NOT forced.rflags_pixel_edge\r\n AND NOT forced.iflags_pixel_edge\r\n AND NOT forced.zflags_pixel_edge\r\n AND NOT forced.yflags_pixel_edge\r\n\r\n -- Center 3x3 pixels are not interpolated\r\n AND NOT forced.gflags_pixel_interpolated_center\r\n AND NOT forced.rflags_pixel_interpolated_center\r\n AND NOT forced.iflags_pixel_interpolated_center\r\n AND NOT forced.zflags_pixel_interpolated_center\r\n AND NOT forced.yflags_pixel_interpolated_center\r\n\r\n -- Center 3x3 pixels are not saturated\r\n AND NOT forced.gflags_pixel_saturated_center\r\n AND NOT forced.rflags_pixel_saturated_center\r\n AND NOT forced.iflags_pixel_saturated_center\r\n AND NOT forced.zflags_pixel_saturated_center\r\n AND NOT forced.yflags_pixel_saturated_center\r\n\r\n -- Center 3x3 pixels are not contaminated by cosmic rays\r\n AND NOT forced.gflags_pixel_cr_center\r\n AND NOT forced.rflags_pixel_cr_center\r\n AND NOT forced.iflags_pixel_cr_center\r\n AND NOT forced.zflags_pixel_cr_center\r\n AND NOT forced.yflags_pixel_cr_center\r\n\r\n -- Not on bad pixels of CCDs\r\n AND NOT forced.gflags_pixel_bad\r\n AND NOT forced.rflags_pixel_bad\r\n AND NOT forced.iflags_pixel_bad\r\n AND NOT forced.zflags_pixel_bad\r\n AND NOT forced.yflags_pixel_bad\r\n```\r\n\r\nThe shear catalog has been created by applying these flags only in the i-band. This means that some objects will pass the WL cuts, even though some of these flags are set in another band or they don't have data in some photometric bands. \r\nI have found this looking at the non-public HSC data and I suspect that the fraction of such objects will be smaller for the public data. Nevertheless, I would suggest to revisit the galaxy selection and check if this has an effect on results.\r\nRelated to that, there is the question of the star mask. As far as I can tell, the data used has the Arcturus star mask applied. This mask excludes bright galaxies, which might affect clustering measurements (I saw hints of this in the non-public data). I am not sure how to best do this, as the updated star mask is not public, but I suggest that we look into this as well."}}
{"actor":{"display_login":"damonge"}}