TPCCLIB
|
Functions for computing RBC/plasma or plasma/blood curve based on published or measured functions or population averages. More...
#include "tpcclibConfig.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <strings.h>
#include "pbconv.h"
Go to the source code of this file.
Macros | |
#define | PLASMA_WATER 0.94 |
#define | BLOOD_WATER 0.81 |
#define | RBC_WATER 0.63 |
Functions | |
int | tracer_code (char *tracer) |
int | rbc_plasma_ratio (int tracer, double *t, double *r, int nr) |
int | plasma_to_blood_ratio (int tracer, double *t, double *r, int nr) |
Functions for computing RBC/plasma or plasma/blood curve based on published or measured functions or population averages.
Definition in file pbconv.c.
#define BLOOD_WATER 0.81 |
#define PLASMA_WATER 0.94 |
Plasma water content
Definition at line 19 of file pbconv.c.
Referenced by plasma_to_blood_ratio(), and rbc_plasma_ratio().
#define RBC_WATER 0.63 |
int plasma_to_blood_ratio | ( | int | tracer, |
double * | t, | ||
double * | r, | ||
int | nr ) |
Calculates plasma/blood ratio curve using specific functions and population average parameters. This function can only be used when the impact of variable hematocrit can be ignored.
tracer | tracerCode |
t | Sample times (minutes from tracer injection) |
r | Pointer to preallocated array where plasma/blood ratio will be written |
nr | Nr of samples |
Definition at line 248 of file pbconv.c.
int rbc_plasma_ratio | ( | int | tracer, |
double * | t, | ||
double * | r, | ||
int | nr ) |
Calculates RBC/PL ratio curve using specific functions and population average parameters.
tracer | tracerCode |
t | Sample times (minutes from tracer injection) |
r | Pointer to preallocated array where RBC/plasma ratio will be written |
nr | Nr of samples |
Definition at line 83 of file pbconv.c.
int tracer_code | ( | char * | tracer | ) |
Identify the tracer based on given string. Tracer code enums (tracerCode) can be found in pbconv.h.
tracer | String containing the name of the tracer |
Definition at line 32 of file pbconv.c.