measure_Gaussian_center#
- excalibuhr.utils.measure_Gaussian_center(y, peaks, width)[source]#
measure the centers of lines by fitting guassian profiles
- Parameters:
y (array) – input spectrum
peaks (array) – rough locations of peaks in the input spectrum
width (int) – window size around each peak for the profile fitting
- Returns:
center – the Gaussian center of each peaks in the spectrum
- Return type:
array