Implemented ASM geometry in Python