-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I am using the code within a notebook you have here on github. It fails on Xe_strong input
https://github.com/jveitchmichaelis/rascal/blob/main/calibration_test.ipynb
I am using version 0.4. I installed using the second recommended route (after pip install failed):
pip install git+https://github.com/jveitchmichaelis/rascal.git
The code from your notebook that produced the error is:
c = Calibrator(peaks, elements=["Xe_strong"], min_wavelength=3400.0, max_wavelength=8100.0, range_tolerance=200)
The error produced is:
----> 1 c = Calibrator(peaks, elements=["Xe_strong"], min_wavelength=3400.0, max_wavelength=8100.0, range_tolerance=200)
2 c.set_fit_constraints(n_pix=len(spectrum))
TypeError: Calibrator.init() got an unexpected keyword argument 'elements'