imcgreer / simqso

Module for generating simulated quasar spectra
BSD 3-Clause "New" or "Revised" License
12 stars 11 forks source link

Add option not to produce DLA in SIMQSO #23

Closed londumas closed 6 years ago

londumas commented 6 years ago

There seems to be addition of DLAs in SIMQSO. Is there a way to turn it on or off? https://github.com/desihub/desisim/issues/327

imcgreer commented 6 years ago

The forest model can be arbitrarily defined. The default model is from Worseck & Prochaska (2011), which has the following distribution of absorbers as a function of column density and redshift: https://github.com/imcgreer/simqso/blob/master/simqso/sqmodels.py#L30

Note the 'DLA' field. If you want to turn off DLAs, do something like this:

from simqso import sqmodels
forest = copy(sqmodels.WP11_model)
del forest['DLA']