annotate python/base.py @ 976:7f5cbdc107c5

corrected bug in converting time horizon to frames for internal computations (results for TTC, pPET and PET will be in frames)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 05 Feb 2018 16:41:36 -0500
parents 15e244d2a1b5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
665
15e244d2a1b5 corrected bug with circular import for VideoFilenameAddable, moved to base module
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
1 '''Module for few base classes to avoid issues of circular import'''
15e244d2a1b5 corrected bug with circular import for VideoFilenameAddable, moved to base module
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
2
15e244d2a1b5 corrected bug with circular import for VideoFilenameAddable, moved to base module
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
3 class VideoFilenameAddable(object):
15e244d2a1b5 corrected bug with circular import for VideoFilenameAddable, moved to base module
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
4 'Base class with the capability to attach a video filename'
15e244d2a1b5 corrected bug with circular import for VideoFilenameAddable, moved to base module
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
5
15e244d2a1b5 corrected bug with circular import for VideoFilenameAddable, moved to base module
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
6 def setVideoFilename(self, videoFilename):
15e244d2a1b5 corrected bug with circular import for VideoFilenameAddable, moved to base module
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
7 self.videoFilename = videoFilename