carputils
Doxygen code documentation for the python framework controlling openCARP
Namespaces | Functions | Variables
klotz File Reference

Namespaces

 bin.klotz
 Determine Klotz curve from (EDV,EDP) pair.
 

Functions

def bin.klotz.parser ()
 
def bin.klotz.file_dump (vdat, pdat)
 

Variables

float bin.klotz.MMHG2KPA = 0.133322387415
 
float bin.klotz.KPA2MMHG = 1.0 / MMHG2KPA
 
float bin.klotz.EDVDEFAULT = 110.0
 
float bin.klotz.EDPDEFAULT = 10.0
 
 bin.klotz.xrange = range
 
def bin.klotz.opts = parser().parse_args()
 
 bin.klotz.pvtraces = None
 
 bin.klotz.csv_file
 
 bin.klotz.ttrace = csv_file[:,0].astype('float')
 
 bin.klotz.l_index = np.where(ttrace > 0)[0][0]
 
 bin.klotz.ptrace = csv_file[:,1].astype('float')[0:l_index]
 
 bin.klotz.vtrace = csv_file[:,2].astype('float')[0:l_index]
 
 bin.klotz.silent
 
 bin.klotz.plot
 
def bin.klotz.EDV = vtrace[-1] if opts.EDV is None else opts.EDV
 
tuple bin.klotz.EDP = (ptrace[-1] if opts.EDP is None else opts.EDP) * (1.0 if opts.kPa else MMHG2KPA)
 
 bin.klotz.P = kl.KlotzRelation(EDV, EDP)
 
float bin.klotz.max_vol = kl.V30(EDV,EDP)*1.1 if pvtraces is None else EDV
 
 bin.klotz.vdat = np.linspace(0, max_vol, 100)
 
 bin.klotz.pdat = P(vdat)
 
 bin.klotz.fig = pyplot.figure()
 
 bin.klotz.ax = fig.add_subplot(1,1,1)
 
 bin.klotz.label
 
 bin.klotz.c
 
 bin.klotz.marker
 
 bin.klotz.loc