Skip to content

Commit

Permalink
Add SLR vs SDSS offset map to executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed May 29, 2024
1 parent dc6b441 commit 34cf147
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions bin.src/measure_uband_offsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
from lsst.the.monster import UBandOffsetMapMaker, SDSSInfo, GaiaXPuInfo


measurer_sdss = UBandOffsetMapMaker(uband_ref_class=SDSSInfo, catalog_info_class_list=[GaiaXPuInfo])
fname = measurer_sdss.measure_uband_offset_map_direct()
measurer_sdss.plot_uband_offset_maps(fname, mode="direct")
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 = UBandOffsetMapMaker()
fname = measurer.measure_uband_offset_map()
measurer.plot_uband_offset_maps(fname)
measurer_xp = UBandOffsetMapMaker()
fname = measurer_xp.measure_uband_offset_map()
measurer_xp.plot_uband_offset_maps(fname, "uslr-uxp")

measurer_sdss = UBandOffsetMapMaker(uband_ref_class=SDSSInfo)
fname = measurer_sdss.measure_uband_offset_map()
measurer_sdss.plot_uband_offset_maps(fname, "uslr-usdss")

0 comments on commit 34cf147

Please sign in to comment.