Commit 85207cb0 authored by Niels-Oliver Walkowski's avatar Niels-Oliver Walkowski
Browse files

change frames to static class object

so that it is not accessible by the instance
parent aa6fd3b4
......@@ -11,10 +11,11 @@ from . import contrasts
class Movie(object):
"""main class to interact with the colorspace of movieframes"""
def __init__(self, prefix, folder='./'): # TODO platform independent
self.frames = Frames(folder, prefix)
Movie.frames = Frames(folder, prefix)
self.fsize = Movie.frames.frm_cnt
def scatterpoints(self, channel):
contrast = contrasts.mono_ctrst_scatplt(1, self.frames)
contrast = contrasts.mono_ctrst_scatplt(1, Movie.frames)
return contrast
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment