Skip to content

Commit

Permalink
Add executable to make offset maps with applied offsets.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Jun 14, 2024
1 parent 7194340 commit d0ff197
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin.src/measure_uband_offsets_with_application.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env python

from lsst.the.monster import UBandOffsetMapMaker, SDSSInfo, GaiaXPuInfo

# This is a combined map, DES++ SLR vs SDSS u. (SDSS footprint)
measurer_sdss = UBandOffsetMapMaker(uband_ref_class=SDSSInfo, apply_offsets=True)
fname = measurer_sdss.measure_uband_offset_map()
measurer_sdss.plot_uband_offset_maps(fname, "uslr-usdss")

# This is a combined map, DES++ SLR vs XP u. (Full sky)
measurer_xp = UBandOffsetMapMaker(uband_ref_class=GaiaXPuInfo, apply_offsets=True)
fname = measurer_xp.measure_uband_offset_map()
measurer_xp.plot_uband_offset_maps(fname, "uslr-uxp")

0 comments on commit d0ff197

Please sign in to comment.