A code for primordial hydrogen and helium recombination
New: HyRec is now incorporated into the Boltzmann code CLASS (by Julien Lesgourgues).
You can also call HyRec from CAMB (by Antony Lewis and Anthony Challinor)
This code includes the following physics:
The code computes a full recombination history in ~2 seconds on a standard laptop.
Download the code (written in C) here (Version: October 2012)
New in this version: wrapper functions to call HyRec from CAMB (courtesy of Antony Lewis; put HyRec in the same folder as CAMB and simply compile CAMB using make RECOMBINATION=hyrec). Otherwise identical to May 2012 version: the Lyman-lines distortion is more accurately evaluated and can be easily extracted. The values of the fine-structure constant and electron mass at recombination can be provided as inputs (more details in the readme file and the technical explanatory supplement).The previous versions are still available here (May 2012), here (January 2011) and here (November 2010). Warning: the November 2010 version is numerically unstable for some cosmologies. This was fixed in the following release. The code is provided "as is" and there is no guarantee regarding its accuracy.
You can find more details on in the readme file.
When using the code, please refer to:
This work also relies heavily on the following papers:
You may also refer to:
For questions or issues, please email yah2[at]nyu[dot]edu
This material is based upon work supported by the National Science Foundation (NSF) under Grants No. AST-0807337 and AST-0807444. Any opinions, findings and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the NSF.
Last revised: October 5th, 2012