#NEWLINE# def __init__( self , times = None , durations = None , labels = None , name = None , description = None , file_origin = None , **annotations ) : #NEWLINE# #INDENT# '\n        Initialize a new :class:`EpochArray` instance.\n        ' #NEWLINE# BaseNeo . __init__ ( self , name = name , file_origin = file_origin , description = description , ** annotations ) #NEWLINE# if ( times is None ) : #NEWLINE# #INDENT# times = ( np . array ( [ ] ) * pq . s ) #NEWLINE# #UNINDENT# if ( durations is None ) : #NEWLINE# #INDENT# durations = ( np . array ( [ ] ) * pq . s ) #NEWLINE# #UNINDENT# if ( labels is None ) : #NEWLINE# #INDENT# labels = np . array ( [ ] , dtype = 'S' ) #NEWLINE# #UNINDENT# self . times = times #NEWLINE# self . durations = durations #NEWLINE# self . labels = labels #NEWLINE# self . segment = None