Open ~/.zshrc in your favorite editor and add the following content to the bottom.
function parse_git_branch() {
git branch 2> /dev/null | sed -n -e 's/^\* \(.*\)/[\1]/p'
}| import numpy as N | |
| def getGammaEpsilon(mass): | |
| # numbers obtained from https://arxiv.org/pdf/1412.0018.pdf | |
| if mass == 0.4: | |
| ratio = 0.00223 | |
| if mass == 1: | |
| ratio = 0.00856 | |
| if mass == 3: |