@@ -3811,8 +3811,10 @@ def read_block(self, lazy=False, ):
38113811 """
38123812 Return :class:`Block`.
38133813
3814- Parameters:
3815- lazy : postpone actual reading of the file.
3814+ Parameters
3815+ ----------
3816+ lazy : bool
3817+ Postpone actual reading of the file.
38163818 """
38173819 assert not lazy , 'Do not support lazy'
38183820
@@ -4211,9 +4213,11 @@ def get_annotations_dict(self, annotations, prefix, items, name='', idx=0):
42114213 def read_segment (self , episode ):
42124214 """
42134215 Internal method used to return :class:`Segment` data to the main read method.
4214- Parameters:
4215- elphy_file : is the elphy object.
4216- episode : number of elphy episode, roughly corresponding to a segment
4216+
4217+ Parameters
4218+ ----------
4219+ episode : int
4220+ Number of elphy episode, roughly corresponding to a segment
42174221 """
42184222 # print "name:",self.elphy_file.layout.get_episode_name(episode)
42194223 episode_name = self .elphy_file .layout .get_episode_name (episode )
@@ -4254,10 +4258,12 @@ def read_event(self, episode, evt):
42544258 Internal method used to return a list of elphy :class:`EventArray` acquired from event
42554259 channels.
42564260
4257- Parameters:
4258- elphy_file : is the elphy object.
4259- episode : number of elphy episode, roughly corresponding to a segment.
4260- evt : index of the event.
4261+ Parameters
4262+ ----------
4263+ episode : int
4264+ Number of elphy episode, roughly corresponding to a segment.
4265+ evt : int
4266+ Index of the event.
42614267 """
42624268 event = self .elphy_file .get_event (episode , evt )
42634269 neo_event = Event (
@@ -4270,10 +4276,12 @@ def read_spiketrain(self, episode, spk):
42704276 """
42714277 Internal method used to return an elphy object :class:`SpikeTrain`.
42724278
4273- Parameters:
4274- elphy_file : is the elphy object.
4275- episode : number of elphy episode, roughly corresponding to a segment.
4276- spk : index of the spike array.
4279+ Parameters
4280+ ----------
4281+ episode : int
4282+ Number of elphy episode, roughly corresponding to a segment.
4283+ spk : int
4284+ Index of the spike array.
42774285 """
42784286 block = self .elphy_file .layout .episode_block (episode )
42794287 spike = self .elphy_file .get_spiketrain (episode , spk )
0 commit comments