screen
– screen processing and conversion¶
-
class
cockatoo.screen.
Cocktail
(name, ph=None, components=None)[source]¶ This class represents a cocktail.
A cocktail is made of of one or more compounds.
-
class
cockatoo.screen.
CocktailSerializer
(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]¶
-
class
cockatoo.screen.
Compound
(name, conc, unit, ph=None, smiles=None, molecular_weight=None, density=None)[source]¶ This class represents a chemcial compound used in a cocktail.
-
class
cockatoo.screen.
CompoundSerializer
(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]¶
-
class
cockatoo.screen.
Screen
(name, cocktails=None)[source]¶ This class represents a macromolecular crystallization screen.
A screen is made of of one or more cocktails.
-
class
cockatoo.screen.
ScreenSerializer
(extra=None, only=None, exclude=(), prefix='', strict=None, many=False, context=None, load_only=(), dump_only=(), partial=False)[source]¶
-
cockatoo.screen.
distance
(screen1, screen2, weights)[source]¶ Compute the distance between two screens (from Newman et al. 2010).
- Parameters
screen1 (screen) – First screen
screen2 (screen) – Second screen
weights (array) – weights
- Returns
The distance score between 0 and 1