kgullikson88 / Telluric-Fitter

Telluric fitting made easy
http://telfit.readthedocs.org/en/latest/
MIT License
20 stars 17 forks source link

wavegrid keyword not working #48

Open thea-mckenna opened 2 years ago

thea-mckenna commented 2 years ago

When I try to use the wavegrid parameter in the function MakeModel(), I get the error below. I am using a 1d numpy array.

File "/opt/anaconda3/lib/python3.8/site-packages/MakeModel.py", line 504, in MakeModel if wavegrid != None: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()