## pertdb.CompoundPerturbation

class pertdb.CompoundPerturbation(*args, **kwargs)

 Bases: "BioRecord", "TracksRun", "TracksUpdates"

 Models compound perturbations such as drugs.

 Parameters:
 **name** -- The name of the compound perturbation.

 Example:

 import pertdb

 aspirin_perturbation = compound_perturbation = pertdb.CompoundPerturbation(
 name="Antibiotic cocktail",
 ).save()

 name: str

 Name of the compound perturbation.

 concentration: float

 Concentration of the compound.

 concentration_unit: str

 Unit of the concentration.

| duration: timedelta | None |

 Duration of the compound perturbation.

| compound: Compound | None |

 Compounds linked to the perturbation.

 artifacts: Artifact

 Artifacts linked to the perturbation.