Added afproto.py for finding start and end of frame in get_data