To demonstrate new field-deployable methods for assessing mood and behavior as a function of neighborhood surroundings ( geographical momentary assessment ; GMA ) , we collected time-stamped GPS data and ecological momentary assessment ( EMA ) ratings of mood , stress , and drug craving over 16 weeks at randomly prompted times during the waking hours of opioid-dependent polydrug users receiving methadone maintenance .