Place the directory containing the provided files on the MATLAB path. To run the examples,
open main.m and follow the comments.

Contents:
- main.m: Script containing walkthroughs of how to use the AMEASURE estimation algorithm
	for computing PVRs in cystometry and voiding observation studies.
- EstResidVols_v1p2.m: Function that runs the PVR estimation algorithm. This funciton 
	accepts either arrays or formatted Excel files as inputs.
- Data1-AcuteWithReplacement.xlsx: Example data from acute cystometry.
- Data2-Longitudinal.xlsx: Example data from a longitudinal voidding observation study.

For examples on how to format your data see the example Excel files and Appendix 4
of the manuscript Danziger, Z. C. and Grill W. M. (2016). "Estimating postvoid residual
volume without measuring residual bladder volume during serial cystometrograms." Am J
Physiol Renal Physiol 311(2): F459-468. Description of inputs to EstResidVols can be
found in the function help, and a discussion of the algorithm can be found in the
2019 paper, "Validation of an efficient and continuous urodynamic monitoring system for
awake, unrestrained, chronic rodent studies." Am J Phsiol Renal Physiol. The combined
hardware/optimizaiton technique is referred to as AMEASURE.
	
ZC Danziger
October 2019