Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What do Run 3 Lensed Quasars look like? #424

Open
jbkalmbach opened this issue Dec 8, 2016 · 25 comments
Open

What do Run 3 Lensed Quasars look like? #424

jbkalmbach opened this issue Dec 8, 2016 · 25 comments

Comments

@jbkalmbach
Copy link
Member

Now that we have images we should take a look at some of the new systems.

@jbkalmbach jbkalmbach self-assigned this Dec 8, 2016
@drphilmarshall
Copy link
Contributor

@jbkalmbach and I worked on this with @SimonKrughoff at the SLAC2017 Hack Day - check out our notebook!

Here's our main result: 4 DIASources (cyan) that we spatially associated with the true position of a double-image lens system, whose lens G and images A and B are marked with an orange circle and blue/cyan crosses respectively:

image

As you can see, the DM detections seem a bit skew-wiff. Bryce, we need to look at some more systems, which means generalizing this notebook to use a def that takes a twinkles_id as input. The separation into images A and B won't be possible, so let's just plot DIASources as cyan circles and true image positions as blue crosses (and true lens positions as orange crosses).

@SimonKrughoff
Copy link
Contributor

It would be very interesting to see these plotted on top of the image.

@drphilmarshall
Copy link
Contributor

drphilmarshall commented Feb 23, 2017 via email

@jbkalmbach
Copy link
Member Author

run3_image_bare

run3_image

@jbkalmbach
Copy link
Member Author

run3_image_2_bare
run3_image_2_obs
run3_image_2_true

@jbkalmbach
Copy link
Member Author

It looks like there are objects where they should be and that there is something wrong in the detections we are getting back in the catalog.

@jbkalmbach
Copy link
Member Author

Ok, the coordinate issue is sorted out and Scott has just issued a PR in sims_catUtils for a method that will make it easier to convert between phosim and ICRS coordinates in the future.

run3_image_2_bare

run3_image_2_truth

@jbkalmbach
Copy link
Member Author

And here's a difference image. The four rings are all DIA Sources within 2 arcseconds of the lens galaxy location. It looks like the AGN pop out in the difference image but aren't getting found.

run3_image_2_diff

@drphilmarshall
Copy link
Contributor

drphilmarshall commented Mar 2, 2017 via email

@rbiswas4
Copy link
Member

rbiswas4 commented Mar 2, 2017

I thought this was good news, in that the difference image is working correctly (except for the red galaxy) and so while there is obviously a bug in recording the results, it would seem that would be relatively easy to fix to book keeping. But I have made many guesses here about what exactly is shown, and am now worried that I am misunderstanding the scenario.

@jbkalmbach Is there a record of the signifcance SNR of the difference image? To my eyes this looks like a dream result which would be superhigh SNR in 10s ?

One thing I am puzzled by is the image D (obs), which I was thinking of as the max in Signal for the diffim sitting on C. Is that something you plotted up by hand from the diffim by looking or is the association coming from some other source ?

@rbiswas4
Copy link
Member

rbiswas4 commented Mar 2, 2017

One more question: I was assuming that the recorded result for these objects on this epoch was no objects. Is this true?

Also a request: Can we see the 'template' that was used for differencing in this region?

@SimonKrughoff
Copy link
Contributor

@jbkalmbach it's fantastic to see the lens showing up so well in the diffim. The fact that they are not being detected is either 1) they are being characterized as a dipole because the galaxy is not subtracting all the way or 2) they are all blended. I'm a little puzzled why the galaxy residual shows up, but it's possible that's in the noise. I'm also puzzled why at least the image toward the top does not separate out.

Can you give me the visit number for that realization and I can produce a segment map.

@rbiswas4
Copy link
Member

rbiswas4 commented Mar 2, 2017

@SimonKrughoff For dipole characterization, is the some part being negative not enforced? And if they are blended, should they show up as at least one source instead of 4?

@jbkalmbach
Copy link
Member Author

@SimonKrughoff Visit Number = 1203218

@SimonKrughoff
Copy link
Contributor

@rbiswas4 I don't believe that the dipole characterization requires that there be exactly one negative and one positive going lobe. I think it's at least one negative and one positive peak. I could be wrong though.

@jbkalmbach Thanks.

@rbiswas4
Copy link
Member

rbiswas4 commented Mar 2, 2017

@SimonKrughoff I see ... so near the lens is what you think is negative enough to trigger dipole characterization. Ok thanks.

@jbkalmbach
Copy link
Member Author

Just for completeness I went and looked at the 'src' catalog and it seems it only detects the lens galaxy (apparently there are two 'src's but they are in exactly the same spot).

run3_image_2_src

@SimonKrughoff
Copy link
Contributor

I couldn't exactly match the scale and I'm in a different coordinate system, but here is the diffim:
image

Blue is detected. The galaxy isn't actually detected as having different parity, that would be a different color.

As you can see, the whole area is a single footprint meaning that all the pixels are considered one object. I think think the object position is just the maximum likelihood position.

Here are the same pixels smoothed with a 3 pixel Gaussian. As you can see all the pixels in the smoothed image are quite high signal to noise in the footprint, so it passes the smell test for me. This indicates that we need deblending to have any hope. I've marked the diaSource from this diff (I only found one. I don't know why Bryce found more). I reversed the color scale because it looked better. I find the images are actually positive in the image I'm looking at.

image

@wmwv
Copy link
Contributor

wmwv commented Mar 3, 2017

This is a fantastic discussion!

This is exactly the sort of issue that the Twinkles effort was made to bring up and explore! Congratulations to all for getting to this point.

@jbkalmbach
Copy link
Member Author

Oh, I showed the DIA sources from all the visits that's why I showed multiple. I actually only found one in this image as you did.

@drphilmarshall
Copy link
Contributor

drphilmarshall commented Mar 3, 2017 via email

@SimonKrughoff
Copy link
Contributor

Regarding blending in diffims, we have never even tried this. I think it would be easy to turn on, but may not do what we want at all (i.e. what happens with negative peaks?).

Whether something is blended or not is a function only of the detection threshold. The only way of making those peaks show up as different sources is by hand tuning the threshold to pick up the peaks, but not the saddle between them. I believe that is the wrong thing to do. I don't know when I'd be able to get to looking at deblending in diffims. If someone wants to look at how this is done in calibrate.py, for example, it would be useful.

@drphilmarshall
Copy link
Contributor

drphilmarshall commented Mar 6, 2017 via email

@aprajita
Copy link

aprajita commented Aug 8, 2018

Hi @jbkalmbach, @SimonKrughoff & all, I am one of the Strong Lensing Science Collaboration co-chairs. I realise this thread started quite some time ago, but I was wondering if I could use one or two these figs in a presentation for the PCW Blending workshop next week? I did mention some of this thread to Mario Juric and Robert Lupton at a workshop in May 2017 but I suspect things have moved on since then both with DM and your checks with DC2. My understanding was (although I may not recall perfectly) that the object, and quasars, will be detected likely within the same footprint, and Robert thought the qsos should be in the catalogues. Mario also thought that level 1 deblending could be a possibility but am not sure if it is currently planned. Many thanks.

@jbkalmbach
Copy link
Member Author

Hi, using these figures is fine with me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants