Example #1
0
 def transform_streamels(self, streamels):
     check_streamels_2D(streamels)
     check_streamels_range(streamels, 0, 1)
     
     _, W = streamels.shape  
     streamels2 = make_streamels_1D_float(nstreamels=W, lower=0, upper=1)
     return streamels2
Example #2
0
 def get_stream_spec(self):
     streamels = make_streamels_1D_float(nstreamels=3, lower=(-1), upper=1)
     return StreamSpec(id_stream=None, streamels=streamels, extra=None)
Example #3
0
 def get_stream_spec(self):        
     streamels = make_streamels_1D_float(nstreamels=2, lower=(-1), upper=1)
     return StreamSpec(id_stream='tracks', streamels=streamels,
                       extra=dict(max_value=self.max_value))