summarize_template_inputs#

lsst.analysis.ap.summarize_template_inputs(inputs)#

Summarize the template inputs of each diaSource.

Parameters#

inputsastropy.table.Table

Output of get_template_inputs.

Returns#

summaryastropy.table.Table

One row per diaSource, with columns diaSourceId, n_inputs (distinct input images), mean_mjd_tai (weighted mean mid-exposure time), min_mjd_tai and max_mjd_tai. Inputs with unknown times are left out of the time columns.