Skip to content

Commit

Permalink
Change u band offset map settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed May 31, 2024
1 parent 61e3e23 commit 41c7896
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions bin.src/measure_uband_offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
from lsst.the.monster import UBandOffsetMapMaker, SDSSInfo, GaiaXPuInfo


# This is a direct map, XPu (color corrected) vs SDSS u.
measurer_sdss_direct = UBandOffsetMapMaker(uband_ref_class=SDSSInfo, catalog_info_class_list=[GaiaXPuInfo])
fname = measurer_sdss_direct.measure_uband_offset_map_direct()
measurer_sdss_direct.plot_uband_offset_maps(fname, "uslr-usdss", mode="direct")

measurer_xp = UBandOffsetMapMaker()
fname = measurer_xp.measure_uband_offset_map()
measurer_xp.plot_uband_offset_maps(fname, "uslr-uxp")
measurer_sdss_direct.plot_uband_offset_maps(fname, "uxp-usdss", mode="direct")

# This is a combined map, DES++ SLR vs SDSS u. (SDSS footprint)
measurer_sdss = UBandOffsetMapMaker(uband_ref_class=SDSSInfo)
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)
fname = measurer_xp.measure_uband_offset_map()
measurer_xp.plot_uband_offset_maps(fname, "uslr-uxp")

0 comments on commit 41c7896

Please sign in to comment.