Estimating the redshift distribution of photometric galaxy samples | Synapse