1
$\begingroup$

I was asked to develop a data reduction pipeline for a telescope and am facing a problem.

I have the standard lamp spectra and need to identify the emission lines in order to find a wavelength solution to apply to the spectra taken.

I managed to find the signal peaks and calculate their centroids, I am unsure - however - of how to match the centroids I found with a list of the emission lines of the lamps.

I basically have to do what "Identify" in IRAF does, but in python. I know there have been some packages that do that (like specutils), but they are outdated and recall deprecated libraries.

Any tip on where to go or what to do to have a centroid-wavelength match would be greatly appreciated.

$\endgroup$
  • 1
    $\begingroup$ I’m voting to close this question because this is purely a software question. Matching peaks of anything to datasets is a problem independent of astronomy $\endgroup$ – Carl Witthoft May 26 at 17:40
  • $\begingroup$ Start by looking up papers on how such line-matching is done. Good chance there's tests for relative amplitudes as well as line centroids, for example. $\endgroup$ – Carl Witthoft May 26 at 17:41
  • $\begingroup$ StackOverflow is not very good in hard algorithmical things, but I think you could try cs.stackexchange.com or scicomp.stackexchange.com . The list of all sites is here: stackexchange.com/sites . $\endgroup$ – peterh - Reinstate Monica May 26 at 20:59
  • $\begingroup$ This is a different and more complicated but related problem, looking for scale and rotation independent pattern matching of 2D points How (the heck) does Astrometry.net work? whereas you have a pattern of 1D points and already have an approximate guess for scale and offset. I don't think this is off-topic here and I'm voting to leave it open, but I do agree that in this case you might get a better response to your algorithm question in a computer-based SE site. $\endgroup$ – uhoh May 27 at 0:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.