Recent developments in wearable sensors and smartphone technology have demonstrated the applicability and viability of such devices to the successful and cost effective treatment of mental illness, particularly depression. This paper describes a software toolkit and physical activity algorithms developed at the University of Limerick that will be used to monitor and assist clinical professionals in analyzing physical activity and physiological data. The resulting information is used in the ICT4Depression project to deduce an individual's mental state, and progression through mental illness. Two trials were performed to assess the algorithms and the resulting data are discussed.