Closed JackActon96 closed 5 years ago
Hi,
I think this might be related to the wavelength range of the input - could I know the range and length of your wavelength array? Alternatively, are there large contiguous gaps in your input spectrum?
Cheers, Sam
Hi.
Thanks for your response. After reading it I looked at my input and realised that I had a few gaps in the spectrum that hadn't been removed. I cut those out and now it all runs fine.
Thankyou very much for your assistance!
Great to hear that!
Hi,
I've just started using specmatch. I managed to run the code on the examples Hires spectra fine, however now I'm attemtping it on a target of my own and having some issues.
Here's what Im running
My input spectra is in the format of a simple data file with 2 columns (wavelength & spectrum) so I assumed reading it like that would be ok?
But the sm.shift() part throws up an error-
So there seems to be some issue with the shifting itself, which I assume may be to do with my input, any ideas?
Cheers,