baby.preprocessing.CellGroup

class baby.preprocessing.CellGroup(lower: Union[int, float] = 1, upper: Union[int, float] = inf, budonly: bool = False, focus: Optional[Union[int, float]] = None)

Bases: tuple

Defines a cell group for creation of SegmentationFlattening targets

Attributes
budonly

Alias for field number 2

focus

Alias for field number 3

lower

Alias for field number 0

upper

Alias for field number 1

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

toJSON

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

toJSON()

Attributes

budonly

Alias for field number 2

focus

Alias for field number 3

lower

Alias for field number 0

upper

Alias for field number 1

property budonly

Alias for field number 2

count(value, /)

Return number of occurrences of value.

property focus

Alias for field number 3

index(value, start=0, stop=sys.maxsize, /)

Return first index of value.

Raises ValueError if the value is not present.

property lower

Alias for field number 0

property upper

Alias for field number 1