segpy.field_types module

class segpy.field_types.Int16

Bases: int

16-bit signed integer.

MAXIMUM = 32767
MINIMUM = -32768
SEG_Y_TYPE = 'int16'
SIZE = 2
class segpy.field_types.Int32

Bases: int

32-bit signed integer.

MAXIMUM = 2147483647
MINIMUM = -2147483648
SEG_Y_TYPE = 'int32'
SIZE = 4
class segpy.field_types.IntEnumFieldMeta(name, bases, namespace, *args, **kwargs)

Bases: segpy.field_types.IntFieldMeta

Metaclass for fields which are defined by an enum.IntEnum.

class_new(*args, **kwargs)
class segpy.field_types.IntFieldMeta(name, bases, namespace, *args, **kwargs)

Bases: type

Metaclass for signed and unsigned int fields.

class_new(*args, **kwargs)
class segpy.field_types.NNInt16

Bases: int

Non-negative 16-bit signed integer.

MAXIMUM = 32767
MINIMUM = 0
SEG_Y_TYPE = 'nnint16'
SIZE = 2
class segpy.field_types.NNInt32

Bases: int

Non-negative 32-bit signed integer.

MAXIMUM = 2147483647
MINIMUM = 0
SEG_Y_TYPE = 'nnint32'
SIZE = 4