samuelyeewl / specmatch-emp

Empirical SpecMatch
9 stars 8 forks source link

Library lite #21

Closed petigura closed 7 years ago

petigura commented 7 years ago

Hey, Samuel. Thanks for adding the ability to run a lite library. Had to make some small changes in order to get the paired-down library to work. I included:

lib_subset = np.random.choice(np.arange(404), size=25, replace=False)
lib = library.read_hdf(lib_index_subset=lib_subset)

I think the wavlim keyword is not properly interfacing with the library reader. A distinction between 'all', 'none', and None.