simulation and analysis code for SNe anisotropy studies