Selection at a locus with two alleles in a haploid population

Based off code for genetic drift at a locus with two alleles by Kevin Thornton.

Positive selection test case

Negative selection test case

Fixation probability

Sojourn Time