color sweep added
added parse function to python glue