h0rton.tdlmc_utils.reorder_images

Module Contents

Functions

reorder_to_tdlmc(abcd_ordering_i, ra_img, dec_img, time_delays) Reorder the list of ra, dec, and time delays to conform to the
h0rton.tdlmc_utils.reorder_images.reorder_to_tdlmc(abcd_ordering_i, ra_img, dec_img, time_delays)[source]

Reorder the list of ra, dec, and time delays to conform to the order in the TDLMC challenge

abcd_ordering_i : array-like
ABCD in an increasing dec order if the keys ABCD mapped to values 0123, respectively, e.g. [3, 1, 0, 2] if D (value 3) is lowest, B (value 1) is second lowest
ra_img : array-like
list of ra from lenstronomy
dec_img : array-like
list of dec from lenstronomy, in the order specified by ra_img
time_delays : array-like
list of time delays from lenstronomy, in the order specified by ra_img
tuple
tuple of (reordered ra, reordered_dec, reordered time delays)