We are working on extracting galaxies from the DP2 catalogs and are applying some selection cuts on different parameters. The purpose here is to identify extended objects (i.e. galaxies) which will then serve as our targets to search for signatures of strong lensing. While we want the cuts to be as loose as possible, we don’t want to have unnecessarily large number of objects that are affected by bad photometry, any other artifacts or really unlikely objects to act as lenses.
Some of the parameters we have been experimenting with and their thresholds (NOTE: thresholds are not final) are
refExtendedness=1,
refSizeExtendedness >=0.9,
griz_model_extendedness = 1
shape_flag = 0,
sersic_no_data_flag = 0,
sersic_unknown_flag = 0,
sersic_index / sersic_index_error > 20
17 < i_cModelmag < 24 ( refBand = i )
We were wondering if someone could help give us some insights into some of these parameters
e.g.
are these parameters fine to consider? should we include some others that we are clearly missing?
if the thresholds look obviously wrong, then please do suggest something better along with the reasoning.
who would be the appropriate person to contact in this regard?
For your science case of searching for strong lensing signatures, I suggest posting a question in the Science category and/or consulting with the Strong Lensing Science Collaboration. Please also consult the Flag Usage section of the release documentation.
For the specific columns you’re asking about:
These are both very strict cuts. refSizeExtendedness >=0.9 is going to exclude objects with an 89% probability of being a galaxy. griz_model_extendedness is also a continuous quantity and while it’s not a probability, the cuts I found best for the deep fields were around 0.2-0.3.
This should be 0 for all objects. If it isn’t, please let me know.
What are you trying to accomplish with this cut? If you want to use the Sersic index as a proxy for morphology you can, but the error on it is probably not reliable (since it is a nonlinear, degenerate parameter). If you want a signal-to-noise cut, use flux columns instead.
It doesn’t sound like your science case requires a particular reference band.
cModel is a single-band algorithm and is more conservative in what it fits, e.g. it will not run on footprints with too large of a fraction of masked pixels. The Sersic/exponential fits are multiband and will run as long as they have some valid pixels in at least one band. They effectively have no cuts but need to be combined with flags from other algorithms if you’re concerned about suspect photometry (most often these are detections near bright stars).
Anupreeta: I just wanted to briefly add that there are galaxy-related DP2 tutorials (both notebook and Portal) that include selection of galaxies, and which therefore may be useful to consult, if you haven’t already. For instance, for notebook tutorials there’s the 303_Galaxies series, and for the Portal tutorials, there’s 303.1. and 303.2.
Hi @dtaranu Thanks for your reply and sharing the flags page (we missed a few flags earlier and will include them now).
I should have clarified a few things, here they are -
By “we” in my questions, I meant - on behalf of the SLSC (I’m a former co-chair).
The population of lensing galaxies is dominate by massive early type (red) galaxies although we can have some spirals or late type galaxies. Given this, we are trying to come up with some selection criteria that rejects bulk of the extended objects that are anyhow not “suitable” (combination of diff. parameters) to act as lenses .
Refband=i is thus, a natural minimal choice to put shape/flux snr cuts. I missed to include the flux/flux_err>10 that is part of our selection criteria.
We are experimenting with various thresholds with the goal of eliminating the less likely objects while keeping the cuts as minimal or loose as we can. We are also trying to stay in the contiguous region of the DP2 with more or less uniform coverage from the wide fields (not including the deep fields).
Should we use (i)_psfFlux_flag = 0 even if we don’t care about the psfFlux of our extended objects ?
@ameisner thanks for sharing the info on the tutorials. indeed, we made use of some of those to define some of the selection cuts.
Do you know what is the meaning and implication of this flag?
{band}_pixelFlags_interpolated = 0
When cross-matching with some known lenses. If we apply the above flag then we seem to lose a small fraction of the known lenses. So, we are deciding whether or not it is relevant for us.
If you’re applying an i-band S/N cut then I don’t think there’s much advantage to selecting on refBand. The only objects you’d be excluding would be those that were detected in one of the other bands but not i. This can happen with objects that are saturated in i band but not another (u and y are least likely to be saturated).
At the faint end, it’s possible for an object to have S/N > 10 in, say, Sersic or PSF flux but not have been detected in that band, if for example it has a lot of masked pixels. But I would think this is not very common and better tracked with e.g. the pixelFlag columns.
Maybe. It’s one of the simplest algorithms so it can indicate data quality issues that may or may not show up in other flags. I would first look at the spatial distribution of flagged objects and inspect a representative sample before deciding.
As the schema says, it’s set when “an interpolated pixel contributed to the coadd in this object’s footprint.” Since the requirement is only one affected pixel anywhere in the object’s footprint, I would think it’s too conservative of a cut for your purposes.
Hi all, Forum moderator here. I was reviewing this unsolved topic, and it looks like all @anupreeta’s questions have been answered by @dtaranu, thanks both. I’ll add that the general advice is for users to test and customize use of flag cuts for their particular science use case by comparing with known object samples, and @anupreeta it sounds like you’re already doing that.
Since (I think) the specific question have been answered, I’ve marked this particular topic as solved (using Dan’s first post), but @anupreeta if you have further related questions just unmark it and keep the conversation going with new reply posts. And of course, open new topics for new questions anytime.