API Documentation
Targets
Ligands
Edges
Utils
utils.py Contains utility functions
- plbenchmark.utils.convert_error(error_value, value, original_type, final_type, temperature=300.0, out_unit=None)[source]
Converts an experimental value into another derived quantity with specified unit.
- Parameters
error_value – float, error of val, numerical value
value – float, numerical value
original_type – string, code for the original observable. Can be dg, ki, ic50, pic50
final_type – string, code for the desired derived quantity. Can be dg, ki, ic50, pic50
temperature – float, temperature in kelvin
out_unit – unit of type
pint
, output unit of final_type, needs to fit to the requested final_type
- Returns
pint.Quantity
with desired unit
- plbenchmark.utils.convert_value(value, original_type, final_type, temperature=300.0, out_unit=None)[source]
Converts an experimental value into another derived quantity with specified unit.
- Parameters
value – float, numerical value
original_type – string, code for the original observable. Can be dg, ki, ic50, pic50
final_type – string, code for the desired derived quantity. Can be dg, ki, ic50, pic50
temperature – float, temperature in kelvin
out_unit – unit of type
pint
, output unit of final_type, needs to fit to the requested final_type
- Returns
pint.Quantity
with desired unit