• Chris Shallue's avatar
    Add two helper functions to light_curve_util/util.py. · f88dd68a
    Chris Shallue authored
    1. reshard_arrays(xs, ys): Reshards arrays in xs to match the lengths of arrays in ys.
    2. uniform_cadence_light_curve(): Combines data into a single light curve with uniform cadence numbers.
    
    PiperOrigin-RevId: 211724321
    f88dd68a
util.py 11.2 KB