ParameterDeclaration¶
petrophys.function_schema.ParameterDeclaration
- class ParameterDeclaration(kind, curve=None, unit=None, choices=(), many=False, role=None)[source]¶
What one parameter takes.
- Parameters:
curve (str, optional) – The standard curve a
curveorcurve_nameparameter is, or whose quantity avalueis.unit (str, optional) – The unit of a
value,valuesorcurveparameter.choices (tuple of str) – The accepted values of a
choiceparameter.many (bool) – A
curve_name,textorchoiceparameter that takes a list.role (str, optional) –
toporbottom, for awindowparameter;lithologyfor achoicethat takes the rock’s lithology or matrix (a caller may fill it sample by sample from the interpreted lithology,petrophys.interpretation.lithology.matrix_inference.interpreted_lithology_labels()).
Attributes