Text this: The quasars’ redshift estimation method based on piecewise Gaussian fitting