Skip to content
Snippets Groups Projects

Object wrapper in python

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Max Joseph Kellermeier
    Edited
    object.py 273 B
    class data:
        def __init__(self,path):
    #         csv path
            self.Laser = Object()
            self.Laser.data= np.random.rand(19) 
            self.Laser.max = 0
            self.Laser.mean = self.Laser.data.mean()
        def setmax(self):
            self.Laser.max = self.Laser.data
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment