-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with wavelength calibration #12
Comments
The default LAMP for FEROS is LAMP3 and LAMP1 is almost not used anymore. However, I think a possible workaround will be to slightly modify lines 234 and 238 of ferosutils.py:
and
|
Hi, That did the trick. I wasn't sure if these different WAVE would required different procedure. Apparently not, which leads me to the question, why make the distinction on the file selection? I guess, for a given dataset you will either have LAMP1 or LAMP3. And on another subject. Some question/sugestions:
Thanks! |
Wavelength Calibration for PFS is not working properly or I am missing something. |
Traceback (most recent call last):
File "ferospipe.py", line 569, in
fref = ThAr_Ne_ref[sorted_ThAr_Ne_dates[0]]
IndexError: index 0 is out of bounds for axis 0 with size 0
I was trying to reduce some rather old FEROS data (Sep 2004). And from what I debugged from the code, it seems that the problem is connected with the WAVE files that I have for this data.
During the classification of the files, it seems these WAVEs are stored some where, but then the wavelenght calibration seems to be only working when you have WAVEs with LAMP3.
Is this something that can be easily fixed?
The text was updated successfully, but these errors were encountered: