LSSTDESC / Twinkles

10 years. 6 filters. 1 tiny patch of sky. Thousands of time-variable cosmological distance probes.
MIT License
13 stars 12 forks source link

Generating lensed hosts for all the Twinkle systems in "sprinkled_agn_230.txt" (HackWeek at Fermilab) #443

Open linan7788626 opened 7 years ago

linan7788626 commented 7 years ago

Questions for all hackers in this project.

linan7788626 commented 7 years ago

Hackers : @linan7788626, @mpwiesner, @jbkalmbach, @drphilmarshall, @bnord

Introduction

untitled

This project is following the hackday project in the DESC meeting at SLAC. We are going to produce lensed host galaxies based one the catalogs we created in the hackday. The goal of this work is generating lensed host galaxies for lensed AGNs, which is a preparation for the next stage of the Twinkles simulation.

The basic idea is:

Create a one-to-one relation between the 0th lensed AGN and the other components of the Twinkle systems.

lensing_steps 001

Inputs

Output

The Goal by the end of this Hackweek

untitled Here is an image of a lensing system at (53.065667, -27.479433), output by PhoSim. Left is images of AGN and lensing galaxy. Right also includes the lensed host. We now have many of these, this is just a sample. This is a gri image and represents a 30 second exposure time.

Future Work

drphilmarshall commented 7 years ago

Rock. ON. This is going to be great! Let's try hard to get the PhoSim outputs in place: I really want to see how visible these host galaxies are, by eye, preferably by blinking back and forth between two gri color composite cutout image PNGs :-) Even if we don't get that far, a key aspect of this project is visualization: let's display the different components of the cutout image as we make them, to check that we are building up sensible things. This will also work best if we use gri composites, always with the same cutout field of view and the same color scales and nonlinearity. We have code to make these, HumVI, but it will need upgrading to work with the LSST/PhoSim/whatever format headers that our FITS files have.

linan7788626 commented 7 years ago

Hi @drphilmarshall

Thank you for your suggestion. Yes, you are right, let's try to get the PhoSim outputs first. We all are interested in the visibility of the lensed host galaxies, but we may go further if there is enough time. :-).

Regardless, this is just the first version of the task list, if you would like to update it with your ideas and suggestions, I really appreciate it. Looking forward to meeting you at Fermilab next week. :-)

Best, Nan

jbkalmbach commented 7 years ago

Hi @linan7788626 here is an updated version of sprinkled_hosts_230.txt with no magnification in the AGN hosts. It was created using the notebook I made and am merging shortly.

sprinkled_hosts_230.txt

linan7788626 commented 7 years ago

Hi, @jbkalmbach, thank you for the updated catalog, it is very helpful. I am working on wrapping up all the codes for this project and will post the updates here tomorrow.

jbkalmbach commented 7 years ago

sprinkled_agn_230.txt sprinkled_lens_galaxies_230.txt

Here are updated agn and lens catalogs as well. You can match the AGN and the AGN hosts to the lens using lens_galaxy_uID column.

linan7788626 commented 7 years ago

Fantastic, Thanks a lot.

linan7788626 commented 7 years ago

Hi @mpwiesner,

Please check out these files from Bryce:

sprinkled_agn_230.txt sprinkled_lens_galaxies_230.txt

  1. We plan to feed the instance catalogs into PhoSim in three steps:

    • Lensed AGNs
    • image of lens galaxies
    • lensed host galaxies
  2. You can find all the parameters you need for creating the instance catalogs of lensed AGNs and lens galaxies for PhoSim. Let's create these instance catalogs first.

  3. I have obtained all the fits files and needed parameters for creating the instance catalogs of lensed host galaxies. When you are ready for this, please download the data below. It includes all the stamps of the lensed components of the host galaxies. And the parameters are shown in the file name as the following:

lensed host galaxies

[Unique_lensID] [lensra] [lensdec] [mag] [SED] [zs] _ [PixelSize] . fits

Thanks, Nan

mpwiesner commented 7 years ago

@linan7788626 and @jbkalmbach this looks great. I can easily take these all and make instance files and run PhoSim. Is it correct that our end goal is 199 individual FITS images, one for each lensing system?

linan7788626 commented 7 years ago

Hi, @mpwiesner , in my opinion, the end goal is not 199 individual FITS images, but a patch of the sky including all the Twinkle systems. Probably, it would be similar to the sample picture in the description of Twinkles.

Hi @jbkalmbach and @drphilmarshall , could you please confirm the end products of this hackweek is 199 individual FITS images or a patch of the sky including 199 twinkles system? Thank you so much!

Best, Nan

drphilmarshall commented 7 years ago

I'd say go for the sensor image - we can make cutout images later. But either works - do whatever is fastest and easiest! :-)

On Apr 5, 2017 3:25 PM, "Nan Li" notifications@github.com wrote:

Hi, @mpwiesner https://github.com/mpwiesner , in my opinion, the end goal is not 199 individual FITS images, but a patch of the sky including all the Twinkle systems. Probably, it would be similar to the sample picture in the description of Twinkles.

Hi @jbkalmbach https://github.com/jbkalmbach and @drphilmarshall https://github.com/drphilmarshall , could you please confirm the end products of this hackweek is 199 individual FITS images or a patch of the sky including 199 twinkles system? Thank you so much!

Best, Nan

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LSSTDESC/Twinkles/issues/443#issuecomment-291986190, or mute the thread https://github.com/notifications/unsubscribe-auth/AArY9ykfZjSAv-hyYT3CZ8y3ku4Uz2o1ks5rs_ixgaJpZM4Mo0X8 .

mpwiesner commented 7 years ago

untitled Here is an image of a lensing system at (53.065667, -27.479433), output by PhoSim. Left is images of AGN and lensing galaxy. Right also includes the lensed host. We now have many of these, this is just a sample. This is a gri image and represents a 30 second exposure time.

linan7788626 commented 7 years ago

Hi @mpwiesner , the new images are good, but we need to double check something first.

In my opionion, the critical issue in current results is that Making sure the locations of lensed AGNs and lens galaxies are correct. If you could give me any details, it should be awesome.

Thanks, Nan

mpwiesner commented 7 years ago

99 One more of several hundred lensing systems we simulated, this one at ( 52.920242, -27.427762).