jbirky / apogee_tools

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

multiParamSearch instructions and error #6

Open aburgasser opened 7 years ago

aburgasser commented 7 years ago

In:

params = ['TEFF', 'LOGG', 'M_H'] ranges = [[-10000,4000], [0,5], [-2,2]] source_table = multiParamSearch(par=params, select=ranges)

multiParamSearch -> ap.multiParamSearch

and in this command I got:

NameError Traceback (most recent call last)

in () 1 params = ['TEFF', 'LOGG', 'M_H'] 2 ranges = [[-10000,4000], [0,5], [-2,2]] ----> 3 source_table = ap.multiParamSearch(par=params, select=ranges) /Users/adam/python_codes/apogee_tools/apogee_tools/search.py in multiParamSearch(**kwargs) 204 # Concatenate frames of all data release searches and save 205 if save == True: --> 206 data_table.to_csv('tables/'+output) 207 208 return data NameError: name 'data_table' is not defined