specreduce icon indicating copy to clipboard operation
specreduce copied to clipboard

Rectify spectra to linear wavelength & spatial co-ordinates

Open crawfordsm opened this issue 6 years ago • 4 comments

After having a solution for an image, resample the image along a set of specified coordinates

crawfordsm avatar Jun 15 '18 15:06 crawfordsm

cc @jdavies-st

crawfordsm avatar Jun 15 '18 15:06 crawfordsm

I'm trying to work on this for my own work: I need to align ('rectify'?) a stack of spectra that move slightly over the course of the observation. I need to align them along the pixel columns to co-add them in wavelength and spatial coordinates.

Do you have any suggestions for techniques or other people's code that I could use? If I get it working, I'll submit it here for review + (?)PR.

Thank you

exowanderer avatar Feb 26 '19 22:02 exowanderer

We have some work in progress by @chris-simpson; not sure whether that might be helpful at this stage.

jehturner avatar Feb 28 '19 18:02 jehturner

Gemini's draft pipeline "primitives" at https://github.com/GeminiDRSoftware/DRAGONS/blob/spectroscopy/geminidr/core/primitives_spect.py include distortionCorrect and linearizeSpectra. I hope to adapt these to use gwcs.

jehturner avatar Dec 14 '19 02:12 jehturner