Source: http://www.chups.jussieu.fr/polys/anapath/TP/TPanapath.pdf