jennykim1016 / SLRealizer

Catalog-level simulation of LSST DM stack measurements of gravitationally-lensed quasars.
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Items for this week #30

Closed jennykim1016 closed 7 years ago

jennykim1016 commented 7 years ago

_I did: MJD, filter, x, x_err, y, y_err, flux, flux_err, qxx, qxx_err, qyy, qyy_err, qxy, qxy_err, psfsigma, sky, lensID

I think because we used SDSS filters, we should use SDSS zeropoints when calculating the flux. It would be helpful to check once again though! http://www.sdss.org/dr12/algorithms/magnitudes/#nmgy

drphilmarshall commented 7 years ago

Good! If I were you I'd add separate columns for ra and dec - its the x and y that you mainly need, for moment calculations.

On Fri, Jul 28, 2017 at 2:25 PM, Jenny Kim notifications@github.com wrote:

  • It should based on a realistic LSST selection of OM10 lensed quasars i.e. ~ 1000 lenses or whatever the standard LSST selection is
  • It should assume a null deblender, that leads to a single Source being cataloged at each visit epoch
  • The visit sequence will be that provided by Rahul in the "ObservingHistory" notebook
  • It should make reasonable assumptions about the observational errors
  • It should be stored as a csv format file that can be read in with Pandas
  • It should contain columns as follows: MJD, filter, ra, ra_err, dec, dec_err, flux, flux_err, qxx, qxx_err, qyy, qyy_err, qxy, qxy_err, psf_sigma, sky

I did: MJD, filter, x, x_err, y, y_err, flux, flux_err, qxx, qxx_err, qyy, qyy_err, qxy, qxy_err, psf_sigma, sky

  • The same assumed filter set and magnitude zero point as painted OM10

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jennykim1016/SLRealizer/issues/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AArY9_HxVG5o5jAvbBhyyRZT4MtTfIhwks5sSlG5gaJpZM4OnGOb .

jennykim1016 commented 7 years ago

Oh, I see! I will fix that. Thank you so much!! :)

So the followings are the items that I haven't done yet:

edit ) there is also another way to calculate the offsets : https://github.com/astropy/astropy/issues/4209 edit 2 ) _OM 10 method that I should refer to is : make_sim_inputcatalog

jennykim1016 commented 7 years ago

For RA and DEC, this is what I currently understood from the previous advice:

1) we know x and y 1st moment, so convert that to offset in RA and DEC and add to the known RA, DEC values 2) draw random number (-1 - +1 deg) and also add that to 1)

I should think about this more tomorrow, but I think I can start from here. You will have a great Monday!! :)

jennykim1016 commented 7 years ago

This closes #16 #17 and #29!

drphilmarshall commented 7 years ago

Good good! I think only #16 will get closed by that message, the "closes" only works for one issue at a time.

BTW regarding object positions, I think:

Do you agree? Does this emulate noisy measured object positions in the right way?

mbaumer commented 7 years ago

We are thinking that for small offsets like we have, the flat sky approximation should still be good, so instead of the order you suggest of 1. Paste lens onto sky, 2. paste lensed images onto sky, 3. deblend, we are thinking that 1. Pasted lensed images onto len galaxy at (0,0), 2. Deblend, 3. Add RA, DEC offsets to locate on sky should give the same results. This is what the code does now. Sound good?

jennykim1016 commented 7 years ago

Close #29 -- already did