Rubbish implementation of Astron/bamboo in python