jbirky / apogee_tools

Modeling tools for SDSS/APOGEE spectra
http://apogee-tools.readthedocs.io/
MIT License
2 stars 3 forks source link

No default "alpha" set in getTelluric #24

Closed ctheissen closed 6 years ago

ctheissen commented 6 years ago

I get the following error:

  File "/Users/ctheissen/repos/apogee_tools/apogee_tools/forward_model/telluric.py", line 50, in getTelluric
    tell_flux = np.array(tellurics[1].data['trans'])**(alpha)
NameError: name 'alpha' is not defined

Presumably it is because the alpha parameter is not set by default in the function.

jbirky commented 6 years ago

Sorry--fixed this on commit afd9786