add function for extracting mean activity from roi. update params file