desihub / desisim

DESI simulations
BSD 3-Clause "New" or "Revised" License
16 stars 22 forks source link

Develop templates code #7

Closed moustakas closed 9 years ago

moustakas commented 9 years ago

I've begun porting the code I previously wrote in IDL for building spectral templates (of all classes except QSOs) to python in desisim. I'm starting with the ELGs as the "hardest" class because I want there to be flexibility in how the emission-line spectrum is constructed, without losing the (empirical) relationship between the emission-line spectrum (especially [OII]) and the underlying stellar continuum. Eventually this code (or an intermediate piece of code) will need to interface with desisim.targets() for generating mock datasets.

moustakas commented 9 years ago

First-pass functioning code merged in 7773906.