code for yaws analysis