Module: events_table

class EventTable(geom_represent, observables=[], IDs=None, ID_offset=None)[source]

Bases: object

Attributes

Nevts
observable
position

Methods

build_new_from_ids(ids[, keep_original_ids])
from_Image_class(image_obj[, masked]) class method to create object from an image class instance
from_image_array(image_array[, masked]) class method to create object from an image array
Nevts
build_new_from_ids(ids, keep_original_ids=False)[source]
classmethod from_Image_class(image_obj, masked=None)[source]

class method to create object from an image class instance Args:

image_obj: mask: boolean 2-dim array, True==masked, False==visible

Returns:

classmethod from_image_array(image_array, masked=None)[source]

class method to create object from an image array Args:

image_array: masked: boolean 2-dim array, True==masked, False==visible

Returns:

observable
position