python stuff for experiments noushine