Skip to content

Model Configuration

rma_kinetics.models.DoxPKConfig

Dox PK model configuration.

Attributes:

Name Type Description
dose float

Dox amount in chow/water (i.e., mg dox / kg chow).

t0 float

Start time of dox administration.

t1 float

Stop time of dox administration.

vehicle_intake_rate float

Dox chow/water intake rate (Default: 1.875e-4).

bioavailability float

Dox bioavailability as a float between 0 and 1 (Default = 0.9).

absorption_rate float

Dox absorption rate into the plasma (Default = 0.8).

elimination_rate float

Elimination rate from plasma (Default = 0.2).

brain_transport_rate float

Plasma to brain transport rate (Default = 0.2).

plasma_transport_rate float

Brain to plasma transport rate (Default = 1).

plasma_vd float

Plasma dox volume of distribution (Default = 0.21).

Source code in src/rma_kinetics/models/dox.py
class DoxPKConfig(EqxModule):
    """
    Dox PK model configuration.

    Attributes:
        dose (float): Dox amount in chow/water (i.e., mg dox / kg chow).
        t0 (float): Start time of dox administration.
        t1 (float): Stop time of dox administration.
        vehicle_intake_rate (float): Dox chow/water intake rate (Default: 1.875e-4).
        bioavailability (float): Dox bioavailability as a float between 0 and 1 (Default = 0.9).
        absorption_rate (float): Dox absorption rate into the plasma (Default = 0.8).
        elimination_rate (float): Elimination rate from plasma (Default = 0.2).
        brain_transport_rate (float): Plasma to brain transport rate (Default = 0.2).
        plasma_transport_rate (float): Brain to plasma transport rate (Default = 1).
        plasma_vd (float): Plasma dox volume of distribution (Default = 0.21).
    """
    dose: float
    t0: float
    t1: float
    vehicle_intake_rate: float = 1.875e-4
    bioavailability: float = 0.9
    absorption_rate: float = 0.8
    elimination_rate: float = 0.2
    brain_transport_rate: float = 0.2
    plasma_transport_rate: float = 1
    plasma_vd: float = 0.21

    @property
    def intake_rate(self) -> float:
        return self.vehicle_intake_rate * self.bioavailability * self.dose / (DOX_MW * self.plasma_vd) * 1e6

    @property
    def plasma_dox_ss(self) -> float:
        return self.absorption_rate * self.intake_rate / self.elimination_rate

    @property
    def brain_dox_ss(self) -> float:
        return self.brain_transport_rate * self.plasma_dox_ss / self.plasma_transport_rate

absorption_rate = 0.8 class

Convert a string or number to a floating-point number, if possible.

bioavailability = 0.9 class

Convert a string or number to a floating-point number, if possible.

brain_transport_rate = 0.2 class

Convert a string or number to a floating-point number, if possible.

elimination_rate = 0.2 class

Convert a string or number to a floating-point number, if possible.

plasma_transport_rate = 1 class

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating-point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.

int('0b100', base=0) 4

plasma_vd = 0.21 class

Convert a string or number to a floating-point number, if possible.

vehicle_intake_rate = 0.0001875 class

Convert a string or number to a floating-point number, if possible.