def insert_stack(self): s = Stack() s.title = "Example Stack" s.image_base = "http://incf.ini.uzh.ch/image-stack-fib/" s.trakem2_project = False s.dimension = Integer3D(x=2048, y=1536, z=460) s.resolution = Double3D(x=5.0001, y = 5.0002, z=9.0003) s.save() return s