Closed geordie666 closed 4 months ago
This PR adds a standalone function with no other dependencies so should be uncontroversial. I'll merge it soon in preparation for an impending call for new spare-fiber targets.
Nice. Quick comment to consider: Would it be useful to add the targeting columns (DESI_TARGET
, BGS_TARGET
, etc.) as well as TARGETID
(for matches) so the user can understand why an object was targeted in the main survey?
Yep, good idea. I'll add those.
I've added the TARGETID
s to the output file. I didn't add the other columns @moustakas suggested: The issue is that all of the _TARGET
columns can be different for each of the dark
, bright
, secondary/dark
, secondary/bright
combinations, so the extra information in the file quickly proliferates.
Users interested in provenance should be able to use the TARGETID
s to look up extra information.
This PR adds a function to match RA/Dec positions to Main Survey targets (
desitarget.secondary.match_to_main_survey()
).The purpose of this function is to provide a straightforward way for proposers of spare-fiber programs to check how many of their likely targets already match main-survey targets.