Chris-Pedersen / LaCE_manager

Cosmological emulator for the 1D flux power spectrum of the Lyman-alpha forest
3 stars 1 forks source link

added option to skip training of the emulator when reading chains #72

Closed andreufont closed 2 years ago

andreufont commented 2 years ago

@Chris-Pedersen - I'm fighting at NERSC with the installation of GPy (the problem I mentioned weeks ago about cython not being found and using numpy instead). Meanwhile, it is taking forever just to read chains from file, because we are unnecessarily training the emulator when reading the chains from file (see #68 ).

This tiny PR just adds an option to the EmceeSampler object to do not train the emulator when reading chains from file.

andreufont commented 2 years ago

Do you mind if I merge this?