Kim H. Parker added Three_options_are_available_in__.tex  over 8 years ago

Commit id: a7ea683efb77ab218014e0b9fe586b2ba2a1a355

deletions | additions      

         

Three options are available in the algorithm for finding the time of the dicrotic notch.  \begin{enumerate}  \item If the third input variable is omitted in the call to the function, the program finds the time of minimumum $\frac{dP}{dt}$ automatically. For example \textit{[Pr,A,B,Pinf,Tn,Pn] = reservoir(P,Tb)} will try to identify the time of minimum $\frac{dP}{dt}$ automatically from the input pressure waveform $P$. The detected time will be returned in the output variable $Tn$.  \item If the third input is set to zero, the program will plot the input pressure waveform and ask the user to identify the start of diastole using \textit{ginput}. For example \textit{[Pr,A,B,Pinf,Tn,Pn] = reservoir(P,Tb,0)} will plot $P$ and ask the user to click on the start of diastole using the cross hairs. The user selected time will be returned as $Tn$  \item If the third input is set to a value other than zero, this value will be used as the time of the start of diastole. This option should be used when the time of the start of diastole is known \textit{a priori}. For example \textit{[Pr,A,B,Pinf,Tn,Pn] = reservoir(P,Tb,0.41)} assumes that diastole starts 0.41 s after the start of systole for the cardiac cycle that is being analysed. In this case $Tn$ will be returned as 0.41.  \end{enumerate}