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
Include proper motion for the LS image cutouts #84
Comments
Any comment welcome on what is the exact way to implement the correction. In particular, is there a way to know from spectra files when the corresponding imaging data was taken? (more precisely than “2015”) |
My first option is that there be two cross-hairs for any target which has non-zero or non-NaN proper motion in the targeting file, one which shows the (TARGET_RA, TARGET_DEC) at the REF_EPOCH, and one which shows the position at the (average) epoch of the DESI spectroscopic observation. That way, any future user could figure out whether the target was properly targeted by DESI in case the proper motion estimate changes (e.g., by Gaia DR4, etc.). In this case, all extragalactic objects would only have a single cross hair. One could modify this simple requirement by only doing this for sources which have PM/err(PM) > 2 sigma. If you can only place a single cross-hair on the image, then perhaps the least ambiguous thing is to place the cross-hair on the position which was actually observed by DESI at the average DESI spectroscopic epoch, rather than the target position at the epoch of the imaging data. The reason is that this would let the user know what sky position was actually observed, and then it would be their job to figure out whether this was really centered on the target of interest at the epoch of observation, based on the targeting source properties at the time of targeting. My suggestion of two crosses answers this quetion and leaves less work for the user, but this creates less work right now and avoids dealing with the problem of possible bad proper motion values in our targeting catalogs. For high PM sources, this method unfortunately would not mark the “intended” target, but. in most cases that will be the source closest to the cross hair. |
@arjundey Hi Arjun, going back on this issue. Also, just to be sure: in spectra's fibermaps, (TARGET_RA, TARGET_DEC) always refer to coordinates at REF_EPOCH, right? Or to the coordinates at the time of DESI spectro observations? |
Hi Eric,
Thanks for looking into this. This file:
/global/cfs/cdirs/desi/spectro/redux/iron/healpix/main/dark/319/31935/coadd-main-dark-31935.fits
contains at least 4 high proper motion targetids:
2253530895220737
2253525023195136
2253525031583746
2253513295921156
Is this what you were asking for? I have a lot of examples, but let me know if this is what you want.
Arjun
… On Apr 11, 2023, at 7:07 AM, Eric Armengaud ***@***.***> wrote:
@arjundey <https://github.com/arjundey> Hi Arjun, going back on this issue.
I understand you stumbbled on that probably because your targets had REF_EPOCH=2000, while the usual DESI targets from the legacy survey have REF_EPOCH ~ 2015.5 (gaia), right?
If that's true, could you tell me where I can find a spectra file with REF_EPOCH ~ 2000: just to test a possible addition of a second cross-hair when I find that the correction (2015-REF_EPOCH)*PMRA/3600e3 is significant.
—
Reply to this email directly, view it on GitHub <#84 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACWPUOGGZYNJTAETCFTBTZTXAVQR3ANCNFSM6AAAAAAVK2DLPM>.
You are receiving this because you were mentioned.
|
Hi Arjun, looking at these high-proper motion objects:
|
@arjundey Here you get an example with the updated code:
It seems to make sense, in particular you have two noise-only spectra (the first and penultimate ones) for which imaging shows fibers certainly were placed at the wrong position. Any comment welcome, I will start a PR now. |
@armengau Thanks for this - it looks fantastic! I do have some comments, though, since your image made me think a bit harder about what we might actually want. As i see it, there are three different positions of interest:
Unfortunately the imaging epoch for Legacy Surveys imaging is complex and changing. However, what we really want to know is what position the spectroscopy was obtained at, and whether the track of the object from the original refernce position to the observed position goes through the actual source as represented on the imaging data. Hence, we could just mark (1) and (2), or even just mark (2) with a cross and draw a line from (1) to (2). That line should go through the object if the PMRA,PMDEC are correct. I have attached an example below based on Spectrum 2 in your test_b file. Here the purple circle would represent position [2] (i.e., the position at the epoch of the spectroscopic observation) and the dashed line connects the original coordinate epoch (REF_EPOCH position) with that of position [2]. I agree that we should only do this in cases where the MJD - REF_EPOCH correction results in an offset > 1 arcsec. What do you think? Arjun |
Closed by #85. |
The radec coordinates sent to the legacysurvey site are TARGET_RA/DEC.
They should be corrected for proper motions (at least)
Something like this, following Arjun’s message:
RA(2018)=TARGET_RA + (2015-REF_EPOCH)*PMRA/3600e3
The text was updated successfully, but these errors were encountered: