DataType

petrophys.model.DataType

class DataType(value)[source]

Bases: Enum

Data type classification per I/O specification.

CURVE

Continuous log data (depth-indexed arrays)

Type:

str

CONSTANT

Fixed physical values (single values, depth-independent)

Type:

str

DEFAULT

User-adjustable parameters with default values

Type:

str

HEADER

Values from log header metadata

Type:

str

COMPUTED

Values derived from other modules

Type:

str

Methods

from_string

Create DataType from string value.

classmethod from_string(value)[source]

Create DataType from string value.

Parameters:

value (str) – String representation of the data type

Returns:

Corresponding DataType enum member

Return type:

DataType

Raises:

ValueError – If value does not match any DataType