Feature Module

class Feature.Cell(name, sh_name, color, descr, model=None)[source]

Bases: Feature.Segment

Class to represent a Cell object

set_cell(c)[source]
update()[source]
class Feature.Feature(name, sh_name, color, descr, model=None)[source]

A generic class to define a feature

get_color()[source]
get_name()[source]
get_save_dict()[source]
get_short_name()[source]
get_type()[source]
load_save_dict(dic)[source]
class Feature.Multipoint(name, sh_name, color, descr, model=None)[source]

Bases: Feature.Feature

Should multipoint inherit from Point rather than Feature?

class Feature.Multisegment(name, sh_name, color, descr, model=None)[source]

Bases: Feature.Feature

class Feature.Point(name, sh_name, color, descr, model=None)[source]

Bases: Feature.Feature

get_point()[source]
get_save_dict()[source]
load_save_dict(dic)[source]
set_point(frame)[source]

frame should be an integer

class Feature.Segment(name, sh_name, color, descr, model=None)[source]

Bases: Feature.Feature

get_save_dict()[source]
get_segment()[source]
load_save_dict(dic)[source]
set_segment(seg)[source]

A segment is a tuple (begin_frame, end_frame)

This Page