Units
- get_unit_multiplier(units)[source]
Function so that I only have to put the unit dictionary in one place
- Param:
units: units
- Returns:
unit dictionary
- ki_to_kcal(ic50, units='uM')[source]
convert a Ki or IC50 value in M to kcal/mol
- Parameters:
units – units
ic50 – IC50 value in M
- Returns:
IC50 value converted to kcal/mol
- kcal_to_ki(kcal, units='uM')[source]
Convert a binding energy in kcal to a Ki or IC50 value
- Parameters:
kcal – binding energy in kcal/mol
units – units for the return value
- Returns:
binding energy as Ki or IC50
- ug_ml_to_uM(concentration_ug_ml, molar_mass_da)[source]
Converts concentration from micrograms per milliliter (ug/mL) to micromolar (uM).
- Parameters:
concentration_ug_ml – The concentration in ug/mL.
molar_mass_da – The molar mass of the substance in Daltons (Da), equivalent to g/mol.
- Returns:
The concentration in micromolar (uM).