PY AMS METRIC