First commit of ideal signal reweighting