exposes stateful transform's window length

This commit is contained in:
fawce
2013-05-01 22:05:06 -04:00
parent 440e7ce076
commit 59dcf0f6cd
+2 -1
View File
@@ -121,7 +121,8 @@ class StatefulTransform(object):
# Normal object instantiation.
else:
self.state = tnfm_class(*args, **kwargs)
# save the window_length of the state for external access.
self.window_length = self.state.window_length
# Create the string associated with this generator's output.
self.namestring = tnfm_class.__name__ + hash_args(*args, **kwargs)