move from xflux to redshift