typpo/astrokit

Use Lightcurve-level magband when performing reductions

Closed this issue · 1 comments

typpo commented

In this case, the formula for each comparison star is:

   M_target = (m_target - m_comp) + M_comp

M_comp should be the standard magnitude in magband.

This also applies to T_f and hidden transform. Need to double-check other areas.

typpo commented

Right now mc = comparison_star[filter_key] in run_image_reductions.py. This is incorrect and should be changed to lightcurve.magband. (this has to wait til magband can be set from the ui)