dmitryduev / tails

Tails: chasing comets with ZTF and deep learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate preview of the detection neighborhood from images taken the same night

dmitryduev opened this issue · comments

For each detection:

  • Query Kowalski for images of the same field taken within a day or two from the detection in any filter; something like
kowalski_query = {
    "query_type": "find",
    "query": {
        "catalog": "ZTF_ops",
        "filter": {
            "field": field_detection,
            "jd_start": {
                "$gt": jd_detection - 1,
                "$lt": jd_detection + 1,
            }
        },
        "projection": {"_id": 0, "fileroot": 1},
    },
}
  • Make stacked cutouts preview of the neighborhood, perhaps only the SCI images + imprint UTC time stamps
  • Post as a comment to Fritz